/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ── Shell ───────────────────────────────────────────── */
.app-shell[b-w66rve1un4] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f8fafc;
}

/* ── Top bar ─────────────────────────────────────────── */
.topbar[b-w66rve1un4] {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* ── Page body ───────────────────────────────────────── */
.page-body[b-w66rve1un4] {
    flex: 1;
    padding: 1.5rem 1.75rem;
}

@media (max-width: 640.98px) {
    .page-body[b-w66rve1un4] {
        padding: 1rem;
    }
}

/* ── Error UI ────────────────────────────────────────── */
#blazor-error-ui[b-w66rve1un4] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0,0,0,.2);
    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-w66rve1un4] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ── Topbar inner layout ──────────────────────────────── */
.topbar-inner[b-dewi0tfvps] {
    display: flex;
    align-items: center;
    height: 3.75rem;
    padding: 0 1.5rem;
}

/* ── Brand ───────────────────────────────────────────── */
.brand-link[b-dewi0tfvps] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    flex-shrink: 0;
    padding-right: 1.25rem;
    margin-right: 0.75rem;
    border-right: 1.5px solid #e2e8f0;
}

.brand-link:hover[b-dewi0tfvps] {
    text-decoration: none;
}

.brand-icon[b-dewi0tfvps] {
    font-size: 1.35rem;
    color: #2563eb;
}

.brand-name[b-dewi0tfvps] {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: 0.03em;
}

/* ── Nav items row ───────────────────────────────────── */
.nav-items[b-dewi0tfvps] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.nav-items[b-dewi0tfvps]  .nav-link-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    color: #64748b;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.nav-items[b-dewi0tfvps]  .nav-link-item:hover {
    background: #eff6ff;
    color: #1d4ed8;
    text-decoration: none;
}

.nav-items[b-dewi0tfvps]  .nav-link-item.active {
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 600;
    box-shadow: inset 0 -2px 0 #3b82f6;
}

.nav-items[b-dewi0tfvps]  .nav-icon {
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* ── Nav separator (before admin section) ────────────── */
.nav-sep[b-dewi0tfvps] {
    display: inline-block;
    width: 1px;
    height: 1.4rem;
    background: #e2e8f0;
    margin: 0 0.4rem;
    flex-shrink: 0;
    align-self: center;
}

/* ── Disabled nav items ──────────────────────────────── */
.nav-item-disabled[b-dewi0tfvps] {
    color: #94a3b8;
    opacity: 0.65;
    cursor: not-allowed;
    pointer-events: none;
}

/* ── User area ───────────────────────────────────────── */
.topbar-user[b-dewi0tfvps] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-left: auto;
    flex-shrink: 0;
    padding-left: 1.25rem;
    border-left: 1.5px solid #e2e8f0;
}

.user-avatar[b-dewi0tfvps] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    object-fit: cover;
    flex-shrink: 0;
}

.user-name[b-dewi0tfvps] {
    font-size: 0.85rem;
    font-weight: 500;
    color: #374151;
}

.btn-logout[b-dewi0tfvps] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 7px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    background: transparent;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-logout:hover[b-dewi0tfvps] {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
    text-decoration: none;
}

.btn-login[b-dewi0tfvps] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    background: #2563eb;
    border: none;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(37,99,235,0.3);
    transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}

.btn-login:hover[b-dewi0tfvps] {
    background: #1d4ed8;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(37,99,235,0.3);
}

/* ── Mobile: icons only ──────────────────────────────── */
@media (max-width: 768px) {
    .topbar-inner[b-dewi0tfvps] {
        padding: 0 0.75rem;
    }

    .brand-link[b-dewi0tfvps] {
        padding-right: 0.75rem;
        margin-right: 0.5rem;
    }

    .brand-name[b-dewi0tfvps] {
        display: none;
    }

    .nav-items[b-dewi0tfvps]  .nav-label {
        display: none;
    }

    .nav-items[b-dewi0tfvps]  .nav-link-item {
        padding: 0.45rem 0.55rem;
    }

    .nav-sep[b-dewi0tfvps] {
        margin: 0 0.2rem;
    }

    .user-name[b-dewi0tfvps] {
        display: none;
    }

    .topbar-user[b-dewi0tfvps] {
        padding-left: 0.75rem;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-fwj3gbgiae],
.components-reconnect-repeated-attempt-visible[b-fwj3gbgiae],
.components-reconnect-failed-visible[b-fwj3gbgiae],
.components-pause-visible[b-fwj3gbgiae],
.components-resume-failed-visible[b-fwj3gbgiae],
.components-rejoining-animation[b-fwj3gbgiae] {
    display: none;
}

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


#components-reconnect-modal[b-fwj3gbgiae] {
    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-fwj3gbgiae 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

#components-reconnect-modal button[b-fwj3gbgiae] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-fwj3gbgiae] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-fwj3gbgiae] {
        background-color: #6b9ed2;
    }

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

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

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

@keyframes components-rejoining-animation-b-fwj3gbgiae {
    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/Companies.razor.rz.scp.css */
/* ── Page header ─────────────────────────────────────────── */
.page-header[b-eujq72qsnu] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.page-title[b-eujq72qsnu] {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.2rem;
}

.page-subtitle[b-eujq72qsnu] {
    font-size: 0.82rem;
    color: #64748b;
}

.result-count-pill[b-eujq72qsnu] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    white-space: nowrap;
    margin-top: 0.15rem;
}

/* ── Filter bar ──────────────────────────────────────────── */
.filter-bar[b-eujq72qsnu] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    padding: 0.85rem 1.1rem;
}

.search-box[b-eujq72qsnu] {
    position: relative;
    flex: 1;
    min-width: 220px;
}

.search-icon[b-eujq72qsnu] {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 1;
}

.search-input[b-eujq72qsnu] {
    padding-left: 2.1rem;
    padding-right: 2.2rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 0.875rem;
    transition: border-color 0.15s, box-shadow 0.15s;
    width: 100%;
}

.search-input:focus[b-eujq72qsnu] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,.12);
    background: #fff;
    outline: none;
}

.search-clear[b-eujq72qsnu] {
    position: absolute;
    right: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    color: #94a3b8;
    font-size: 0.9rem;
    cursor: pointer;
    line-height: 1;
}

.search-clear:hover[b-eujq72qsnu] {
    color: #475569;
}

.filter-select[b-eujq72qsnu] {
    width: auto;
    min-width: 130px;
    font-size: 0.85rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #374151;
    cursor: pointer;
}

.filter-select:focus[b-eujq72qsnu] {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}

.filter-select-sm[b-eujq72qsnu] {
    min-width: 110px;
}

.btn-search[b-eujq72qsnu] {
    font-size: 0.875rem;
    border-radius: 8px;
    padding: 0.4rem 1rem;
    white-space: nowrap;
}

.btn-reset[b-eujq72qsnu] {
    font-size: 0.875rem;
    border-radius: 8px;
    padding: 0.4rem 0.65rem;
}

/* ── Results wrapper ─────────────────────────────────────── */
.results-wrap[b-eujq72qsnu] {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    overflow: hidden;
}

/* ── State: loading / empty ──────────────────────────────── */
.state-center[b-eujq72qsnu] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.empty-icon[b-eujq72qsnu] {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 0.75rem;
}

/* ── Companies table ─────────────────────────────────────── */
.companies-table thead th[b-eujq72qsnu] {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    background: #f8fafc;
    border-bottom: 1px solid #e9ecef;
    padding: 0.65rem 0.85rem;
    white-space: nowrap;
}

.companies-table tbody td[b-eujq72qsnu] {
    font-size: 0.85rem;
    vertical-align: middle;
    padding: 0.6rem 0.85rem;
    border-color: #f3f4f6;
}

.company-row[b-eujq72qsnu] {
    cursor: pointer;
    transition: background 0.1s;
}

.company-row:hover[b-eujq72qsnu] {
    background: #f0f7ff;
}

.company-row:hover .row-arrow[b-eujq72qsnu] {
    opacity: 1;
    transform: translateX(2px);
}

/* ── Ticker badge ────────────────────────────────────────── */
.ticker-badge[b-eujq72qsnu] {
    display: inline-block;
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    letter-spacing: 0.04em;
    font-family: 'Courier New', monospace;
}

/* ── Exchange badge ──────────────────────────────────────── */
.exchange-badge[b-eujq72qsnu] {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    letter-spacing: 0.03em;
}

.exchange-hose[b-eujq72qsnu]  { background: #dcfce7; color: #15803d; }
.exchange-hnx[b-eujq72qsnu]   { background: #dbeafe; color: #1d4ed8; }
.exchange-upcom[b-eujq72qsnu] { background: #f3f4f6; color: #4b5563; }

/* ── Status badge ────────────────────────────────────────── */
.status-badge[b-eujq72qsnu] {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    white-space: nowrap;
}

.status-active[b-eujq72qsnu]   { background: #dcfce7; color: #15803d; }
.status-delisted[b-eujq72qsnu] { background: #fee2e2; color: #dc2626; }
.status-inactive[b-eujq72qsnu] { background: #fef3c7; color: #d97706; }

/* ── Company name cell ───────────────────────────────────── */
.company-name[b-eujq72qsnu] {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 280px;
}

.company-sub[b-eujq72qsnu] {
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: 1px;
}

.industry-text[b-eujq72qsnu] {
    font-size: 0.82rem;
    color: #4b5563;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

/* ── Row arrow ───────────────────────────────────────────── */
.row-arrow[b-eujq72qsnu] {
    color: #94a3b8;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.1s, transform 0.1s;
    display: inline-block;
}

/* ── Pagination ──────────────────────────────────────────── */
.pagination-bar[b-eujq72qsnu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
    border-top: 1px solid #f0f4f8;
    background: #fafbfc;
}

.pagination-info[b-eujq72qsnu] {
    font-size: 0.78rem;
    color: #6b7280;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 767.98px) {
    .filter-bar[b-eujq72qsnu] {
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .filter-select[b-eujq72qsnu] {
        min-width: 0;
        flex: 1;
    }

    .company-name[b-eujq72qsnu] {
        max-width: 160px;
    }

    .industry-text[b-eujq72qsnu] {
        max-width: 100px;
    }

    .pagination-bar[b-eujq72qsnu] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}
/* /Components/Pages/CompanyDetail.razor.rz.scp.css */
/* ── Loading / Not-found states ─────────────────────────── */
.loading-center[b-cprisktcej] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 40vh;
    text-align: center;
}

.not-found-card[b-cprisktcej] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 40vh;
    text-align: center;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e9ecef;
    padding: 3rem 2rem;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.not-found-icon[b-cprisktcej] {
    font-size: 3.5rem;
    color: #cbd5e1;
}

/* ── Breadcrumb ──────────────────────────────────────────── */
.detail-breadcrumb[b-cprisktcej] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.83rem;
}

.breadcrumb-back[b-cprisktcej] {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
}

.breadcrumb-back:hover[b-cprisktcej] {
    color: #1d4ed8;
    text-decoration: underline;
}

.breadcrumb-sep[b-cprisktcej] {
    color: #cbd5e1;
    font-size: 0.7rem;
}

.breadcrumb-current[b-cprisktcej] {
    color: #6b7280;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Company header card ─────────────────────────────────── */
.company-header-card[b-cprisktcej] {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,.07);
    padding: 1.5rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.company-header-left[b-cprisktcej] {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    flex-shrink: 0;
}

.company-logo[b-cprisktcej] {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: contain;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    flex-shrink: 0;
}

.company-logo-placeholder[b-cprisktcej] {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #3b82f6;
    flex-shrink: 0;
}

.company-header-badges[b-cprisktcej] {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.company-header-ticker[b-cprisktcej] {
    font-size: 1.9rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.1;
    margin: 0.15rem 0 0.25rem;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.02em;
}

.company-header-name[b-cprisktcej] {
    font-size: 0.9rem;
    color: #4b5563;
    font-weight: 500;
    max-width: 380px;
}

/* ── Exchange badge (large) ──────────────────────────────── */
.exchange-badge-lg[b-cprisktcej] {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    border-radius: 6px;
    letter-spacing: 0.04em;
}

.exchange-badge-lg.exchange-hose[b-cprisktcej]  { background: #dcfce7; color: #15803d; }
.exchange-badge-lg.exchange-hnx[b-cprisktcej]   { background: #dbeafe; color: #1d4ed8; }
.exchange-badge-lg.exchange-upcom[b-cprisktcej] { background: #f3f4f6; color: #4b5563; }

/* ── Status badge (large) ────────────────────────────────── */
.status-badge-lg[b-cprisktcej] {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
}

.status-badge-lg.status-active[b-cprisktcej]   { background: #dcfce7; color: #15803d; }
.status-badge-lg.status-delisted[b-cprisktcej] { background: #fee2e2; color: #dc2626; }
.status-badge-lg.status-inactive[b-cprisktcej] { background: #fef3c7; color: #d97706; }

/* ── Market highlights KPI row ───────────────────────────── */
.market-highlights[b-cprisktcej] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.market-item[b-cprisktcej] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.85rem 1.25rem;
    min-width: 110px;
}

.market-divider[b-cprisktcej] {
    width: 1px;
    height: 42px;
    background: #e2e8f0;
    flex-shrink: 0;
}

.market-label[b-cprisktcej] {
    font-size: 0.68rem;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.market-value[b-cprisktcej] {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.market-year[b-cprisktcej] {
    font-size: 0.67rem;
    color: #94a3b8;
    margin-top: 2px;
}

/* ── Section card ────────────────────────────────────────── */
.section-card[b-cprisktcej] {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    overflow: hidden;
    height: 100%;
}

.section-card-header[b-cprisktcej] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid #f0f4f8;
    background: #fafbfc;
}

.section-card-title[b-cprisktcej] {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
}

/* ── Market history table ────────────────────────────────── */
.market-table thead th[b-cprisktcej] {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    background: #f8fafc;
    border-bottom: 1px solid #e9ecef;
    padding: 0.6rem 0.85rem;
    white-space: nowrap;
}

.market-table tbody td[b-cprisktcej] {
    font-size: 0.84rem;
    vertical-align: middle;
    padding: 0.6rem 0.85rem;
    border-color: #f3f4f6;
    color: #374151;
}

.row-latest[b-cprisktcej] {
    background: #f0f7ff;
}

.row-latest td[b-cprisktcej] {
    font-weight: 500;
}

.year-badge[b-cprisktcej] {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    padding: 0.15rem 0.5rem;
    background: #f1f5f9;
    border-radius: 5px;
}

.year-badge-latest[b-cprisktcej] {
    background: #dbeafe;
    color: #1d4ed8;
}

.empty-history[b-cprisktcej] {
    padding: 3rem 1rem;
    text-align: center;
}

/* ── Info list ───────────────────────────────────────────── */
.info-list[b-cprisktcej] {
    padding: 0.25rem 0;
}

.info-row[b-cprisktcej] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 1.1rem;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.85rem;
}

.info-row:last-child[b-cprisktcej] {
    border-bottom: none;
}

.info-label[b-cprisktcej] {
    color: #6b7280;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 110px;
}

.info-value[b-cprisktcej] {
    color: #1e293b;
    font-weight: 500;
    text-align: right;
    word-break: break-word;
}

.info-link[b-cprisktcej] {
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.8rem;
    word-break: break-all;
}

.info-link:hover[b-cprisktcej] {
    text-decoration: underline;
    color: #1d4ed8;
}

.ticker-inline[b-cprisktcej] {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: #1d4ed8;
    background: #dbeafe;
    padding: 0.15rem 0.45rem;
    border-radius: 5px;
    font-size: 0.82rem;
}

/* ── Status badge (small, for info card) ─────────────────── */
.status-badge-sm[b-cprisktcej] {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
}

.status-badge-sm.status-active[b-cprisktcej]   { background: #dcfce7; color: #15803d; }
.status-badge-sm.status-delisted[b-cprisktcej] { background: #fee2e2; color: #dc2626; }
.status-badge-sm.status-inactive[b-cprisktcej] { background: #fef3c7; color: #d97706; }

/* ── Financial tabs ──────────────────────────────────────── */
.fin-tab-header[b-cprisktcej] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0f4f8;
    background: #fafbfc;
    flex-wrap: wrap;
    min-height: 44px;
}

.fin-tab-nav[b-cprisktcej] {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    flex: 1;
}

.fin-tab-nav[b-cprisktcej]::-webkit-scrollbar {
    display: none;
}

.fin-tab-btn[b-cprisktcej] {
    flex-shrink: 0;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.7rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    white-space: nowrap;
    margin-bottom: -1px;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
    line-height: 1.4;
}

.fin-tab-btn:hover[b-cprisktcej] {
    color: #374151;
    background: #f1f5f9;
}

.fin-tab-btn.active[b-cprisktcej] {
    color: #1d4ed8;
    border-bottom-color: #1d4ed8;
    font-weight: 600;
}

.fin-year-select[b-cprisktcej] {
    width: auto !important;
    min-width: 115px;
    font-size: 0.82rem;
    border-radius: 7px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 0.28rem 1.75rem 0.28rem 0.6rem;
    margin: 0.45rem 0.75rem 0.45rem 0;
    color: #374151;
    flex-shrink: 0;
    cursor: pointer;
}

.fin-year-select:focus[b-cprisktcej] {
    outline: none;
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}

.fin-unit-note[b-cprisktcej] {
    font-size: 0.72rem;
    color: #94a3b8;
    text-align: right;
    padding: 0.35rem 0.85rem 0;
    margin: 0;
    font-style: italic;
}

/* ── Row interaction ─────────────────────────────────────── */
.row-clickable[b-cprisktcej] {
    cursor: pointer;
    transition: background 0.1s;
}

.row-selected[b-cprisktcej] {
    background: #eff6ff !important;
}

.row-selected td:first-child[b-cprisktcej] {
    box-shadow: inset 3px 0 0 #3b82f6;
}

/* ── Detail panel ────────────────────────────────────────── */
.fin-detail-panel[b-cprisktcej] {
    border-top: 2px solid #3b82f6;
    background: #f0f7ff;
}

.fin-detail-header[b-cprisktcej] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1rem;
    background: #e8f0fe;
    border-bottom: 1px solid #c7d7f9;
    font-size: 0.85rem;
    color: #1e3a5f;
}

.fin-detail-close[b-cprisktcej] {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.2rem 0.45rem;
    border-radius: 5px;
    font-size: 0.8rem;
    line-height: 1;
    transition: background 0.12s, color 0.12s;
}

.fin-detail-close:hover[b-cprisktcej] {
    background: #dbeafe;
    color: #1d4ed8;
}

.fin-detail-body[b-cprisktcej] {
    padding: 0.6rem 1rem 0.85rem;
}

.fin-detail-section[b-cprisktcej] {
    margin-top: 0.7rem;
}

.fin-detail-section:first-child[b-cprisktcej] {
    margin-top: 0.3rem;
}

.fin-detail-section-title[b-cprisktcej] {
    font-size: 0.69rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #c7d7f9;
}

.fin-detail-grid[b-cprisktcej] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 0.55rem 1.25rem;
}

.fin-detail-item[b-cprisktcej] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.fin-detail-label[b-cprisktcej] {
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 500;
}

.fin-detail-value[b-cprisktcej] {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
}

.fin-detail-note[b-cprisktcej] {
    margin-top: 0.75rem;
    font-size: 0.78rem;
    color: #64748b;
    font-style: italic;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 6px;
    padding: 0.45rem 0.75rem;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 767.98px) {
    .company-header-card[b-cprisktcej] {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.1rem;
        gap: 1rem;
    }

    .market-highlights[b-cprisktcej] {
        width: 100%;
    }

    .market-item[b-cprisktcej] {
        min-width: 80px;
        padding: 0.65rem 0.85rem;
    }

    .company-header-ticker[b-cprisktcej] {
        font-size: 1.5rem;
    }

    .company-header-name[b-cprisktcej] {
        max-width: 100%;
    }

    .info-label[b-cprisktcej] {
        min-width: 90px;
    }

    .fin-tab-btn[b-cprisktcej] {
        padding: 0.6rem 0.65rem;
        font-size: 0.78rem;
    }

    .fin-year-select[b-cprisktcej] {
        margin: 0.35rem 0.5rem 0.35rem 0;
        min-width: 100px;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* ── Hero section ────────────────────────────────────────── */
.hero-section[b-8hrij0znff] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #1e3a5f 0%, #1a56a0 100%);
    color: #fff;
    padding: 1.5rem 1.75rem;
    border-radius: 14px;
    margin: 0 0 1.25rem;
}

.hero-text h5[b-8hrij0znff] {
    color: #fff;
    font-size: 1.1rem;
}

.hero-text .text-muted[b-8hrij0znff] {
    color: rgba(255,255,255,.7) !important;
}

.hero-search[b-8hrij0znff] {
    flex-shrink: 0;
}

.hero-search .input-group[b-8hrij0znff] {
    min-width: 340px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.2);
}

.hero-search .form-control[b-8hrij0znff],
.hero-search .input-group-text[b-8hrij0znff] {
    border-color: #fff;
    font-size: 0.9rem;
}

/* ── Stat cards ──────────────────────────────────────────── */
.stat-card[b-8hrij0znff] {
    background: #fff;
    border-radius: 12px;
    padding: 1rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    box-shadow: 0 1px 4px rgba(0,0,0,.07);
    border: 1px solid #f0f0f0;
    transition: box-shadow 0.15s;
    height: 100%;
}

.stat-card:hover[b-8hrij0znff] {
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

.stat-icon[b-8hrij0znff] {
    font-size: 1.6rem;
    flex-shrink: 0;
    line-height: 1;
}

.stat-value[b-8hrij0znff] {
    font-size: 1.45rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.1;
}

.stat-label[b-8hrij0znff] {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 2px;
    font-weight: 500;
}

/* ── Data card (table, feature, exchange) ────────────────── */
.data-card[b-8hrij0znff] {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    overflow: hidden;
}

.data-card-header[b-8hrij0znff] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid #f0f4f8;
    background: #fafbfc;
}

/* table inside data-card */
.data-card .table th[b-8hrij0znff] {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    border-bottom: none;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

.data-card .table td[b-8hrij0znff] {
    font-size: 0.85rem;
    vertical-align: middle;
    border-color: #f8f9fa;
}

.data-card .table tbody tr:hover[b-8hrij0znff] {
    background: #f0f7ff;
}

/* ── Feature grid ────────────────────────────────────────── */
.feature-grid[b-8hrij0znff] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.feature-item[b-8hrij0znff] {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #f0f4f8;
    border-right: 1px solid #f0f4f8;
    transition: background 0.15s;
    cursor: pointer;
}

.feature-item:nth-child(even)[b-8hrij0znff] {
    border-right: none;
}

.feature-item:nth-last-child(-n+2)[b-8hrij0znff] {
    border-bottom: none;
}

.feature-item:hover[b-8hrij0znff] {
    background: #f0f7ff;
}

.feature-icon[b-8hrij0znff] {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ── Exchange stat rows ──────────────────────────────────── */
.exchange-row[b-8hrij0znff] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
}

/* ── Responsive tweaks ───────────────────────────────────── */
@media (max-width: 575.98px) {
    .hero-section[b-8hrij0znff] {
        padding: 1rem;
        border-radius: 10px;
    }

    .hero-search .input-group[b-8hrij0znff] {
        min-width: 100%;
    }

    .stat-value[b-8hrij0znff] {
        font-size: 1.25rem;
    }
}
