/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ══════════════════════════════════════════════════════════
   Top Navigation Bar
   ══════════════════════════════════════════════════════════ */
.topnav[b-98nrwwecvh] {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0, 0, 0, .07);
    box-shadow: 0 1px 16px rgba(102, 126, 234, .07);
}

.topnav-inner[b-98nrwwecvh] {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 62px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* ── Brand ───────────────────────────────────────────────── */
.topnav-brand[b-98nrwwecvh] {
    display: flex;
    align-items: center;
    gap: .45rem;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-gem[b-98nrwwecvh] {
    font-size: 1.35rem;
    filter: drop-shadow(0 0 8px rgba(102, 126, 234, .55));
    transition: filter var(--transition-base);
}

.topnav-brand:hover .brand-gem[b-98nrwwecvh] {
    filter: drop-shadow(0 0 12px rgba(102, 126, 234, .85));
}

.brand-name[b-98nrwwecvh] {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -.025em;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Register CTA button in unauthenticated nav */
.topnav-register-btn[b-98nrwwecvh] {
    display: inline-flex;
    align-items: center;
    padding: .42rem 1.1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white !important;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(102, 126, 234, .38);
    transition: box-shadow .2s, transform .15s;
    white-space: nowrap;
}

.topnav-register-btn:hover[b-98nrwwecvh] {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, .52);
}

/* ── Navigation Links ────────────────────────────────────── */
.topnav-links[b-98nrwwecvh] {
    display: flex;
    align-items: center;
    gap: .15rem;
    flex: 1;
}

.topnav-link[b-98nrwwecvh] {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .42rem .9rem;
    border-radius: var(--radius-md);
    font-size: .875rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: background var(--transition-fast), color var(--transition-fast);
    position: relative;
}

.topnav-link:hover[b-98nrwwecvh] {
    background: rgba(102, 126, 234, .07);
    color: #667eea;
}

.topnav-link.active[b-98nrwwecvh] {
    background: rgba(102, 126, 234, .1);
    color: #667eea;
    font-weight: 600;
}

.topnav-link.active[b-98nrwwecvh]::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 12px;
    right: 12px;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px 2px 0 0;
}

.nav-icon[b-98nrwwecvh] {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    opacity: .8;
}

.topnav-link.active .nav-icon[b-98nrwwecvh] { opacity: 1; }

/* ── Right Side ──────────────────────────────────────────── */
.topnav-right[b-98nrwwecvh] {
    display: flex;
    align-items: center;
    gap: .65rem;
    flex-shrink: 0;
    margin-left: auto;
}

/* Add Memory Button */
.topnav-add-btn[b-98nrwwecvh] {
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    padding: .42rem 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white !important;
    border-radius: var(--radius-md);
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    transition: box-shadow var(--transition-base), transform var(--transition-fast);
    box-shadow: 0 2px 10px rgba(102, 126, 234, .38);
    white-space: nowrap;
}

.topnav-add-btn:hover[b-98nrwwecvh] {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, .52);
}

/* -- User Avatar + Dropdown moved to UserMenu.razor.css -- */

/* ── Backdrop ────────────────────────────────────────────── */
.nav-backdrop[b-98nrwwecvh] {
    position: fixed;
    inset: 0;
    z-index: 199;
    background: transparent;
}

/* ── Hamburger ───────────────────────────────────────────── */
.hamburger[b-98nrwwecvh] {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: .45rem;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.hamburger:hover[b-98nrwwecvh] { background: rgba(0,0,0,.05); }

.hamburger span[b-98nrwwecvh] {
    display: block;
    width: 20px;
    height: 2px;
    background: #6b7280;
    border-radius: 2px;
    transition: transform .22s ease, opacity .22s ease;
}

.hamburger.active span:nth-child(1)[b-98nrwwecvh] { transform: translateY(7px) rotate(45deg);  }
.hamburger.active span:nth-child(2)[b-98nrwwecvh] { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3)[b-98nrwwecvh] { transform: translateY(-7px) rotate(-45deg); }

/* ── Unauthenticated mini header ─────────────────────────── */
.topnav-auth[b-98nrwwecvh] {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,.07);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -.02em;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Page Main ───────────────────────────────────────────── */
.page-main[b-98nrwwecvh] {
    min-height: calc(100vh - 62px);
}

/* ── Blazor Error Bar ────────────────────────────────────── */
#blazor-error-ui[b-98nrwwecvh] {
    color-scheme: light only;
    background: #fff3cd;
    border-top: 2px solid #ffc107;
    bottom: 0;
    box-shadow: 0 -2px 8px rgba(0,0,0,.08);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: .6rem 1.25rem .7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    font-size: .875rem;
    color: #7c4a00;
}

#blazor-error-ui .reload[b-98nrwwecvh] { color: #7c4a00; font-weight: 600; }

#blazor-error-ui .dismiss[b-98nrwwecvh] {
    cursor: pointer;
    position: absolute;
    right: .75rem;
    top: .5rem;
    font-size: 1rem;
    opacity: .7;
}

#blazor-error-ui .dismiss:hover[b-98nrwwecvh] { opacity: 1; }

/* ── Mobile Responsive ───────────────────────────────────── */
@media (max-width: 768px) {
    .hamburger[b-98nrwwecvh]     { display: flex; }

    .topnav-links[b-98nrwwecvh] {
        display: none;
        position: fixed;
        top: 62px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        padding: .6rem .75rem .75rem;
        background: rgba(255, 255, 255, .97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(0,0,0,.08);
        box-shadow: 0 6px 20px rgba(0,0,0,.12);
        gap: .2rem;
        z-index: 201;
        animation: slideDown-b-98nrwwecvh .18s ease-out both;
    }

    @keyframes slideDown-b-98nrwwecvh {
        from { opacity: 0; transform: translateY(-10px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    .topnav-links.nav-open[b-98nrwwecvh] { display: flex; }

    .topnav-link[b-98nrwwecvh] {
        padding: .7rem 1rem;
        font-size: .92rem;
        border-radius: var(--radius-md);
    }

    .topnav-link.active[b-98nrwwecvh]::after { display: none; }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-i3lc9yj2wk],
.components-reconnect-repeated-attempt-visible[b-i3lc9yj2wk],
.components-reconnect-failed-visible[b-i3lc9yj2wk],
.components-pause-visible[b-i3lc9yj2wk],
.components-resume-failed-visible[b-i3lc9yj2wk],
.components-rejoining-animation[b-i3lc9yj2wk] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-i3lc9yj2wk],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-i3lc9yj2wk],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-i3lc9yj2wk],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-i3lc9yj2wk],
#components-reconnect-modal.components-reconnect-retrying[b-i3lc9yj2wk],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-i3lc9yj2wk],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-i3lc9yj2wk],
#components-reconnect-modal.components-reconnect-failed[b-i3lc9yj2wk],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-i3lc9yj2wk] {
    display: block;
}


#components-reconnect-modal[b-i3lc9yj2wk] {
    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-i3lc9yj2wk 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-i3lc9yj2wk 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-i3lc9yj2wk 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-i3lc9yj2wk]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-i3lc9yj2wk 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-i3lc9yj2wk {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-i3lc9yj2wk {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-i3lc9yj2wk {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-i3lc9yj2wk] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-i3lc9yj2wk] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-i3lc9yj2wk] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-i3lc9yj2wk] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-i3lc9yj2wk] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-i3lc9yj2wk] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-i3lc9yj2wk] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-i3lc9yj2wk 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-i3lc9yj2wk] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-i3lc9yj2wk {
    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/Layout/UserMenu.razor.rz.scp.css */
/* ── User Avatar + Dropdown ───────────────────────────────── */
.user-menu[b-uryrabt31u] { position: relative; }

.user-avatar[b-uryrabt31u] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-weight: 700;
    font-size: .88rem;
    border: 2px solid rgba(255,255,255,.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    box-shadow: 0 2px 8px rgba(102, 126, 234, .32);
    outline: none;
}

.user-avatar:hover[b-uryrabt31u],
.user-menu.menu-open .user-avatar[b-uryrabt31u] {
    transform: scale(1.06);
    box-shadow: 0 4px 16px rgba(102, 126, 234, .5);
}

.user-dropdown[b-uryrabt31u] {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 210px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0,0,0,.13), 0 2px 8px rgba(0,0,0,.07);
    border: 1px solid rgba(0,0,0,.06);
    overflow: hidden;
    animation: dropIn-b-uryrabt31u .15s ease-out both;
    z-index: 300;
}

.user-menu.menu-open .user-dropdown[b-uryrabt31u] { display: block; }

@keyframes dropIn-b-uryrabt31u {
    from { opacity: 0; transform: translateY(-8px) scale(.96); }
    to   { opacity: 1; transform: translateY(0)    scale(1);   }
}

.dropdown-header[b-uryrabt31u] {
    padding: .85rem 1rem;
    background: linear-gradient(135deg, rgba(102,126,234,.06), rgba(118,75,162,.06));
}

.dropdown-name[b-uryrabt31u] {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-role[b-uryrabt31u] {
    display: block;
    font-size: .73rem;
    color: var(--text-muted);
    margin-top: .1rem;
}

.dropdown-divider[b-uryrabt31u] {
    height: 1px;
    background: #f3f4f6;
}

.dropdown-item[b-uryrabt31u] {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .62rem 1rem;
    font-size: .855rem;
    color: #374151;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--transition-fast);
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    line-height: 1.4;
}

.dropdown-item:hover[b-uryrabt31u]  { background: #f9fafb; }
.logout-btn[b-uryrabt31u]           { color: #ef4444; }
.logout-btn:hover[b-uryrabt31u]     { background: #fef2f2; }
/* /Components/Pages/Account.razor.rz.scp.css */
.account-container[b-7vbkplt5rl] {
    display: flex;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
    align-items: flex-start;
}

.account-nav[b-7vbkplt5rl] {
    flex: 0 0 220px;
    position: sticky;
    top: 1rem;
    background: var(--surface-color, #fff);
    border: 1px solid var(--border-color, #e2e2e2);
    border-radius: 12px;
    padding: 1rem;
}

.account-title[b-7vbkplt5rl] {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 1rem 0.25rem;
    color: var(--text-color, #1a1a1a);
}

.account-nav nav[b-7vbkplt5rl] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.account-nav__item[b-7vbkplt5rl] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-color, #1a1a1a);
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.account-nav__item:hover[b-7vbkplt5rl] {
    background: var(--hover-surface, rgba(0, 0, 0, 0.05));
}

.account-nav__item.active[b-7vbkplt5rl] {
    background: var(--primary-color, #2563eb);
    color: #ffffff;
    font-weight: 600;
}

.account-nav__icon[b-7vbkplt5rl] {
    font-size: 1.05rem;
    line-height: 1;
}

.account-content[b-7vbkplt5rl] {
    flex: 1 1 auto;
    min-width: 0;
}

@media (max-width: 780px) {
    .account-container[b-7vbkplt5rl] {
        flex-direction: column;
    }

    .account-nav[b-7vbkplt5rl] {
        flex: 1 1 auto;
        position: static;
        width: 100%;
    }

    .account-nav nav[b-7vbkplt5rl] {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .account-nav__item[b-7vbkplt5rl] {
        width: auto;
    }
}
/* /Components/Pages/Dashboard.razor.rz.scp.css */
@media (max-width: 600px) {
    .dash-hero[b-phml5bd5ir] { padding: 2rem 1rem 2.8rem; }
    .dash-body[b-phml5bd5ir] { padding: 0 .9rem 2.5rem; }
    .quick-actions[b-phml5bd5ir] { grid-template-columns: 1fr 1fr; }
}

/* Hero collage strip */
.dash-hero-collage[b-phml5bd5ir] {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 2rem 0;
    overflow: hidden;
    max-height: 130px;
}

.collage-img[b-phml5bd5ir] {
    flex: 1;
    min-width: 0;
    height: 120px;
    object-fit: cover;
    border-radius: 0.6rem;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.collage-img:hover[b-phml5bd5ir] {
    opacity: 1;
}

@media (max-width: 600px) {
    .dash-hero-collage[b-phml5bd5ir] { display: none; }
}

/* Quick-action card background photos */
.qa-card[b-phml5bd5ir] {
    position: relative;
    overflow: hidden;
}

.qa-bg-img[b-phml5bd5ir] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.18;
    pointer-events: none;
    transition: opacity 0.25s;
}

.qa-card:hover .qa-bg-img[b-phml5bd5ir] {
    opacity: 0.28;
}
/* /Components/Pages/Genealogy.razor.rz.scp.css */
.genealogy-container[b-16su3swmp7] {
    padding: 1.25rem .9rem 2.5rem;
    max-width: 900px;
}

.genealogy-header h1[b-16su3swmp7] {
    margin-bottom: .25rem;
}

.genealogy-header p[b-16su3swmp7] {
    color: var(--text-muted, #6c757d);
}

.genealogy-section[b-16su3swmp7] {
    margin-top: 2rem;
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.08);
    background: #fff;
}

.genealogy-description[b-16su3swmp7] {
    color: var(--text-muted, #6c757d);
    font-size: .9rem;
    margin-bottom: 1rem;
}

.genealogy-upload-area[b-16su3swmp7] {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    max-width: 480px;
}

.genealogy-status[b-16su3swmp7] {
    margin-top: .75rem;
    font-size: .9rem;
}

.genealogy-status.success[b-16su3swmp7] {
    color: #198754;
}

.genealogy-status.error[b-16su3swmp7] {
    color: #dc3545;
}
/* /Components/Pages/LegacyVault.razor.rz.scp.css */
.legacy-vault-container[b-v54l8ja0sz] {
    padding: 1.25rem .9rem 2.5rem;
    max-width: 900px;
}

.legacy-vault-header h1[b-v54l8ja0sz] {
    margin-bottom: .25rem;
}

.legacy-vault-header p[b-v54l8ja0sz] {
    color: var(--text-muted, #6c757d);
}

.legacy-vault-section[b-v54l8ja0sz] {
    margin-top: 2rem;
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.08);
    background: #fff;
}

.legacy-vault-description[b-v54l8ja0sz] {
    color: var(--text-muted, #6c757d);
    font-size: .9rem;
}

.legacy-vault-add-guardian[b-v54l8ja0sz],
.legacy-vault-new-capsule[b-v54l8ja0sz] {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    max-width: 480px;
    margin-bottom: 1.25rem;
}

.legacy-vault-checkbox[b-v54l8ja0sz] {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .9rem;
}

.legacy-vault-unlock-options[b-v54l8ja0sz] {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.legacy-vault-date-label[b-v54l8ja0sz] {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    font-size: .9rem;
}

.legacy-vault-guardian-list[b-v54l8ja0sz],
.legacy-vault-capsule-list[b-v54l8ja0sz] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.legacy-vault-guardian-item[b-v54l8ja0sz],
.legacy-vault-capsule-item[b-v54l8ja0sz] {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .6rem .8rem;
    border-radius: 8px;
    background: rgba(0,0,0,0.03);
}

.legacy-vault-capsule-title[b-v54l8ja0sz] {
    font-weight: 600;
    flex: 1;
}

.legacy-vault-badge[b-v54l8ja0sz] {
    font-size: .75rem;
    padding: .15rem .5rem;
    border-radius: 999px;
    background: rgba(25,135,84,0.12);
    color: #198754;
}

.legacy-vault-status[b-v54l8ja0sz] {
    font-size: .8rem;
    padding: .15rem .6rem;
    border-radius: 999px;
    text-transform: capitalize;
}

.legacy-vault-status-draft[b-v54l8ja0sz] {
    background: rgba(108,117,125,0.15);
    color: #6c757d;
}

.legacy-vault-status-sealed[b-v54l8ja0sz] {
    background: rgba(255,193,7,0.18);
    color: #997404;
}

.legacy-vault-status-unlocked[b-v54l8ja0sz] {
    background: rgba(25,135,84,0.15);
    color: #198754;
}

.legacy-vault-empty[b-v54l8ja0sz] {
    color: var(--text-muted, #6c757d);
    font-style: italic;
}
/* /Components/Pages/Library.razor.rz.scp.css */
@media (max-width: 600px) {
    .library-container[b-mhi2nxzy8m] { padding: 1.25rem .9rem 2.5rem; }
}
/* /Components/Pages/MemoryGalaxy.razor.rz.scp.css */
.galaxy-container[b-35sl6u8dvg] {
    padding: 1.25rem .9rem 2.5rem;
}

.galaxy-header h1[b-35sl6u8dvg] {
    margin-bottom: .25rem;
}

.galaxy-header p[b-35sl6u8dvg] {
    color: var(--text-muted, #6c757d);
}

.galaxy-canvas-wrap[b-35sl6u8dvg] {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 420px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.08);
    background: linear-gradient(135deg, #fafbff 0%, #f1f3fb 100%);
    overflow: hidden;
}

.galaxy-canvas[b-35sl6u8dvg] {
    width: 100%;
    height: 100%;
    display: block;
    touch-action: none;
    cursor: grab;
}

.galaxy-detail-panel[b-35sl6u8dvg] {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 1rem 1.25rem;
    max-width: 280px;
}

.galaxy-detail-type[b-35sl6u8dvg] {
    text-transform: capitalize;
    color: var(--text-muted, #6c757d);
    font-size: .85rem;
}

.galaxy-detail-thumb[b-35sl6u8dvg] {
    width: 100%;
    border-radius: 8px;
    margin: .5rem 0;
}

.galaxy-toolbar[b-35sl6u8dvg] {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.galaxy-view-toggle[b-35sl6u8dvg] {
    display: flex;
    gap: .5rem;
}

.galaxy-search-box[b-35sl6u8dvg] {
    display: flex;
    gap: .5rem;
    align-items: center;
    flex: 1 1 260px;
    max-width: 360px;
}

.galaxy-search-box input[b-35sl6u8dvg] {
    flex: 1;
}

.galaxy-timeline[b-35sl6u8dvg] {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: .5rem;
}

.galaxy-timeline-year h2[b-35sl6u8dvg] {
    position: sticky;
    top: 0;
    background: #fff;
    padding: .25rem 0;
    font-size: 1.25rem;
    color: var(--text-muted, #6c757d);
    z-index: 1;
}

.galaxy-timeline-entries[b-35sl6u8dvg] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: .75rem;
    margin-bottom: 1.5rem;
}

.galaxy-timeline-entry[b-35sl6u8dvg] {
    border-radius: 8px;
    overflow: hidden;
    background: #fafbff;
    border: 1px solid rgba(0,0,0,0.08);
}

.galaxy-timeline-thumb[b-35sl6u8dvg] {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.galaxy-timeline-caption[b-35sl6u8dvg] {
    padding: .4rem .5rem;
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.galaxy-timeline-title[b-35sl6u8dvg] {
    font-size: .85rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.galaxy-timeline-date[b-35sl6u8dvg] {
    font-size: .75rem;
    color: var(--text-muted, #6c757d);
}
/* /Components/Shared/FeedbackWidget.razor.rz.scp.css */
.feedback-widget[b-cnje9tlacf] {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1000;
}

.feedback-fab[b-cnje9tlacf] {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.feedback-panel[b-cnje9tlacf] {
    position: absolute;
    right: 0;
    bottom: 3.75rem;
    width: 18rem;
    background: white;
    color: #1a1a2e;
    border-radius: 0.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    padding: 1rem;
}

.feedback-panel h4[b-cnje9tlacf] {
    margin: 0 0 0.5rem 0;
}

.feedback-panel label[b-cnje9tlacf] {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.feedback-panel select[b-cnje9tlacf],
.feedback-panel textarea[b-cnje9tlacf] {
    width: 100%;
    margin-top: 0.25rem;
    box-sizing: border-box;
}

.feedback-actions[b-cnje9tlacf] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.feedback-error[b-cnje9tlacf] {
    color: #b91c1c;
    font-size: 0.8rem;
}

.feedback-success[b-cnje9tlacf] {
    font-size: 0.9rem;
}

.feedback-close-btn[b-cnje9tlacf],
.feedback-cancel-btn[b-cnje9tlacf],
.feedback-submit-btn[b-cnje9tlacf] {
    border-radius: 0.4rem;
    border: 1px solid #ccc;
    padding: 0.35rem 0.75rem;
    cursor: pointer;
    background: #f3f4f6;
}

.feedback-submit-btn[b-cnje9tlacf] {
    background: #667eea;
    color: white;
    border: none;
}
/* /Components/Shared/PlanUsageWidget.razor.rz.scp.css */
.plan-widget[b-4y6vls9aod] {
    background: var(--color-surface, #1e1b2e);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    min-width: 220px;
    font-size: .85rem;
}

.plan-badge[b-4y6vls9aod] {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .25rem .7rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .9rem;
}

.plan-badge--free[b-4y6vls9aod]    { background: rgba(148,163,184,.15); color: #94a3b8; }
.plan-badge--starter[b-4y6vls9aod] { background: rgba(250,204, 21,.15); color: #facc15; }
.plan-badge--family[b-4y6vls9aod]  { background: rgba( 52,211,153,.15); color: #34d399; }
.plan-badge--legacy[b-4y6vls9aod]  { background: rgba(167,139,250,.15); color: #a78bfa; }

.plan-meters[b-4y6vls9aod] { display: flex; flex-direction: column; gap: .65rem; }

.plan-meter__header[b-4y6vls9aod] {
    display: flex;
    justify-content: space-between;
    margin-bottom: .25rem;
    color: rgba(255,255,255,.7);
}

.plan-meter__label[b-4y6vls9aod] { font-weight: 500; }
.plan-meter__value[b-4y6vls9aod] { font-variant-numeric: tabular-nums; }
.plan-meter__sep[b-4y6vls9aod]   { opacity: .4; margin: 0 .15rem; }

.plan-meter__bar[b-4y6vls9aod] {
    height: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    overflow: hidden;
}

.plan-meter__fill[b-4y6vls9aod] {
    height: 100%;
    border-radius: 999px;
    transition: width .4s ease;
}

.plan-meter__fill--green[b-4y6vls9aod] { background: #34d399; }
.plan-meter__fill--amber[b-4y6vls9aod] { background: #facc15; }
.plan-meter__fill--red[b-4y6vls9aod]   { background: #f87171; }

.plan-upgrade-cta[b-4y6vls9aod] {
    display: block;
    margin-top: .9rem;
    padding: .45rem .8rem;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: #fff;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: .82rem;
    text-decoration: none;
    transition: opacity .2s;
}

.plan-upgrade-cta:hover[b-4y6vls9aod] { opacity: .85; }

.plan-reset[b-4y6vls9aod] {
    margin-top: .6rem;
    color: rgba(255,255,255,.35);
    font-size: .75rem;
    text-align: right;
}
