/* /Pages/Index.razor.rz.scp.css */
/* Dashboard Tab Styling - Scoped to Index page */

/* Base tab styling */
.nav-tabs .nav-link[b-bhjav22xj9] {
    color: #495057; /* Dark gray text */
    background-color: transparent;
    border: 1px solid transparent;
    transition: all 0.15s ease-in-out;
    cursor: pointer;
    user-select: none;
}

/* Hover state */
.nav-tabs .nav-link:hover[b-bhjav22xj9] {
    color: #0056b3; /* Blue text on hover */
    background-color: #e9ecef;
    border-color: #dee2e6 #dee2e6 transparent;
}

/* Active tab - ensure high contrast and readability */
.nav-tabs .nav-link.active[b-bhjav22xj9] {
    color: #0d6efd !important; /* Bootstrap primary blue */
    background-color: #ffffff !important;
    border-color: #dee2e6 #dee2e6 #ffffff !important;
    font-weight: 600;
    cursor: default;
}

/* Focus state for accessibility */
.nav-tabs .nav-link:focus[b-bhjav22xj9] {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

/* Icons in tabs */
.nav-tabs .nav-link i[b-bhjav22xj9] {
    margin-right: 0.5rem;
    opacity: 0.7;
}

.nav-tabs .nav-link.active i[b-bhjav22xj9] {
    opacity: 1;
}

/* Tab content area */
.tab-content[b-bhjav22xj9] {
    border: 1px solid #dee2e6;
    border-top: none;
    padding: 1rem;
    background-color: #ffffff;
}

/* Summary Metrics specific styling */
#summaryMetricsTabs[b-bhjav22xj9] {
    margin-bottom: 0;
}

/* Job Details tabs */
#jobDetailsTabs[b-bhjav22xj9] {
    margin-bottom: 0;
}

/* Ensure proper spacing */
.nav-tabs[b-bhjav22xj9] {
    margin-bottom: -1px;
}

/* Button reset for tab buttons */
.nav-tabs .nav-link[type="button"][b-bhjav22xj9] {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
}

/* Disabled state (if needed) */
.nav-tabs .nav-link:disabled[b-bhjav22xj9] {
    color: #6c757d;
    background-color: transparent;
    border-color: transparent;
    opacity: 0.5;
    cursor: not-allowed;
}

.dashboard-page[b-bhjav22xj9] {
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
}

.dashboard-research-form[b-bhjav22xj9] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: min(100%, 260px);
}

.dashboard-research-form .input-group[b-bhjav22xj9] {
    width: 180px;
}

.tickerband[b-bhjav22xj9] {
    overflow: hidden;
    border: 1px solid #dee2e6;
    background: #ffffff;
    min-height: 44px;
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    contain: inline-size;
}

.tickerband-track[b-bhjav22xj9] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: max-content;
    max-width: none;
    animation: tickerband-scroll-b-bhjav22xj9 180s linear infinite;
    will-change: transform;
}

.tickerband-track:hover[b-bhjav22xj9] {
    animation-play-state: paused;
}

.tickerband-item[b-bhjav22xj9] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 0;
    background: transparent;
    padding: 0.55rem 0.25rem;
    white-space: nowrap;
    font: inherit;
    cursor: pointer;
}

.tickerband-item:hover .tickerband-symbol[b-bhjav22xj9] {
    text-decoration: underline;
}

.tickerband-symbol[b-bhjav22xj9] {
    color: #212529;
    font-weight: 700;
}

.tickerband-change[b-bhjav22xj9] {
    font-weight: 700;
}

.tickerband-arrow[b-bhjav22xj9] {
    font-size: 0.95rem;
    font-weight: 700;
}

.tickerband-up[b-bhjav22xj9] {
    color: #198754;
}

.tickerband-down[b-bhjav22xj9] {
    color: #dc3545;
}

@keyframes tickerband-scroll-b-bhjav22xj9 {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}
/* /Pages/Research/SymbolDetail.razor.rz.scp.css */
.symbol-research-chart-header > span[b-0n7i0jm8l6] {
    display: none;
}

@media (min-width: 1200px) {
    .symbol-overview-row > .symbol-overview-panel[b-0n7i0jm8l6] {
        flex: 1 1 0;
        width: auto;
        max-width: none;
    }

    .symbol-overview-row > .symbol-quick-actions-col[b-0n7i0jm8l6] {
        flex: 0 0 220px;
        width: 220px;
        max-width: 220px;
    }
}
/* /Shared/AiHelpChat.razor.rz.scp.css */
.ai-help-root[b-09lr3eu58q] {
    position: relative;
}

.ai-help-button[b-09lr3eu58q] {
    position: relative;
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.ai-help-question[b-09lr3eu58q] {
    position: absolute;
    right: 0.2rem;
    bottom: 0.2rem;
    font-size: 0.65rem;
    background: #fff;
    border-radius: 999px;
}

.ai-help-badge[b-09lr3eu58q] {
    position: absolute;
    right: -0.2rem;
    top: -0.2rem;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 999px;
    background: #dc3545;
    border: 2px solid #f7f7f7;
}

.ai-help-panel[b-09lr3eu58q] {
    position: fixed;
    right: 1.25rem;
    top: 4.25rem;
    z-index: 1050;
    min-width: 320px;
    max-width: calc(100vw - 1.5rem);
    min-height: 24rem;
    max-height: calc(100vh - 5rem);
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #d9dee8;
    border-radius: 8px;
    overflow: hidden;
}

.ai-help-resize-overlay[b-09lr3eu58q] {
    position: fixed;
    inset: 0;
    z-index: 1060;
    cursor: nesw-resize;
    user-select: none;
}

.ai-help-resize-grip[b-09lr3eu58q] {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 1.25rem;
    height: 1.25rem;
    cursor: nesw-resize;
}

.ai-help-resize-grip[b-09lr3eu58q]::before {
    content: "";
    position: absolute;
    left: 0.25rem;
    bottom: 0.25rem;
    width: 0.65rem;
    height: 0.65rem;
    border-left: 2px solid #8b95a5;
    border-bottom: 2px solid #8b95a5;
}

.ai-help-header[b-09lr3eu58q],
.ai-help-footer[b-09lr3eu58q] {
    padding: 0.75rem;
    background: #f8f9fb;
}

.ai-help-header[b-09lr3eu58q] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e8ebf0;
}

.ai-help-body[b-09lr3eu58q] {
    padding: 0.75rem;
    overflow-y: auto;
    min-height: 0;
    flex: 1 1 auto;
}

.ai-help-welcome[b-09lr3eu58q] {
    padding: 0.75rem;
    border: 1px solid #e8ebf0;
    border-radius: 8px;
    background: #fbfcfe;
}

.ai-help-message[b-09lr3eu58q] {
    display: flex;
    margin: 0.65rem 0;
}

.ai-help-message.from-user[b-09lr3eu58q] {
    justify-content: flex-end;
}

.ai-help-message.from-assistant[b-09lr3eu58q] {
    justify-content: flex-start;
}

.ai-help-bubble[b-09lr3eu58q] {
    max-width: 86%;
    padding: 0.55rem 0.7rem;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.35;
}

.from-user .ai-help-bubble[b-09lr3eu58q] {
    background: #0d6efd;
    color: #fff;
}

.from-assistant .ai-help-bubble[b-09lr3eu58q] {
    background: #eef2f7;
    color: #1f2937;
}

.ai-help-formula[b-09lr3eu58q] {
    display: block;
    margin: 0.5rem 0;
    padding: 0.45rem 0.55rem;
    overflow-x: auto;
    border: 1px solid #d9e0ea;
    border-radius: 6px;
    background: #fff;
    font-family: "Segoe UI", Arial, sans-serif;
    text-align: center;
    white-space: nowrap;
}

.ai-help-inline-formula[b-09lr3eu58q] {
    padding: 0 0.2rem;
    border-radius: 4px;
    background: #fff;
    font-family: "Segoe UI", Arial, sans-serif;
}

.ai-help-status[b-09lr3eu58q] {
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
    border-top: 1px solid #eef1f5;
}

.ai-help-footer[b-09lr3eu58q] {
    border-top: 1px solid #e8ebf0;
}

@media (max-width: 640.98px) {
    .ai-help-panel[b-09lr3eu58q] {
        right: 0.75rem;
        top: 3.75rem;
    }
}
/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-za6zxy8zyj] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-za6zxy8zyj] {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
}

.content[b-za6zxy8zyj] {
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
}

.sidebar[b-za6zxy8zyj] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-za6zxy8zyj] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.top-row a[b-za6zxy8zyj],
.top-row .btn-link[b-za6zxy8zyj] {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
}

.top-row a:hover[b-za6zxy8zyj],
.top-row .btn-link:hover[b-za6zxy8zyj] {
    text-decoration: underline;
}

.top-row a:first-child[b-za6zxy8zyj] {
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-za6zxy8zyj] {
        display: none;
    }

    .top-row.auth[b-za6zxy8zyj] {
        justify-content: space-between;
    }

    .top-row a[b-za6zxy8zyj],
    .top-row .btn-link[b-za6zxy8zyj] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-za6zxy8zyj] {
        flex-direction: row;
    }

    .sidebar[b-za6zxy8zyj] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-za6zxy8zyj] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth a:first-child[b-za6zxy8zyj] {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-za6zxy8zyj],
    article[b-za6zxy8zyj] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

/* Dashboard Tab Styling - Ensure readable text on all tabs */
[b-za6zxy8zyj] .nav-tabs .nav-link {
    color: #495057 !important; /* Dark gray text for inactive tabs */
    background-color: transparent;
    border: 1px solid transparent;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}

[b-za6zxy8zyj] .nav-tabs .nav-link:hover {
    color: #0056b3 !important; /* Blue on hover */
    background-color: #f8f9fa;
    border-color: #dee2e6 #dee2e6 #fff;
}

[b-za6zxy8zyj] .nav-tabs .nav-link.active {
    color: #0d6efd !important; /* Bootstrap primary blue for active tab */
    background-color: #fff !important;
    border-color: #dee2e6 #dee2e6 #fff !important;
    font-weight: 600;
}

/* Ensure icons in tabs are visible */
[b-za6zxy8zyj] .nav-tabs .nav-link i {
    opacity: 0.7;
}

[b-za6zxy8zyj] .nav-tabs .nav-link.active i {
    opacity: 1;
}
/* /Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-mvjq4slf9i] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-mvjq4slf9i] {
    height: 3.5rem;
    background-color: rgba(0, 0, 0, 0.4);
}

.navbar-brand[b-mvjq4slf9i] {
    font-size: 1.1rem;
    color: white !important;
}

.bi[b-mvjq4slf9i] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
}

.bi[b-mvjq4slf9i]::before {
    font-size: 1.25rem;
    line-height: 1;
    color: #ffd700 !important;
}

.nav-item[b-mvjq4slf9i] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

.nav-item:first-of-type[b-mvjq4slf9i] {
    padding-top: 1rem;
}

.nav-item:last-of-type[b-mvjq4slf9i] {
    padding-bottom: 1rem;
}

.nav-link[b-mvjq4slf9i],
.nav-link:link[b-mvjq4slf9i],
.nav-link:visited[b-mvjq4slf9i],
a.nav-link[b-mvjq4slf9i],
a.nav-link:link[b-mvjq4slf9i],
a.nav-link:visited[b-mvjq4slf9i] {
    color: #ffffff !important;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}

.nav-link:hover[b-mvjq4slf9i] {
    background-color: rgba(255, 255, 255, 0.1);
    color: white !important;
}

.nav-link.active[b-mvjq4slf9i] {
    background-color: rgba(255, 255, 255, 0.25);
    color: white !important;
}

.nav-link.active .bi[b-mvjq4slf9i]::before {
    color: white !important;
}

.nav-scrollable[b-mvjq4slf9i] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-mvjq4slf9i],
.navbar-toggler[aria-expanded="true"] ~ .nav-scrollable[b-mvjq4slf9i] {
    display: block;
}

hr[b-mvjq4slf9i] {
    border-color: rgba(255, 255, 255, 0.3);
    margin: 1rem 0;
}

.nav-section-header[b-mvjq4slf9i] {
    padding: 0.5rem 0 0.25rem 0;
    letter-spacing: 0.05em;
}

.nav-section-header small[b-mvjq4slf9i] {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    font-size: 0.75rem;
}

.nav-section-toggle[b-mvjq4slf9i] {
    align-items: center;
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    justify-content: space-between;
    padding: 0;
    text-align: left;
    width: 100%;
}

.nav-section-toggle:hover[b-mvjq4slf9i],
.nav-section-toggle:focus[b-mvjq4slf9i] {
    color: white;
}

.nav-section-toggle .bi[b-mvjq4slf9i] {
    height: 1rem;
    margin-right: 0;
    width: 1rem;
}

.nav-section-toggle .bi[b-mvjq4slf9i]::before {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.85rem;
}

.nav-section-toggle:hover .bi[b-mvjq4slf9i]::before,
.nav-section-toggle:focus .bi[b-mvjq4slf9i]::before {
    color: white !important;
}

@media (min-width: 641px) {
    .navbar-toggler[b-mvjq4slf9i] {
        display: none;
    }

    .nav-scrollable[b-mvjq4slf9i] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}

