/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ========================================
   Main Layout - Top-nav shell
   ======================================== */

.app-container[b-v9bflhtm79] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--bg-primary);
}

/* ---- Top navigation bar ---- */
.top-nav[b-v9bflhtm79] {
    /* Height is auto — expands to 56px (row 1) + 40px (sub-nav) when active */
    background-color: var(--nav-bg);
    border-bottom: 1px solid var(--nav-border);
    position: sticky;
    top: 0;
    z-index: 200;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Row 1: brand + section tabs + right cluster */
.top-nav-inner[b-v9bflhtm79] {
    display: flex;
    align-items: stretch; /* children fill the 56px height so border-bottom tabs align */
    height: 56px;
    padding: 0 1.5rem;
    gap: 0.5rem;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

/* ---- Right side cluster ---- */
.top-nav-right[b-v9bflhtm79] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
    height: 56px; /* explicit height so align-items:center works relative to row 1 */
}

/* ---- Search ---- */
.search-container[b-v9bflhtm79] {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon[b-v9bflhtm79] {
    position: absolute;
    left: 0.75rem;
    color: var(--nav-text-dim);
    pointer-events: none;
}

.search-input[b-v9bflhtm79] {
    width: 200px;
    height: 34px;
    padding: 0 2.5rem 0 2.25rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    color: var(--nav-text);
    font-size: 0.8125rem;
    transition: all var(--transition-fast);
}

.search-input:focus[b-v9bflhtm79] {
    outline: none;
    width: 260px;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.search-input[b-v9bflhtm79]::placeholder {
    color: var(--nav-text-dim);
}

.search-shortcut[b-v9bflhtm79] {
    position: absolute;
    right: 0.625rem;
    padding: 0.1rem 0.375rem;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    font-size: 0.625rem;
    color: var(--nav-text-dim);
    font-family: inherit;
    pointer-events: none;
}

/* ---- Market status pill ---- */
.market-status-pill[b-v9bflhtm79] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.3125rem 0.625rem;
    background-color: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.market-label[b-v9bflhtm79] {
    font-size: 0.6875rem;
    font-weight: 500;
    color: #4ade80;
    white-space: nowrap;
}

/* ---- User avatar + dropdown ---- */
.user-menu-wrap[b-v9bflhtm79] {
    position: relative;
}

.user-avatar-btn[b-v9bflhtm79] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--nav-text);
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}

.user-avatar-btn:hover[b-v9bflhtm79] {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--nav-text);
}

.user-dropdown[b-v9bflhtm79] {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 200px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 300;
    overflow: hidden;
    animation: dropdown-in 0.12s ease;
}

.user-menu-wrap.open .user-dropdown[b-v9bflhtm79] {
    display: flex;
    flex-direction: column;
}

@@keyframes dropdown-in {
    from[b-v9bflhtm79] {
        opacity: 0;
        transform: translateY(-4px);
    }
    to[b-v9bflhtm79] {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-dropdown-header[b-v9bflhtm79] {
    padding: 0.75rem 1rem 0.625rem;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.user-dropdown-name[b-v9bflhtm79] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-dropdown-role[b-v9bflhtm79] {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.user-dropdown-divider[b-v9bflhtm79] {
    height: 1px;
    background-color: var(--border-default);
    margin: 0.25rem 0;
}

.user-dropdown-item[b-v9bflhtm79] {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.user-dropdown-item:hover[b-v9bflhtm79] {
    background-color: var(--bg-hover);
    color: var(--text-primary);
}

.user-dropdown-signout:hover[b-v9bflhtm79] {
    color: var(--accent-danger) !important;
    background-color: rgba(239, 68, 68, 0.08) !important;
}

.user-dropdown-form[b-v9bflhtm79] {
    margin: 0;
    padding: 0;
}

/* ---- Main content ---- */
.main-content[b-v9bflhtm79] {
    flex: 1;
    padding: 1.75rem 0;
    background-color: var(--bg-primary);
}

.content-area[b-v9bflhtm79] {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---- Row 2: context sub-nav strip ---- */
.sub-nav[b-v9bflhtm79] {
    display: flex;
    align-items: center;
    gap: 0;
    height: 40px;
    padding: 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}
.sub-nav[b-v9bflhtm79]::-webkit-scrollbar { display: none; }

/* ::deep — NavLink renders its own <a> which doesn't carry the parent scope attribute */
.sub-nav[b-v9bflhtm79]  .sub-nav-item {
    display: inline-flex;
    align-items: center;
    height: 100%;
    padding: 0 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--nav-text-dim);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: color var(--transition-fast), border-color var(--transition-fast);
    position: relative;
    top: 1px; /* align border-bottom flush with strip bottom edge */
}

.sub-nav[b-v9bflhtm79]  .sub-nav-item:hover {
    color: var(--nav-text);
}

.sub-nav[b-v9bflhtm79]  .sub-nav-item.active {
    color: var(--nav-text);
    border-bottom-color: var(--accent-primary);
    font-weight: 600;
}

/* ---- Error UI ---- */
#blazor-error-ui[b-v9bflhtm79] {
    display: none;
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bg-card);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-lg);
    padding: 0.875rem 1.25rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
}

#blazor-error-ui .error-icon[b-v9bflhtm79] {
    color: var(--accent-danger);
    font-size: 1.125rem;
}

#blazor-error-ui .error-message[b-v9bflhtm79] {
    color: var(--text-primary);
    font-size: 0.875rem;
}

#blazor-error-ui .reload[b-v9bflhtm79] {
    color: var(--accent-primary);
    font-size: 0.875rem;
    font-weight: 500;
    margin-left: 0.5rem;
}

#blazor-error-ui .dismiss[b-v9bflhtm79] {
    cursor: pointer;
    color: var(--text-muted);
    margin-left: 0.75rem;
    font-size: 1rem;
    line-height: 1;
}

#blazor-error-ui .dismiss:hover[b-v9bflhtm79] {
    color: var(--text-primary);
}

/* ---- Mobile ---- */
@@media (max-width: 768px) {
    .top-nav-inner[b-v9bflhtm79] {
        padding: 0 1rem;
        gap: 0.375rem;
    }

    .search-container[b-v9bflhtm79] {
        display: none;
    }

    .market-status-pill[b-v9bflhtm79] {
        display: none;
    }

    .main-content[b-v9bflhtm79] {
        padding: 1rem 0;
    }

    .content-area[b-v9bflhtm79] {
        padding: 0 1rem;
    }

    .sub-nav[b-v9bflhtm79] {
        height: auto;
        flex-direction: column;
        align-items: stretch;
        padding: 0.5rem 1rem;
        gap: 0.125rem;
    }

    .sub-nav[b-v9bflhtm79]  .sub-nav-item {
        height: auto;
        padding: 0.5rem 0.5rem;
        border-bottom: none;
        border-left: 2px solid transparent;
        top: 0;
    }

    .sub-nav[b-v9bflhtm79]  .sub-nav-item.active {
        border-left-color: var(--accent-primary);
        border-bottom-color: transparent;
        background-color: rgba(255, 255, 255, 0.08);
    }
}
/* /Components/Layout/MinimalLayout.razor.rz.scp.css */
/* ========================================
   Minimal Layout - Auth pages
   Split-panel: brand (left) + form (right)
   ======================================== */

/* Full-viewport two-column flex container */
.auth-body[b-d25mnyqgn1] {
    min-height: 100vh;
    display: flex;
    flex-direction: row;
}

/* ----------------------------------------
   Left: brand panel (desktop only)
   ---------------------------------------- */
.auth-brand-panel[b-d25mnyqgn1] {
    width: 42%;
    min-height: 100vh;
    background-color: var(--nav-bg);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2.5rem;
    overflow: hidden;
}

.auth-brand-inner[b-d25mnyqgn1] {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 360px;
    width: 100%;
}

/* Logo lockup inside brand panel */
.auth-brand-logo[b-d25mnyqgn1] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.auth-brand-wordmark[b-d25mnyqgn1] {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

/* Copy block */
.auth-brand-copy[b-d25mnyqgn1] {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.auth-brand-headline[b-d25mnyqgn1] {
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #fff;
    margin: 0;
}

.auth-brand-subtext[b-d25mnyqgn1] {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    margin: 0;
}

/* Feature bullet list */
.auth-brand-features[b-d25mnyqgn1] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.auth-brand-features li[b-d25mnyqgn1] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
}

.auth-brand-check[b-d25mnyqgn1] {
    flex-shrink: 0;
    color: var(--accent-primary);
}

/* Decorative radial glow — bottom-right corner */
.auth-brand-glow[b-d25mnyqgn1] {
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ----------------------------------------
   Right: form panel
   ---------------------------------------- */
.auth-form-panel[b-d25mnyqgn1] {
    flex: 1;
    min-height: 100vh;
    background-color: var(--bg-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
}

/* Mobile-only logo above the card (hidden on desktop) */
.auth-logo-wrap[b-d25mnyqgn1] {
    display: none;
    margin-bottom: 1.75rem;
}

.auth-logo-link[b-d25mnyqgn1] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    color: var(--text-primary);
}

.auth-logo-link:hover[b-d25mnyqgn1] {
    color: var(--text-primary);
}

.auth-logo-name[b-d25mnyqgn1] {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

/* ----------------------------------------
   Logo icon (shared: brand panel + mobile logo)
   ---------------------------------------- */
.auth-logo-icon[b-d25mnyqgn1] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
}

.auth-logo-icon img[b-d25mnyqgn1] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ----------------------------------------
   Auth card
   ---------------------------------------- */
.auth-card[b-d25mnyqgn1] {
    width: 100%;
    max-width: 420px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.auth-card h1[b-d25mnyqgn1] {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
}

.auth-card .auth-subtitle[b-d25mnyqgn1] {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* ----------------------------------------
   Divider
   ---------------------------------------- */
.auth-divider[b-d25mnyqgn1] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.25rem 0;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.auth-divider[b-d25mnyqgn1]::before,
.auth-divider[b-d25mnyqgn1]::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--border-default);
}

/* ----------------------------------------
   Social / OAuth buttons
   ---------------------------------------- */
.auth-social-btn[b-d25mnyqgn1] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    width: 100%;
    padding: 0.625rem 1rem;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.auth-social-btn:hover[b-d25mnyqgn1] {
    background-color: var(--bg-hover);
    border-color: var(--border-strong);
    color: var(--text-primary);
}

/* ----------------------------------------
   Footer link
   ---------------------------------------- */
.auth-footer-link[b-d25mnyqgn1] {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.auth-footer-link a[b-d25mnyqgn1] {
    color: var(--accent-primary);
    font-weight: 500;
    text-decoration: none;
}

.auth-footer-link a:hover[b-d25mnyqgn1] {
    text-decoration: underline;
}

/* ----------------------------------------
   Responsive: mobile (≤768px)
   ---------------------------------------- */
@media (max-width: 768px) {
    .auth-body[b-d25mnyqgn1] {
        flex-direction: column;
    }

    .auth-brand-panel[b-d25mnyqgn1] {
        display: none;
    }

    .auth-form-panel[b-d25mnyqgn1] {
        min-height: 100vh;
        padding: 2rem 1rem;
    }

    .auth-logo-wrap[b-d25mnyqgn1] {
        display: flex;
        justify-content: center;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ========================================
   NavMenu — two-row nav (Schwab/Chase style)
   Row 1: brand + section tabs
   Row 2: context sub-nav (rendered when a section is active)
   ======================================== */

/* ---- Brand ---- */
.nav-brand[b-ygb5uhagpr] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--nav-text);
    margin-right: 1.5rem;
    flex-shrink: 0;
}
.nav-brand:hover[b-ygb5uhagpr] { color: var(--nav-text); }

.nav-brand-icon[b-ygb5uhagpr] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.nav-brand-icon img[b-ygb5uhagpr] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-brand-name[b-ygb5uhagpr] {
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

/* ---- Row 1: primary section tabs ---- */
.nav-primary[b-ygb5uhagpr] {
    display: flex;
    align-items: center;
    gap: 0;
    height: 100%;
}

/* ::deep — NavLink renders its own <a> which doesn't carry the parent scope attribute.
   .nav-primary IS a direct HTML element so it gets the scope; ::deep lets us target descendants. */
.nav-primary[b-ygb5uhagpr]  .nav-section-item {
    display: inline-flex;
    align-items: center;
    height: 100%;
    padding: 0 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--nav-text-dim);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: color var(--transition-fast), border-color var(--transition-fast);
    position: relative;
    top: 1px; /* align border-bottom with the container's bottom border */
}

.nav-primary[b-ygb5uhagpr]  .nav-section-item:hover {
    color: var(--nav-text);
}

/* Blazor NavLink adds .active for exact matches; we also set nav-section-active for section parents */
.nav-primary[b-ygb5uhagpr]  .nav-section-item.active,
.nav-primary[b-ygb5uhagpr]  .nav-section-item.nav-section-active {
    color: var(--nav-text);
    border-bottom-color: var(--accent-primary);
    font-weight: 600;
}

/* ---- Mobile hamburger ---- */
.nav-mobile-input[b-ygb5uhagpr] { display: none; appearance: none; }
.nav-mobile-label[b-ygb5uhagpr] {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 0.375rem;
    margin-left: auto;
    order: 99;
}
.nav-mobile-label span[b-ygb5uhagpr] {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--nav-text);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* ---- Mobile responsive ---- */
@media (max-width: 768px) {
    .nav-mobile-label[b-ygb5uhagpr] { display: flex; }
    .nav-brand[b-ygb5uhagpr] { margin-right: auto; }

    .nav-primary[b-ygb5uhagpr] {
        display: none;
        position: fixed;
        top: 56px; left: 0; right: 0;
        background-color: var(--nav-bg);
        border-bottom: 1px solid var(--nav-border);
        padding: 0.75rem 1rem;
        flex-direction: column;
        align-items: stretch;
        height: auto;
        gap: 0.125rem;
        z-index: 190;
        max-height: calc(100vh - 56px);
        overflow-y: auto;
    }
    .nav-mobile-input:checked ~ .nav-primary[b-ygb5uhagpr] { display: flex; }

    .nav-mobile-input:checked ~ .nav-mobile-label span:nth-child(1)[b-ygb5uhagpr] {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav-mobile-input:checked ~ .nav-mobile-label span:nth-child(2)[b-ygb5uhagpr] { opacity: 0; }
    .nav-mobile-input:checked ~ .nav-mobile-label span:nth-child(3)[b-ygb5uhagpr] {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .nav-primary[b-ygb5uhagpr]  .nav-section-item {
        height: auto;
        padding: 0.625rem 0.5rem;
        border-bottom: none;
        border-left: 2px solid transparent;
        top: 0;
        width: 100%;
    }
    .nav-primary[b-ygb5uhagpr]  .nav-section-item.active,
    .nav-primary[b-ygb5uhagpr]  .nav-section-item.nav-section-active {
        border-left-color: var(--accent-primary);
        border-bottom-color: transparent;
        background-color: rgba(255, 255, 255, 0.08);
    }
}

@media (min-width: 769px) {
    .nav-mobile-input[b-ygb5uhagpr],
    .nav-mobile-label[b-ygb5uhagpr] { display: none; }
    .nav-primary[b-ygb5uhagpr] { display: flex; }
}
/* /Components/Layout/NotificationBell.razor.rz.scp.css */
.notification-bell-container[b-s6dv8e2y16] {
    position: relative;
    display: inline-flex;
}

.notification-bell-btn[b-s6dv8e2y16] {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    padding: 6px;
    border-radius: 8px;
    color: var(--text-secondary);
    transition: color 0.15s, background-color 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-bell-btn:hover[b-s6dv8e2y16] {
    color: var(--text-primary);
    background-color: var(--bg-hover);
}

.notification-badge[b-s6dv8e2y16] {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--accent-danger);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
    pointer-events: none;
}

.notification-dropdown[b-s6dv8e2y16] {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 380px;
    max-height: 480px;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.notification-dropdown-header[b-s6dv8e2y16] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-default);
}

.notification-dropdown-title[b-s6dv8e2y16] {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.notification-mark-all-btn[b-s6dv8e2y16] {
    background: none;
    border: none;
    color: var(--accent-primary);
    font-size: 0.75rem;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background-color 0.15s;
}

.notification-mark-all-btn:hover[b-s6dv8e2y16] {
    background-color: rgba(59, 130, 246, 0.1);
}

.notification-dropdown-body[b-s6dv8e2y16] {
    flex: 1;
    overflow-y: auto;
    max-height: 360px;
}

.notification-empty[b-s6dv8e2y16] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.notification-item[b-s6dv8e2y16] {
    display: flex;
    gap: 10px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background-color 0.15s;
    border-bottom: 1px solid var(--border-subtle);
    align-items: flex-start;
}

.notification-item:hover[b-s6dv8e2y16] {
    background-color: var(--bg-hover);
}

.notification-item.unread[b-s6dv8e2y16] {
    background-color: rgba(59, 130, 246, 0.05);
}

.notification-item-icon[b-s6dv8e2y16] {
    flex-shrink: 0;
    margin-top: 2px;
}

.notification-item-content[b-s6dv8e2y16] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.notification-item-title[b-s6dv8e2y16] {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification-item-message[b-s6dv8e2y16] {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notification-item-time[b-s6dv8e2y16] {
    font-size: 0.675rem;
    color: var(--text-muted);
}

.notification-unread-dot[b-s6dv8e2y16] {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-primary);
    margin-top: 6px;
}

.notification-dropdown-footer[b-s6dv8e2y16] {
    border-top: 1px solid var(--border-default);
    padding: 8px 16px;
    text-align: center;
}

.notification-view-all[b-s6dv8e2y16] {
    color: var(--accent-primary);
    font-size: 0.8rem;
    text-decoration: none;
    font-weight: 500;
}

.notification-view-all:hover[b-s6dv8e2y16] {
    text-decoration: underline;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-fkazwd4p46],
.components-reconnect-repeated-attempt-visible[b-fkazwd4p46],
.components-reconnect-failed-visible[b-fkazwd4p46],
.components-pause-visible[b-fkazwd4p46],
.components-resume-failed-visible[b-fkazwd4p46],
.components-rejoining-animation[b-fkazwd4p46] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-fkazwd4p46],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-fkazwd4p46],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-fkazwd4p46],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-fkazwd4p46],
#components-reconnect-modal.components-reconnect-retrying[b-fkazwd4p46],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-fkazwd4p46],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-fkazwd4p46],
#components-reconnect-modal.components-reconnect-failed[b-fkazwd4p46],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-fkazwd4p46] {
    display: block;
}


#components-reconnect-modal[b-fkazwd4p46] {
    background-color: var(--bg-card, #18181b);
    color: var(--text-primary, #f4f4f5);
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 1px solid var(--border-default, #27272a);
    border-radius: 0.75rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-fkazwd4p46 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-fkazwd4p46 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-fkazwd4p46 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-fkazwd4p46]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-fkazwd4p46 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-fkazwd4p46 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-fkazwd4p46 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-fkazwd4p46 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-fkazwd4p46] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-fkazwd4p46] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-fkazwd4p46] {
    border: 0;
    background-color: var(--accent-primary, #3b82f6);
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-fkazwd4p46] {
        background-color: var(--accent-primary-hover, #2563eb);
    }

    #components-reconnect-modal button:active[b-fkazwd4p46] {
        background-color: var(--accent-primary, #3b82f6);
    }

.components-rejoining-animation[b-fkazwd4p46] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-fkazwd4p46] {
        position: absolute;
        border: 3px solid var(--accent-primary, #3b82f6);
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-fkazwd4p46 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-fkazwd4p46] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-fkazwd4p46 {
    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/Backtest.razor.rz.scp.css */
.backtest-config .card-body[b-zdgpfulthc] {
    padding: 1.25rem;
}

.kpi-card[b-zdgpfulthc] {
    transition: box-shadow 0.15s ease;
}

.kpi-card:hover[b-zdgpfulthc] {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.kpi-label[b-zdgpfulthc] {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary, #6c757d);
    margin-bottom: 0.25rem;
}

.kpi-value[b-zdgpfulthc] {
    font-size: 1.35rem;
    font-weight: 700;
}

.chart-container[b-zdgpfulthc] {
    position: relative;
    height: 350px;
    width: 100%;
}

.trade-reason[b-zdgpfulthc] {
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* /Components/Pages/Notifications.razor.rz.scp.css */
.notifications-page[b-lhatpjvowl] {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px;
}

.notifications-header[b-lhatpjvowl] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.notifications-header h1[b-lhatpjvowl] {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary, #e5e7eb);
    margin: 0;
}

.notifications-actions[b-lhatpjvowl] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-toggle[b-lhatpjvowl] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary, #9ca3af);
    cursor: pointer;
}

.filter-toggle input[type="checkbox"][b-lhatpjvowl] {
    accent-color: var(--accent-primary);
}

.notifications-loading[b-lhatpjvowl] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
    color: var(--text-muted, #6b7280);
    font-size: 0.875rem;
}

.notifications-empty[b-lhatpjvowl] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 16px;
    color: var(--text-muted, #6b7280);
    gap: 16px;
}

.notifications-empty p[b-lhatpjvowl] {
    font-size: 0.875rem;
    margin: 0;
}

.notifications-list[b-lhatpjvowl] {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-default);
    border-radius: 12px;
    overflow: hidden;
}

.notification-row[b-lhatpjvowl] {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    transition: background-color 0.15s;
    border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.04));
    align-items: flex-start;
}

.notification-row:last-child[b-lhatpjvowl] {
    border-bottom: none;
}

.notification-row:hover[b-lhatpjvowl] {
    background-color: var(--bg-hover);
}

.notification-row.unread[b-lhatpjvowl] {
    background-color: rgba(59, 130, 246, 0.06);
}

.notification-row-icon[b-lhatpjvowl] {
    flex-shrink: 0;
    margin-top: 2px;
}

.notification-row-content[b-lhatpjvowl] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.notification-row-top[b-lhatpjvowl] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.notification-row-kind[b-lhatpjvowl] {
    font-size: 0.675rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted, #6b7280);
}

.notification-row-time[b-lhatpjvowl] {
    font-size: 0.75rem;
    color: var(--text-muted, #6b7280);
    white-space: nowrap;
}

.notification-row-title[b-lhatpjvowl] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary, #e5e7eb);
}

.notification-row-message[b-lhatpjvowl] {
    font-size: 0.8rem;
    color: var(--text-secondary, #9ca3af);
    line-height: 1.4;
}

.notification-row-status[b-lhatpjvowl] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding-top: 4px;
}

.unread-indicator[b-lhatpjvowl] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-primary);
}

.notifications-pagination[b-lhatpjvowl] {
    display: flex;
    justify-content: center;
    padding: 16px 0;
}
/* /Components/Shared/OptionsRiskModal.razor.rz.scp.css */
.options-risk-overlay[b-7ghebt91sp] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(3px);
}

.options-risk-modal[b-7ghebt91sp] {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    width: 600px;
    max-width: 90vw;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.options-risk-header[b-7ghebt91sp] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-default);
    background: rgba(250, 204, 21, 0.05);
}

.options-risk-header h3[b-7ghebt91sp] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary, #e5e7eb);
}

.options-risk-body[b-7ghebt91sp] {
    padding: 20px 24px;
    overflow-y: auto;
    flex: 1;
}

.options-risk-intro[b-7ghebt91sp] {
    margin: 0 0 16px;
    font-size: 0.9rem;
    color: var(--text-secondary, #9ca3af);
    line-height: 1.6;
}

.options-risk-intro strong[b-7ghebt91sp] {
    color: var(--warning, #facc15);
}

.options-risk-list[b-7ghebt91sp] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.risk-item[b-7ghebt91sp] {
    padding: 12px;
    background: rgba(239, 68, 68, 0.08);
    border-left: 3px solid var(--accent-danger);
    border-radius: 6px;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary, #9ca3af);
}

.risk-item strong[b-7ghebt91sp] {
    display: block;
    margin-bottom: 4px;
    color: var(--text-primary, #e5e7eb);
}

.options-risk-annual-note[b-7ghebt91sp] {
    padding: 12px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-primary, #e5e7eb);
    margin-bottom: 16px;
}

.options-risk-checkbox[b-7ghebt91sp] {
    margin-top: 16px;
    padding: 14px;
    background: rgba(250, 204, 21, 0.08);
    border: 2px solid rgba(250, 204, 21, 0.3);
    border-radius: 8px;
}

.options-risk-checkbox label[b-7ghebt91sp] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-primary, #e5e7eb);
}

.options-risk-checkbox input[type="checkbox"][b-7ghebt91sp] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.options-risk-checkbox input[type="checkbox"]:disabled[b-7ghebt91sp] {
    opacity: 0.5;
    cursor: not-allowed;
}

.options-risk-error[b-7ghebt91sp] {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 6px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--accent-danger);
    font-size: 0.85rem;
}

.options-risk-footer[b-7ghebt91sp] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 24px;
    border-top: 1px solid var(--border-default);
    background: var(--bg-card);
}

.options-risk-btn[b-7ghebt91sp] {
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.15s, opacity 0.15s;
}

.options-risk-btn:disabled[b-7ghebt91sp] {
    opacity: 0.5;
    cursor: not-allowed;
}

.options-risk-btn-cancel[b-7ghebt91sp] {
    background: transparent;
    color: var(--text-secondary, #9ca3af);
    border: 1px solid var(--border-default);
}

.options-risk-btn-cancel:hover:not(:disabled)[b-7ghebt91sp] {
    background: var(--bg-hover);
}

.options-risk-btn-confirm[b-7ghebt91sp] {
    background: var(--warning, #facc15);
    color: #000;
    font-weight: 600;
}

.options-risk-btn-confirm:hover:not(:disabled)[b-7ghebt91sp] {
    background: var(--warning-hover, #eab308);
}

.options-risk-spinner[b-7ghebt91sp] {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-top-color: #000;
    border-radius: 50%;
    animation: options-risk-spin-b-7ghebt91sp 0.6s linear infinite;
}

@keyframes options-risk-spin-b-7ghebt91sp {
    to {
        transform: rotate(360deg);
    }
}
/* /Components/Shared/StepUpModal.razor.rz.scp.css */
.step-up-overlay[b-zzzopgqldb] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(2px);
}

.step-up-modal[b-zzzopgqldb] {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    width: 420px;
    max-width: 90vw;
    overflow: hidden;
}

.step-up-header[b-zzzopgqldb] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-default);
}

.step-up-header h3[b-zzzopgqldb] {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary, #e5e7eb);
}

.step-up-body[b-zzzopgqldb] {
    padding: 16px 20px;
}

.step-up-description[b-zzzopgqldb] {
    margin: 0 0 12px;
    font-size: 0.85rem;
    color: var(--text-secondary, #9ca3af);
    line-height: 1.5;
}

.step-up-action-label[b-zzzopgqldb] {
    margin: 0 0 16px;
    font-size: 0.8rem;
    color: var(--text-muted, #6b7280);
}

.step-up-action-label strong[b-zzzopgqldb] {
    color: var(--text-primary, #e5e7eb);
}

.step-up-form[b-zzzopgqldb] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.step-up-form label[b-zzzopgqldb] {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary, #9ca3af);
}

.step-up-input[b-zzzopgqldb] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-default);
    border-radius: 8px;
    background: var(--bg-tertiary);
    color: var(--text-primary, #e5e7eb);
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.15s;
    box-sizing: border-box;
}

.step-up-input:focus[b-zzzopgqldb] {
    border-color: var(--accent-primary);
}

.step-up-input:disabled[b-zzzopgqldb] {
    opacity: 0.5;
    cursor: not-allowed;
}

.step-up-error[b-zzzopgqldb] {
    margin-top: 12px;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--accent-danger);
    font-size: 0.8rem;
}

.step-up-footer[b-zzzopgqldb] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 20px;
    border-top: 1px solid var(--border-default);
}

.step-up-btn[b-zzzopgqldb] {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.15s, opacity 0.15s;
}

.step-up-btn:disabled[b-zzzopgqldb] {
    opacity: 0.5;
    cursor: not-allowed;
}

.step-up-btn-cancel[b-zzzopgqldb] {
    background: transparent;
    color: var(--text-secondary, #9ca3af);
    border: 1px solid var(--border-default);
}

.step-up-btn-cancel:hover:not(:disabled)[b-zzzopgqldb] {
    background: var(--bg-hover);
}

.step-up-btn-confirm[b-zzzopgqldb] {
    background: var(--accent-primary);
    color: #fff;
}

.step-up-btn-confirm:hover:not(:disabled)[b-zzzopgqldb] {
    background: var(--accent-primary-hover);
}

.step-up-spinner[b-zzzopgqldb] {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: step-up-spin-b-zzzopgqldb 0.6s linear infinite;
}

@keyframes step-up-spin-b-zzzopgqldb {
    to {
        transform: rotate(360deg);
    }
}
