/* ==================== Overview Card Styles ==================== */
.overview-card {
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    background: #ffffff;
    overflow: hidden;
}

.overview-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px;
}

.overview-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #171717;
    margin: 0;
}

.overview-card-subtitle {
    font-size: 12px;
    color: #9b9a97;
    margin: 2px 0 0 0;
}

.overview-card-body {
    padding: 0 0 0 0;
}

.overview-grid-3 {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr;
}

@media (min-width: 1280px) {
    .overview-grid-3 {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.overview-grid-span-2 {
    grid-column: span 1;
}

.overview-grid-span-1 {
    grid-column: span 1;
}

@media (min-width: 1280px) {
    .overview-grid-span-2 {
        grid-column: span 2;
    }
}

.overview-table-wrap {
    padding: 12px;
}

.overview-table-inner {
    border-radius: 6px;
    border: 1px solid #e5e5e5;
    overflow: hidden;
}

.overview-table-scroll {
    overflow-x: auto;
    width: 100%;
}

.overview-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.overview-table thead tr {
    border-bottom: 1px solid #e5e5e5;
}

.overview-table th {
    background: #fafafa;
    padding: 12px 16px;
    font-weight: 500;
    color: #737373;
    font-size: 12px;
    white-space: nowrap;
    border-bottom: 1px solid #e5e5e5;
}

.overview-table td {
    padding: 8px 16px;
    border-bottom: 1px solid #f0f0f0;
    color: #37352f;
    font-size: 12px;
}

.overview-table tbody tr:last-child td {
    border-bottom: none;
}

.overview-table tbody tr:hover {
    background: #fafafa;
}

.overview-table .text-left {
    text-align: left;
}

.overview-table .text-right {
    text-align: right;
}

.overview-table .font-mono {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
}

.overview-table .font-semibold {
    font-weight: 600;
}

.overview-table .total-row td {
    background: rgba(239, 246, 255, 0.5);
    font-weight: 600;
}

/* Delisted stock rows */
.overview-table .delisted-row td {
    background: #fffbeb;
}

.overview-table .delisted-label {
    color: #b45309;
    font-size: 11px;
}

.overview-table .delisted-value {
    color: #b45309;
    font-size: 11px;
}

/* Delisted total row (summary of delisted stocks under Total) */
.overview-table .delisted-total-row td {
    background: #fef9c3;
    font-weight: 500;
}

.overview-table .delisted-total-label {
    color: #92400e;
    font-size: 12px;
}

.overview-table .delisted-total-value {
    color: #92400e;
    font-size: 12px;
    font-weight: 500;
}

.overview-empty {
    text-align: center;
    color: #9b9a97;
    padding: 20px 16px !important;
}

.overview-card-footer {
    padding: 0 0 16px 0;
}

.overview-summary-inner {
    border-radius: 6px;
    border: 1px solid #e5e5e5;
    background: rgba(239, 246, 255, 0.3);
    overflow: hidden;
}

.overview-table-summary td {
    padding: 8px 16px;
    font-size: 12px;
}

.overview-table-summary tbody tr:last-child td {
    border-bottom: none;
}
