/* /Components/Account/Pages/Login.razor.rz.scp.css */
/* ============================================================
   Login Page — Glass-morphism over 3D Globe
   ============================================================ */

.login-page[b-mqz460e366] {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at 30% 50%, rgba(var(--accent-primary-rgb),0.12) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 30%, rgba(var(--accent-secondary-rgb),0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 80%, rgba(var(--accent-info-rgb),0.06) 0%, transparent 40%),
                var(--bg-primary);
    overflow: hidden;
}
.login-page[b-mqz460e366]::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-primary-rgb), 0.1) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation: login-orb-drift-b-mqz460e366 12s ease-in-out infinite;
    pointer-events: none;
}
.login-page[b-mqz460e366]::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-info-rgb), 0.08) 0%, transparent 70%);
    bottom: -160px;
    left: -160px;
    animation: login-orb-drift-b-mqz460e366 15s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes login-orb-drift-b-mqz460e366 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -30px) scale(1.05); }
    66% { transform: translate(-15px, 20px) scale(0.97); }
}

@keyframes shimmer-b-mqz460e366 {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.login-globe[b-mqz460e366] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.login-container[b-mqz460e366] {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 420px;
    padding: 1rem;
    animation: fadeInUp-b-mqz460e366 0.6s ease-out;
}

@keyframes fadeInUp-b-mqz460e366 {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card[b-mqz460e366] {
    padding: 2.5rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow),
                inset 0 1px 0 rgba(255,255,255,0.06),
                0 0 60px rgba(var(--accent-primary-rgb), 0.08);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}
.login-card[b-mqz460e366]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(var(--accent-primary-rgb), 0.6),
        rgba(var(--accent-info-rgb), 0.5),
        rgba(var(--accent-primary-rgb), 0.6),
        transparent);
    background-size: 200% 100%;
    animation: shimmer-b-mqz460e366 3s ease-in-out infinite;
}
.login-card[b-mqz460e366]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--accent-primary-rgb), 0.2), transparent);
}

.login-header[b-mqz460e366] {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo[b-mqz460e366] {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-info), var(--accent-secondary));
    background-size: 200% 200%;
    animation: gradient-shift-b-mqz460e366 4s ease infinite, logo-glow-b-mqz460e366 3s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 24px rgba(var(--accent-primary-rgb), 0.5),
                0 0 50px rgba(var(--accent-primary-rgb), 0.15);
    position: relative;
}
.login-logo[b-mqz460e366]::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: calc(var(--radius-lg) + 4px);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-info), var(--accent-secondary), var(--accent-primary));
    background-size: 300% 300%;
    animation: gradient-shift-b-mqz460e366 3s ease infinite;
    z-index: -1;
    opacity: 0.7;
    filter: blur(8px);
}

@keyframes logo-glow-b-mqz460e366 {
    0%, 100% { box-shadow: 0 4px 24px rgba(var(--accent-primary-rgb), 0.5), 0 0 50px rgba(var(--accent-primary-rgb), 0.15); }
    50% { box-shadow: 0 4px 32px rgba(var(--accent-primary-rgb), 0.65), 0 0 70px rgba(var(--accent-primary-rgb), 0.25); }
}

@keyframes gradient-shift-b-mqz460e366 {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.login-title[b-mqz460e366] {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem;
}

.login-subtitle[b-mqz460e366] {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin: 0;
}

.form-group[b-mqz460e366] {
    margin-bottom: 1.25rem;
}

.form-label-custom[b-mqz460e366] {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.375rem;
}

.form-input-custom[b-mqz460e366] {
    height: 44px;
    font-size: 0.9rem;
    background-color: var(--input-bg);
    color: var(--input-text);
    border: 1px solid var(--input-border);
    transition: all 0.2s ease;
}
.form-input-custom:focus[b-mqz460e366] {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(var(--accent-primary-rgb), 0.15),
                0 0 16px rgba(var(--accent-primary-rgb), 0.06);
}

.form-options[b-mqz460e366] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.remember-me[b-mqz460e366] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.forgot-link[b-mqz460e366] {
    font-size: 0.8rem;
    color: var(--accent-primary);
    text-decoration: none;
}
.forgot-link:hover[b-mqz460e366] {
    text-decoration: underline;
}

.btn-login[b-mqz460e366] {
    min-width: 100%;
    height: 44px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-divider[b-mqz460e366] {
    display: flex;
    align-items: center;
    margin: 1.25rem 0;
    color: var(--text-tertiary);
    font-size: 0.75rem;
}
.login-divider[b-mqz460e366]::before,
.login-divider[b-mqz460e366]::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-primary), transparent);
}
.login-divider span[b-mqz460e366] {
    padding: 0 0.75rem;
}

.login-footer[b-mqz460e366] {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.8rem;
}
.login-footer a[b-mqz460e366] {
    color: var(--accent-primary);
    text-decoration: none;
}
.login-footer a:hover[b-mqz460e366] {
    text-decoration: underline;
}
.login-footer .separator[b-mqz460e366] {
    color: var(--text-tertiary);
    margin: 0 0.5rem;
}

/* ---------- Mobile ---------- */
@media (max-width: 480px) {
    .login-card[b-mqz460e366] {
        padding: 1.75rem 1.25rem;
        border-radius: var(--radius-lg);
    }
    .login-container[b-mqz460e366] {
        max-width: 100%;
        padding: 0.75rem;
    }
    .login-logo[b-mqz460e366] {
        width: 48px;
        height: 48px;
    }
    .login-title[b-mqz460e366] {
        font-size: 1.25rem;
    }
    .form-input-custom[b-mqz460e366] {
        height: 48px;
        font-size: 1rem;
    }
    .btn-login[b-mqz460e366] {
        height: 48px;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ============================================================
   MainLayout — Responsive shell with sidebar + top bar
   ============================================================ */

.app-layout[b-umdskxih9h] {
    display: flex;
    min-height: 100vh;
    background-color: var(--bg-primary);
}

/* ---------- Sidebar ---------- */
.sidebar[b-umdskxih9h] {
    width: 260px;
    min-height: 100vh;
    background: linear-gradient(180deg, var(--sidebar-gradient-start) 0%, var(--sidebar-gradient-end) 100%);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transition: transform var(--transition-base);
    border-right: 1px solid rgba(var(--accent-primary-rgb), 0.15);
    box-shadow: 4px 0 32px rgba(0, 0, 0, 0.25),
                1px 0 0 rgba(var(--accent-primary-rgb), 0.12);
}
.sidebar[b-umdskxih9h]::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg,
        rgba(var(--accent-primary-rgb), 0.5),
        rgba(var(--accent-primary-rgb), 0.15) 50%,
        rgba(var(--accent-info-rgb), 0.3));
    z-index: 1;
}

.sidebar-header[b-umdskxih9h] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}
.sidebar-header[b-umdskxih9h]::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 1rem;
    right: 1rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--accent-primary-rgb), 0.5), transparent);
}

.brand[b-umdskxih9h] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-icon[b-umdskxih9h] {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 2px 16px rgba(var(--accent-primary-rgb), 0.5);
    animation: glow-pulse 4s ease-in-out infinite;
}

.brand-text[b-umdskxih9h] {
    display: flex;
    flex-direction: column;
}

.brand-name[b-umdskxih9h] {
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.2;
}

.brand-sub[b-umdskxih9h] {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sidebar-close[b-umdskxih9h] {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 4px;
}

/* ---------- Main Area ---------- */
.main-area[b-umdskxih9h] {
    flex: 1;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ---------- Top Bar ---------- */
.top-bar[b-umdskxih9h] {
    height: 60px;
    background-color: var(--bg-elevated);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid var(--border-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 1px 0 rgba(var(--accent-primary-rgb), 0.1);
}

.top-bar[b-umdskxih9h]::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--accent-primary-rgb), 0.3), transparent);
}

.top-bar-left[b-umdskxih9h] {
    display: flex;
    align-items: center;
}

.page-title[b-umdskxih9h] {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.top-bar-right[b-umdskxih9h] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-info[b-umdskxih9h] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-md);
    background-color: var(--bg-hover);
}

.user-name[b-umdskxih9h] {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* ---------- Main Content ---------- */
.main-content[b-umdskxih9h] {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

/* ---------- Mobile Header ---------- */
.mobile-header[b-umdskxih9h] {
    height: 56px;
    background-color: var(--bg-elevated);
    border-bottom: 1px solid var(--border-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    position: sticky;
    top: 0;
    z-index: 90;
}

.mobile-menu-btn[b-umdskxih9h] {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius-sm);
}
.mobile-menu-btn:hover[b-umdskxih9h] {
    background-color: var(--bg-hover);
}

.mobile-brand[b-umdskxih9h] {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
}

/* ---------- Sidebar Overlay (mobile) ---------- */
.sidebar-overlay[b-umdskxih9h] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    backdrop-filter: blur(2px);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .sidebar[b-umdskxih9h] {
        transform: translateX(-100%);
        width: 280px;
    }
    .sidebar.open[b-umdskxih9h] {
        transform: translateX(0);
    }
    .main-area[b-umdskxih9h] {
        margin-left: 0;
    }
    .main-content[b-umdskxih9h] {
        padding: 1rem;
        padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    }
    .mobile-header[b-umdskxih9h] {
        padding: 0 1rem;
        padding-left: max(1rem, env(safe-area-inset-left, 0px));
        padding-right: max(1rem, env(safe-area-inset-right, 0px));
    }
    .top-bar[b-umdskxih9h] {
        display: none;
    }
}

/* ---------- Error UI ---------- */
#blazor-error-ui[b-umdskxih9h] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-umdskxih9h] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ============================================================
   NavMenu — Sidebar navigation
   ============================================================ */

.sidebar-nav[b-t6raibjoog] {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0.5rem 0;
    overflow-y: auto;
    height: calc(100vh - 75px);
}

.nav-section[b-t6raibjoog] {
    padding: 0.5rem 0.75rem;
}

.nav-section-label[b-t6raibjoog] {
    display: block;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.3);
    padding: 0.625rem 0.75rem 0.375rem;
    margin-bottom: 0.125rem;
}

/* --- Nav Item Base --- */
.nav-item[b-t6raibjoog] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 200ms ease;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    margin-bottom: 2px;
    position: relative;
    overflow: hidden;
}

.nav-item[b-t6raibjoog]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--accent-primary);
    transform: scaleY(0);
    transition: transform 250ms ease;
}

.nav-item:hover[b-t6raibjoog] {
    background-color: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    box-shadow: inset 0 0 20px rgba(var(--accent-primary-rgb), 0.03);
}

/* --- Active State --- */
.nav-item.active[b-t6raibjoog] {
    background: linear-gradient(135deg, rgba(var(--accent-primary-rgb), 0.2), rgba(var(--accent-secondary-rgb), 0.14));
    color: #ffffff;
}
.nav-item.active[b-t6raibjoog]::before {
    transform: scaleY(1);
    box-shadow: 3px 0 8px rgba(var(--accent-primary-rgb), 0.4);
}

.nav-item.active .nav-icon[b-t6raibjoog] {
    opacity: 1;
    color: var(--accent-primary);
    filter: drop-shadow(0 0 6px rgba(var(--accent-primary-rgb), 0.5));
}

/* --- Icon --- */
.nav-icon[b-t6raibjoog] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: 0.6;
    transition: all 200ms ease;
}

.nav-item:hover .nav-icon[b-t6raibjoog] {
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(0 0 4px rgba(var(--accent-primary-rgb), 0.3));
}

/* --- Label --- */
.nav-label[b-t6raibjoog] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- Bottom Section --- */
.nav-bottom[b-t6raibjoog] {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 0.5rem;
}

.nav-logout-form[b-t6raibjoog] {
    display: contents;
}

.nav-logout[b-t6raibjoog] {
    color: rgba(255, 255, 255, 0.4);
}
.nav-logout:hover[b-t6raibjoog] {
    color: var(--accent-danger);
    background-color: rgba(239, 68, 68, 0.08);
}


/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-517f45iiim],
.components-reconnect-repeated-attempt-visible[b-517f45iiim],
.components-reconnect-failed-visible[b-517f45iiim],
.components-pause-visible[b-517f45iiim],
.components-resume-failed-visible[b-517f45iiim],
.components-rejoining-animation[b-517f45iiim] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-517f45iiim],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-517f45iiim],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-517f45iiim],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-517f45iiim],
#components-reconnect-modal.components-reconnect-retrying[b-517f45iiim],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-517f45iiim],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-517f45iiim],
#components-reconnect-modal.components-reconnect-failed[b-517f45iiim],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-517f45iiim] {
    display: block;
}


#components-reconnect-modal[b-517f45iiim] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-517f45iiim 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-517f45iiim 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-517f45iiim 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-517f45iiim]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-517f45iiim 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-517f45iiim {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-517f45iiim {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-517f45iiim {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-517f45iiim] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-517f45iiim] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-517f45iiim] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-517f45iiim] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-517f45iiim] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-517f45iiim] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-517f45iiim] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-517f45iiim 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-517f45iiim] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-517f45iiim {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Dashboard.razor.rz.scp.css */
.dashboard[b-e4vbv1x3x1] {
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-header[b-e4vbv1x3x1] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-title[b-e4vbv1x3x1] {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem;
}

.dashboard-subtitle[b-e4vbv1x3x1] {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin: 0;
}

.dashboard-stats[b-e4vbv1x3x1] {
    display: flex;
    gap: 0.75rem;
}

.stat-card[b-e4vbv1x3x1] {
    background-color: var(--bg-elevated);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    padding: 0.75rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.stat-card[b-e4vbv1x3x1]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-info));
    opacity: 0.6;
    transition: opacity 0.3s ease;
}
.stat-card:hover[b-e4vbv1x3x1] {
    border-color: rgba(var(--accent-primary-rgb), 0.35);
    box-shadow: 0 0 20px rgba(var(--accent-primary-rgb), 0.15),
                0 8px 24px rgba(var(--accent-primary-rgb), 0.1);
    transform: translateY(-3px);
}
.stat-card:hover[b-e4vbv1x3x1]::before {
    opacity: 1;
}

.stat-value[b-e4vbv1x3x1] {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-info));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label[b-e4vbv1x3x1] {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    margin-top: 0.25rem;
}

.accordion-engine[b-e4vbv1x3x1] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.empty-dashboard[b-e4vbv1x3x1] {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-tertiary);
}

.empty-dashboard h3[b-e4vbv1x3x1] {
    margin: 1rem 0 0.5rem;
    color: var(--text-secondary);
}

.empty-dashboard p[b-e4vbv1x3x1] {
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 640px) {
    .dashboard-header[b-e4vbv1x3x1] {
        flex-direction: column;
    }
    .dashboard-stats[b-e4vbv1x3x1] {
        width: 100%;
        justify-content: space-between;
    }
    .stat-card[b-e4vbv1x3x1] {
        flex: 1;
        min-width: 0;
    }
}
/* /Components/Pages/UserManagement.razor.rz.scp.css */
/* ============================================================
   User Management — Accordion-based hierarchy
   ============================================================ */

.mgmt-page[b-xj43nfzwbf] {
    max-width: 1200px;
    margin: 0 auto;
}

/* ---------- Header ---------- */
.mgmt-header[b-xj43nfzwbf] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.mgmt-title[b-xj43nfzwbf] {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.125rem;
}

.mgmt-subtitle[b-xj43nfzwbf] {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin: 0;
}

/* ---------- Inline Form Cards ---------- */
.mgmt-form-card[b-xj43nfzwbf] {
    background-color: var(--bg-elevated);
    border: 1px solid var(--border-primary);
    border-left: 3px solid var(--accent-primary);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1rem;
    animation: form-slide-in-b-xj43nfzwbf 0.3s ease-out both;
    position: relative;
    overflow: hidden;
}
.mgmt-form-card[b-xj43nfzwbf]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-primary), transparent);
    opacity: 0.3;
}
.mgmt-form-card.nested[b-xj43nfzwbf] {
    border-left-color: var(--accent-secondary);
    margin: 0.5rem 0 0.75rem;
}
.mgmt-form-card.nested[b-xj43nfzwbf]::before {
    background: linear-gradient(90deg, var(--accent-secondary), transparent);
}

@keyframes form-slide-in-b-xj43nfzwbf {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mgmt-form-header[b-xj43nfzwbf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.mgmt-form-header h4[b-xj43nfzwbf] {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.mgmt-close-btn[b-xj43nfzwbf] {
    background: none;
    border: none;
    color: var(--text-tertiary);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0 0.25rem;
    line-height: 1;
    transition: color var(--transition-fast);
}
.mgmt-close-btn:hover[b-xj43nfzwbf] {
    color: var(--accent-danger);
}

/* ---------- Accordion Engine ---------- */
.mgmt-accordion-engine[b-xj43nfzwbf] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.mgmt-l1[b-xj43nfzwbf] {
    border-left: 3px solid var(--accent-primary);
}
.mgmt-l2[b-xj43nfzwbf] {
    border-left: 3px solid var(--accent-secondary) !important;
}

.mgmt-inline-action[b-xj43nfzwbf] {
    margin-bottom: 0.75rem;
    display: flex;
    min-width: 100%;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-primary);
    padding: 5px 0;
}
    .mgmt-inline-action .btn-primary[b-xj43nfzwbf] {
        margin: 0 10px;
    }

/* ---------- Sensor Rows inside Location ---------- */
.mgmt-section-label[b-xj43nfzwbf] {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
    margin: 0 !important;
    padding: 0 5px !important;
}

.mgmt-sensor-list[b-xj43nfzwbf] {
    margin-bottom: 1.25rem;
}

.mgmt-sensor-row[b-xj43nfzwbf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    gap: 0.75rem;
    border-left: 2px solid transparent;
}
.mgmt-sensor-row:hover[b-xj43nfzwbf] {
    background-color: var(--bg-hover);
    border-left-color: var(--accent-primary);
    padding-left: 0.75rem;
}

.mgmt-sensor-info[b-xj43nfzwbf] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.mgmt-sensor-name[b-xj43nfzwbf] {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

.mgmt-sensor-meta[b-xj43nfzwbf] {
    font-size: 0.7rem;
    color: var(--text-tertiary);
}

.mgmt-sensor-badges[b-xj43nfzwbf] {
    display: flex;
    gap: 0.375rem;
    flex-shrink: 0;
}

/* ---------- Access Section ---------- */
.mgmt-access-section[b-xj43nfzwbf] {
    margin-top: 0.25rem;
}

.mgmt-access-list[b-xj43nfzwbf] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.mgmt-access-row[b-xj43nfzwbf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.375rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-fast);
}
.mgmt-access-row:hover[b-xj43nfzwbf] {
    background-color: var(--bg-hover);
}

.mgmt-access-user[b-xj43nfzwbf] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.mgmt-access-user svg[b-xj43nfzwbf] {
    color: var(--text-tertiary);
    flex-shrink: 0;
}

.mgmt-grant-row[b-xj43nfzwbf] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.mgmt-grant-row .form-control-sm[b-xj43nfzwbf] {
    font-size: 0.8rem;
    padding: 0.3rem 0.5rem;
    height: auto;
    flex: 1;
}

/* ---------- Empty State ---------- */
.mgmt-empty[b-xj43nfzwbf] {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-tertiary);
}
.mgmt-empty h3[b-xj43nfzwbf] {
    margin: 1rem 0 0.25rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}
.mgmt-empty p[b-xj43nfzwbf] {
    margin: 0;
    font-size: 0.85rem;
}

/* ---------- Users Section (bottom) ---------- */
.mgmt-users-section[b-xj43nfzwbf] {
    border-top: 1px solid var(--border-primary);
    padding-top: 1.5rem;
    position: relative;
}
.mgmt-users-section[b-xj43nfzwbf]::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--accent-primary-rgb), 0.2), transparent);
}

.mgmt-section-header[b-xj43nfzwbf] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 0.75rem;
}
.mgmt-section-header h3[b-xj43nfzwbf] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}
.mgmt-section-count[b-xj43nfzwbf] {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    font-weight: 500;
    display: block;
    margin-top: 0.125rem;
}

.mgmt-users-grid[b-xj43nfzwbf] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-bottom: 1rem;
}

.mgmt-user-card[b-xj43nfzwbf] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border-radius: var(--radius-md);
    background-color: var(--bg-elevated);
    border: 1px solid var(--border-primary);
    transition: all 0.25s ease;
}
.mgmt-user-card:hover[b-xj43nfzwbf] {
    border-color: rgba(var(--accent-primary-rgb), 0.2);
    background-color: var(--bg-hover);
    box-shadow: 0 2px 12px rgba(var(--accent-primary-rgb), 0.04);
    transform: translateX(2px);
}

.mgmt-user-avatar[b-xj43nfzwbf] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(var(--accent-primary-rgb), 0.2);
    transition: all 0.2s ease;
}
.mgmt-user-card:hover .mgmt-user-avatar[b-xj43nfzwbf] {
    box-shadow: 0 2px 12px rgba(var(--accent-primary-rgb), 0.35);
    transform: scale(1.05);
}

.mgmt-user-details[b-xj43nfzwbf] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.mgmt-user-name[b-xj43nfzwbf] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mgmt-user-email[b-xj43nfzwbf] {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mgmt-user-meta[b-xj43nfzwbf] {
    display: flex;
    gap: 0.375rem;
    flex-shrink: 0;
}

.mgmt-user-actions[b-xj43nfzwbf] {
    display: flex;
    gap: 0.25rem;
    flex-shrink: 0;
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
    .mgmt-header[b-xj43nfzwbf] {
        flex-direction: column;
    }
    .mgmt-form-row[b-xj43nfzwbf] {
        flex-direction: column;
    }
    .mgmt-field[b-xj43nfzwbf] {
        min-width: 100%;
    }
    .mgmt-user-card[b-xj43nfzwbf] {
        flex-wrap: wrap;
        padding: 0.75rem;
    }
    .mgmt-user-meta[b-xj43nfzwbf] {
        order: 10;
        width: 100%;
        padding-left: calc(36px + 0.75rem);
        margin-top: 0.25rem;
    }
    .mgmt-user-actions[b-xj43nfzwbf] {
        position: absolute;
        right: 0.75rem;
        top: 0.75rem;
    }
    .mgmt-user-card[b-xj43nfzwbf] {
        position: relative;
    }
    .mgmt-grant-row[b-xj43nfzwbf] {
        flex-wrap: wrap;
    }
    .mgmt-action-btn[b-xj43nfzwbf] {
        width: 34px;
        height: 34px;
    }
    .mgmt-sensor-row[b-xj43nfzwbf] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.375rem;
    }
    .mgmt-access-row[b-xj43nfzwbf] {
        flex-wrap: wrap;
        gap: 0.375rem;
    }
    .mgmt-section-header[b-xj43nfzwbf] {
        flex-direction: column;
        align-items: flex-start;
    }
    .mgmt-inline-action[b-xj43nfzwbf] {
        margin-bottom: 0.5rem;
    }
}

/* ---------- Location Picker ---------- */
.location-map-preview[b-xj43nfzwbf] {
    width: 100%;
    height: 280px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-primary);
    margin: 0.75rem 0;
    overflow: hidden;
    background-color: var(--bg-tertiary);
}

.location-coords[b-xj43nfzwbf] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: var(--text-tertiary);
    padding: 0.25rem 0;
}

@media (max-width: 640px) {
    .location-map-preview[b-xj43nfzwbf] {
        height: 200px;
    }
}
/* /Components/Shared/AccordionSensor.razor.rz.scp.css */
.sensor-detail-panel[b-hg4vpnsixg] {
    padding: 0.5rem 0;
    animation: sensor-panel-in-b-hg4vpnsixg 0.3s ease-out both;
}

@keyframes sensor-panel-in-b-hg4vpnsixg {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sensor-info-grid[b-hg4vpnsixg] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.sensor-info-item[b-hg4vpnsixg] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    background-color: rgba(var(--accent-primary-rgb), 0.03);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(var(--accent-primary-rgb), 0.06);
    transition: all 0.2s ease;
}
.sensor-info-item:hover[b-hg4vpnsixg] {
    background-color: rgba(var(--accent-primary-rgb), 0.06);
    border-color: rgba(var(--accent-primary-rgb), 0.12);
}

.info-label[b-hg4vpnsixg] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
}

.info-value[b-hg4vpnsixg] {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.sensor-actions-bar[b-hg4vpnsixg] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.sensor-chart-container[b-hg4vpnsixg] {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 0.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.sensor-chart-container[b-hg4vpnsixg]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-info), var(--accent-primary));
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}
.sensor-chart-container:hover[b-hg4vpnsixg] {
    border-color: rgba(var(--accent-primary-rgb), 0.25);
    box-shadow: 0 0 24px rgba(var(--accent-primary-rgb), 0.12);
}

.sensor-chart-container canvas[b-hg4vpnsixg] {
    width: 100% !important;
    height: 200px !important;
}

.sensor-chart-placeholder[b-hg4vpnsixg] {
    background-color: var(--bg-tertiary);
    border: 1px dashed var(--border-primary);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
}

.chart-placeholder-inner[b-hg4vpnsixg] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-tertiary);
}

.chart-placeholder-inner svg[b-hg4vpnsixg] {
    transition: all 0.3s ease;
}
.sensor-chart-placeholder:hover .chart-placeholder-inner svg[b-hg4vpnsixg] {
    opacity: 0.5;
    transform: scale(1.05);
}

.chart-placeholder-inner p[b-hg4vpnsixg] {
    margin: 0;
    font-size: 0.85rem;
}

.chart-note[b-hg4vpnsixg] {
    font-size: 0.7rem;
    opacity: 0.7;
}

.sensor-last-reading[b-hg4vpnsixg] {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
    padding: 0.2rem 0.6rem;
    background-color: rgba(var(--accent-primary-rgb), 0.06);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(var(--accent-primary-rgb), 0.1);
    transition: all 0.2s ease;
}
.sensor-last-reading:hover[b-hg4vpnsixg] {
    background-color: rgba(var(--accent-primary-rgb), 0.1);
    border-color: rgba(var(--accent-primary-rgb), 0.2);
}

.nested-l2[b-hg4vpnsixg] {
    margin-left: 0.5rem;
    border-left: 2px solid rgba(var(--accent-primary-rgb), 0.2);
}

.nested-l3[b-hg4vpnsixg] {
    margin-left: 0.5rem;
    border-left: 2px solid rgba(var(--accent-secondary-rgb), 0.2);
}

.empty-state[b-hg4vpnsixg] {
    color: var(--text-tertiary);
    font-size: 0.85rem;
    text-align: center;
    padding: 1rem 0;
    margin: 0;
}

@media (max-width: 640px) {
    .sensor-info-grid[b-hg4vpnsixg] {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    .sensor-chart-placeholder[b-hg4vpnsixg] {
        padding: 1.25rem 1rem;
    }
    .chart-placeholder-inner p[b-hg4vpnsixg] {
        font-size: 0.75rem;
    }
    .sensor-last-reading[b-hg4vpnsixg] {
        font-size: 0.7rem;
    }
}

@media (max-width: 400px) {
    .sensor-info-grid[b-hg4vpnsixg] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Shared/Modal.razor.rz.scp.css */
/* ============================================================
   Modal — Glass-morphism overlay
   ============================================================ */

.modal-backdrop[b-jqhq97o9gh] {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: modal-fade-in-b-jqhq97o9gh 0.2s ease-out;
    padding: 1rem;
}

@keyframes modal-fade-in-b-jqhq97o9gh {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ---------- Panel ---------- */
.modal-panel[b-jqhq97o9gh] {
    background: var(--bg-elevated);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl), 0 0 60px rgba(var(--accent-primary-rgb), 0.06);
    width: 100%;
    max-height: calc(100vh - 2rem);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modal-slide-up-b-jqhq97o9gh 0.25s ease-out;
    position: relative;
}
.modal-panel[b-jqhq97o9gh]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(var(--accent-primary-rgb), 0.4), transparent);
}

@keyframes modal-slide-up-b-jqhq97o9gh {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ---------- Sizes ---------- */
.modal-sm[b-jqhq97o9gh] { max-width: 400px; }
.modal-md[b-jqhq97o9gh] { max-width: 540px; }
.modal-lg[b-jqhq97o9gh] { max-width: 720px; }

/* ---------- Header ---------- */
.modal-header[b-jqhq97o9gh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-primary);
    flex-shrink: 0;
}

.modal-title[b-jqhq97o9gh] {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-close[b-jqhq97o9gh] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    border: none;
    background: transparent;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
}
.modal-close:hover[b-jqhq97o9gh] {
    background-color: rgba(var(--accent-danger-rgb), 0.1);
    color: var(--accent-danger);
}

/* ---------- Body ---------- */
.modal-body[b-jqhq97o9gh] {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

/* ---------- Footer ---------- */
.modal-footer[b-jqhq97o9gh] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-primary);
    flex-shrink: 0;
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
    .modal-backdrop[b-jqhq97o9gh] {
        padding: 0.5rem;
        align-items: flex-end;
    }
    .modal-panel[b-jqhq97o9gh] {
        max-height: 90vh;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }
    .modal-header[b-jqhq97o9gh] {
        padding: 1rem 1.25rem;
    }
    .modal-body[b-jqhq97o9gh] {
        padding: 1.25rem;
    }
    .modal-footer[b-jqhq97o9gh] {
        padding: 0.75rem 1.25rem;
    }
}
/* /Components/Shared/ThemeToggle.razor.rz.scp.css */
.theme-toggle[b-6cmfm9g9kg] {
    background: transparent;
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
}

.theme-toggle:hover[b-6cmfm9g9kg] {
    background-color: var(--bg-hover);
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 0 12px rgba(var(--accent-primary-rgb), 0.15);
}

.theme-toggle:hover svg[b-6cmfm9g9kg] {
    transform: rotate(30deg) scale(1.1);
    filter: drop-shadow(0 0 4px rgba(var(--accent-primary-rgb), 0.4));
}

.theme-toggle svg[b-6cmfm9g9kg] {
    transition: all 0.3s ease;
}

.theme-toggle:active svg[b-6cmfm9g9kg] {
    transform: rotate(180deg) scale(0.9);
}
