/* Background application */
.ent-page-bg {
    background-color: #f2f2f2;
    padding-bottom: 60px;
}

/* Expanded Wrapper */
.bq-dividends-content-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;    
    padding: 0; 
    box-sizing: border-box;
}

/* Master Single Card - Borderless */
.ent-main-card {
    background-color: #ffffff;
    border: none; 
    box-shadow: none;
    padding: 25px 20px; 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #111827;
    width: 100%;
    box-sizing: border-box;
}

/* Header & Ribbon */
.ent-page-header {
    margin-bottom: 35px;
}

.ent-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
}

.ent-page-title {
    margin: 0;
    font-size: 26px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
}

.ent-company-name {
    font-weight: 600;
    color: #0f172a;
}

.ent-ticker-badge {
    background: #dfe4ea;
    color: #334155;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.ent-title-suffix {
    color: #64748b;
    font-size: 22px;
    border-left: 1px solid #cbd5e1;
    padding-left: 10px;
}

/* Data Ribbon (KPIs) */
.ent-kpi-ribbon {
    display: flex;
    gap: 35px;
    padding: 18px 0;
    border-top: 2px solid #0f172a;
    border-bottom: 1px solid #e2e8f0;
}

.ent-kpi-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ent-kpi-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    font-weight: 600;
}

.ent-kpi-value {
    font-size: 18px;
    font-weight: 400;
    color: #0f172a;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

/* Table Header Row & Export Button */
.ent-table-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 12px;
}

.ent-table-header-wrapper .ent-section-title {
    margin-bottom: 0;
    padding-bottom: 0;
}

.ent-btn-export {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 6px;
}

.ent-btn-export:hover {
    border-color: #0f172a;
    background: #f8fafc;
}

/* Content Grid Setup */
.ent-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); 
    gap: 40px;
    align-items: start;
}

/* Divider Line */
.ent-side-column {
    border-left: 1px solid #e2e8f0;
    padding-left: 40px;
}

/* Sections & Subtitles */
.ent-section {
    margin-bottom: 40px;
}

/* --- NEW: Separator between the two charts in the right column --- */
.ent-side-column .ent-section:first-child {
    margin-bottom: 50px;
}

.ent-side-column .ent-section + .ent-section {
    border-top: 1px dotted #cbd5e1;
    padding-top: 50px;
}

.bq-section h2, 
.bq-section h2.ent-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 0px;
    border-bottom: none;
    padding-bottom: 10px;
}

.ent-section-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 20px 0;
    line-height: 1.5;
    padding-bottom: 16px;
}

.ent-section-subtitle strong {
    color: #334155;
    font-weight: 600;
}

/* Enterprise Data Table */
.ent-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    table-layout: fixed; 
}

.ent-data-table th {
    color: #475569;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
    padding: 10px 4px;
    border-bottom: 1px solid #cbd5e1;
}

.ent-data-table td {
    padding: 12px 4px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Table Alignments */
.align-left { text-align: left; }
.align-center { text-align: center; }
.align-right { text-align: right; }

.format-number {
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
    font-weight: 500;
}
.type-cell { color: #64748b; }
.aux-date { color: #64748b; }

.ent-data-table tbody tr:hover {
    background-color: #eef2f7;
}

/* Solid Contained Paywall Banner */
.ent-paywall-row td {
    padding: 15px 0 0 0; 
    border: none;
    white-space: normal;
}

.ent-paywall-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 30px 20px;
    background-color: #f8fafc; 
    border: 1px solid #e2e8f0; 
    border-radius: 6px;
    color: #334155;
    text-align: center;
}

.ent-paywall-banner span {
    font-size: 13px;
}

.ent-paywall-banner svg {
    color: #0f172a;
}

.ent-btn-unlock {
    background: #0f172a;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s;
    margin-top: 4px;
    border-radius: 4px;
}

.ent-btn-unlock:hover {
    background: #1e293b;
    color: #ffffff;
}

/* Charts */
.ent-chart-wrapper {
    height: 320px;
    width: 100%;
    position: relative;
    margin-top: 10px;
}

/* Empty State */
.ent-empty-state {
    padding: 80px 0;
    text-align: center;
    color: #64748b;
}

.ent-empty-icon {
    margin-bottom: 16px;
    color: #cbd5e1;
}

.ent-empty-state h3 {
    margin: 0 0 8px 0;
    color: #0f172a;
    font-weight: 500;
}

.ent-empty-state p {
    margin: 0;
    font-size: 14px;
}

/* Responsive Constraints */
@media (max-width: 950px) {
    .ent-content-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .ent-side-column {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #e2e8f0;
        padding-top: 40px;
        margin-top: 40px;
    }

    /* Balanced spacing for the separator on mobile */
    .ent-side-column .ent-section:first-child {
        margin-bottom: 25px;
    }
    
    .ent-side-column .ent-section + .ent-section {
        padding-top: 25px;
    }

    .ent-chart-wrapper {
        height: 280px !important;
    }
    .ent-main-card {
        padding: 15px;
    }

    /* Fixed Top Header & Title Wrapping */
    .ent-header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .ent-page-title {
        flex-wrap: wrap;
        gap: 6px;
    }

    .ent-company-name {
        font-size: 22px;
    }

    .ent-title-suffix {
        width: 100%;
        border-left: none;
        padding-left: 0;
        padding-top: 2px;
        font-size: 18px;
    }

    /* Fixed Mobile Export Button Wrapper */
    .ent-table-header-wrapper {
        align-items: center;
    }

    .ent-btn-export {
        padding: 6px 10px;
        font-size: 12px;
    }

    /* Fixed Mobile 2x2 KPI Grid */
    .ent-kpi-ribbon {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px 0;
    }
    
    .ent-kpi-label { 
        font-size: 10px; 
    }
    
    .ent-kpi-value { 
        font-size: 16px; 
    }
}