/* ==================== CSS Variables ==================== */
:root {
    /* Brand Colors */
    --brand-primary: #0075c9;
    --white: #ffffff;
    --brand-ink: #333e48;
    /* Secondary Palette */
    --brand-secondary-blue: #0000ff;
    --brand-secondary-taupe: #8a7e71;
    --brand-secondary-teal: #76c2b6;
    /* Accent Palette */
    --accent-toxic-yellow: #e1ff00;
    --accent-burnt-pink: #dd009b;
    --accent-apple-green: #4fc83c;
    --accent-berry-purple: #902d98;
    --accent-clay-orange: #ea8f3f;
    --accent-5507: #9db7b4;
    --accent-1797: #cb333b;
    --accent-75-black: #646363;
    --accent-5135: #825474;
    --accent-1595: #d86018;
    --accent-9043: #e8e6df;
    --accent-7699: #33647e;
    --accent-5425: #7a97ab;
    --accent-552: #b9d2dc;
    /*Text Colors*/
    --text-primary: #0075c9;
    --text-secondary: #666666;
    --text-light: #888888;
    --text-dark: #333333;
    --text-muted: #666666;
    --text-light: #888888;
    --text-dark: #333333;
    --text-muted: #666666;
    /* Core Tokens */
    --color-text: var(--brand-ink);
    --color-bg: var(--white);
    --color-light-grey: #f2f4f6;
    --color-darker-grey: #bec8d4;
    --color-button: var(--brand-primary);
    --color-button-hover: var(--brand-ink);
    /* Semantic Colors */
    --color-primary: var(--brand-primary);
    --color-primary-dark: var(--brand-ink);
    --color-success: #28a745;
    --color-danger: #dc3545;
    --color-warning: #ffc107;
    --color-info: #17a2b8;
    /* Legacy aliases retained for compatibility */
    --primary-color: var(--brand-primary);
    --primary-dark: var(--brand-ink);
    /* Utility Greys & Neutrals */
    --color-text-muted: #666666;
    --color-text-light: #888888;
    --color-bg-subtle: #f8f9fa;
    --color-bg-muted: #e9ecef;
    --color-border-light: #e0e0e0;
    --color-neutral-warm: #808285;
    /* Sentiment Colors (preserved) */
    --color-positive: #28a745;
    --color-neutral: #ffc107;
    --color-negative: #dc3545;
    /* 5-Point Scale Colors */
    --color-scale-strongly-agree: #1B5E20;
    --color-scale-agree: #43A047;
    --color-scale-neutral: #FDD835;
    --color-scale-disagree: #FB8C00;
    --color-scale-strongly-disagree: #E53935;
    /* Chart Colors - mapped to brand accents */
    --color-chart-1: var(--brand-primary);
    --color-chart-2: var(--accent-berry-purple);
    --color-chart-3: var(--accent-burnt-pink);
    --color-chart-4: var(--accent-1797);
    --color-chart-5: var(--brand-secondary-teal);
    --color-chart-6: var(--accent-apple-green);
    --color-chart-7: var(--accent-toxic-yellow);
    --color-chart-8: var(--accent-clay-orange);
    /* Typography */
    --font-family: Roboto, sans-serif;
    --font-size-base: 14px;
    --font-size-sm: 12px;
    --font-size-lg: 16px;
    --font-size-xl: 20px;
    --font-size-2xl: 24px;
    --font-size-3xl: 32px;
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-circle: 50%;
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    /* Leaderboard (progress tracker) */
    --lb-bg: var(--color-bg);
    --lb-surface: var(--color-bg);
    --lb-border: var(--color-border-light);
    --lb-text: var(--color-text);
    --lb-muted: var(--color-text-muted);
    --lb-excellent: var(--color-success);
    --lb-good: var(--color-warning);
    --lb-fair: var(--accent-clay-orange);
    --lb-attention: var(--color-danger);
    --lb-accent: var(--accent-berry-purple);
    --lb-momentum-up: var(--color-success);
    --lb-momentum-down: var(--color-danger);
    --lb-momentum-flat: var(--color-text-muted);
}

/* ==================== Base Styles ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    color: var(--color-text);
    background-color: var(--color-light-grey);
    line-height: 1.6;
}

/* ==================== Custom Utilities ==================== */
.text-primary {
    color: var(--text-primary) !important;
}
/* Custom font-size utilities extending Bootstrap's .fs-1 through .fs-6 */
.fs-7 {
    font-size: 0.875rem !important;
}

.fs-8 {
    font-size: 0.75rem !important;
}

/* Additional font-size utilities for production cleanup */
.fs-13 {
    font-size: 13px !important;
}

.fs-14 {
    font-size: 14px !important;
}

.mh-auto {
    min-height: auto !important;
}

/* Logo utility */
.logo-height {
    height: 32px;
}

/* Custom gap utilities */
.gap-5 {
    gap: 3rem !important;
}

/* Spacer utilities */
.spacer-18 {
    height: 18px;
}

/* Filter button utility */
.filter-btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

/* Form label utility */
.form-label-fw {
    font-size: 14px;
    font-weight: 600;
}

/* Icon size utilities */
.icon-24 {
    font-size: 24px;
}

/* Max width utilities */
.max-w-300 {
    max-width: 300px;
}

/* Cursor utility */
.cursor-pointer {
    cursor: pointer;
}

/* Comment item utilities */
.comment-item {
    transition: all 0.2s ease;
}

    .comment-item:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-2px);
    }

    .comment-item .badge {
        font-size: 11px;
        padding: 4px 8px;
    }

/* ==================== Layout ==================== */

.page-header {
    background-color: var(--color-bg);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid #e0e0e0;
}

.page-title {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.page-subtitle {
    font-size: var(--font-size-base);
    color: var(--color-text-muted);
}

/* ==================== Navigation ==================== */
.nav-tabs-custom {
    background-color: var(--color-bg);
    padding: 0 var(--spacing-lg);
    border-bottom: 2px solid var(--color-light-grey);
    margin-bottom: var(--spacing-lg);
    position: sticky;
    top: 0;
    z-index: 900;
}

    .nav-tabs-custom a {
        text-decoration: none;
        color: var(--color-text-muted);
        padding: var(--spacing-md);
        display: inline-flex;
        align-items: center;
        gap: 8px;
        position: relative;
        transition: color 0.3s;
        font-weight: 600;
    }

        .nav-tabs-custom a:hover {
            color: var(--color-primary);
        }

        .nav-tabs-custom a.active {
            color: var(--color-primary);
            font-weight: 600;
        }

            .nav-tabs-custom a.active::after {
                content: '';
                position: absolute;
                bottom: -0;
                left: 0;
                right: 0;
                height: 2px;
                background-color: var(--color-primary);
            }

.nav-dropdown {
    position: relative;
    display: inline-block;
}

    .nav-dropdown .nav-dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        /* padding: var(--spacing-xs) 0; */
        background: var(--color-bg);
        border: 1px solid var(--color-light-grey);
        border-radius: 0 0 var(--radius-md) var(--radius-md);
        box-shadow: var(--shadow-md);
        z-index: 1000;
        display: none;
    }

    .nav-dropdown:hover .nav-dropdown-menu {
        display: block;
    }

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: var(--spacing-md);
    text-decoration: none;
    color: var(--color-text-muted);
    font-weight: 600;
    white-space: nowrap;
    margin: 0;
    position: static;
}

    .nav-dropdown-menu a::after {
        display: none;
    }

    .nav-dropdown-menu a:hover {
        background: var(--color-bg-subtle);
        color: var(--color-primary);
    }

    .nav-dropdown-menu a.active {
        color: var(--color-primary);
        background: rgba(0, 117, 201, 0.08);
    }

/* ==================== Cards ==================== */
.card-custom {
    background-color: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.card-header-custom {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--color-light-grey);
}

/* ==================== eNPS Dashboard ==================== */
.enps-container {
    display: flex;
    flex-direction: column;
    /* padding: 1rem 0; */
}

/* .enps-chart-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 1.5rem;
} */

.enps-donut-wrap {
    width: 250px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.enps-legend {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 2rem;
}

.enps-legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text);
}

.enps-legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

    .enps-legend-dot.detractors {
        background-color: var(--color-negative);
    }

    .enps-legend-dot.passives {
        background-color: var(--color-neutral);
    }

    .enps-legend-dot.promoters {
        background-color: var(--color-positive);
    }

.enps-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
}

.enps-center-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.enps-center-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
}

/* eNPS Formula */
.enps-formula {
    background: var(--accent-9043);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e2e8f0;
}

.enps-formula-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
    text-align: center;
}

.enps-formula-calculation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.enps-formula-equals {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
}

.enps-formula-component {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

    .enps-formula-component.promoters {
        background-color: var(--color-positive);
    }

    .enps-formula-component.detractors {
        background-color: var(--color-negative);
    }

.enps-formula-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.enps-formula-text {
    font-size: 0.75rem;
    color: white;
    margin-top: 0.25rem;
    white-space: nowrap;
}

.enps-formula-operator {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
}

/* ==================== Flight Risk Dashboard ==================== */
.flight-risk-dashboard {
}

/* Flight Risk KPI Cards */
.flight-risk-kpi-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.flight-risk-kpi-card {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: all 0.2s ease;
}

    .flight-risk-kpi-card:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        transform: translateY(-2px);
    }

.flight-risk-kpi-card--positive {
    background: linear-gradient(135deg, rgba(79, 200, 60, 0.08) 0%, rgba(79, 200, 60, 0.02) 100%);
    border-color: rgba(79, 200, 60, 0.3);
}

.flight-risk-kpi-card--negative {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.08) 0%, rgba(220, 53, 69, 0.02) 100%);
    border-color: rgba(220, 53, 69, 0.3);
}

.flight-risk-kpi-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.flight-risk-kpi-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-negative);
    line-height: 1;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.flight-risk-kpi-card--positive .flight-risk-kpi-value {
    color: #2d7a23;
}

.flight-risk-kpi-card--negative .flight-risk-kpi-value {
    color: var(--color-negative);
}

.flight-risk-kpi-value i {
    font-size: 1.75rem;
}

.flight-risk-kpi-sublabel {
    font-size: 0.8rem;
    color: var(--color-text-light);
    font-weight: 500;
}

.flight-risk-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 6px;
    border-left: 4px solid var(--color-negative);
}

.flight-risk-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-negative);
    line-height: 1;
}

.flight-risk-stat-label {
    font-size: 0.9rem;
    color: var(--color-text);
    flex: 1;
}

.flight-risk-info {
    font-size: 1.25rem;
    color: var(--brand-secondary-teal);
    cursor: help;
    flex-shrink: 0;
}

    .flight-risk-info:hover {
        color: var(--brand-primary);
    }

.flight-risk-item {
    margin-bottom: 1.5rem;
}

.flight-risk-question {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.stacked-bar-dashboard {
    display: flex;
    height: 20px;
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bar-segment-dashboard {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    transition: opacity 0.2s;
}

    .bar-segment-dashboard:hover {
        opacity: 0.85;
        cursor: pointer;
    }

    .bar-segment-dashboard span {
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }

.flight-risk-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 6px;
}

.legend-item-dashboard {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #475569;
}

.legend-color-dashboard {
    width: 18px;
    height: 18px;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Prevent sentiment distribution column from shrinking too much */
@media (min-width: 992px) {
    .sentiment-section-row {
        flex-wrap: nowrap;
    }

        .sentiment-section-row > .col-lg-4 {
            flex: 0 1 auto;
            min-width: 510px;
        }

        .sentiment-section-row > .col-lg-8 {
            flex: 1 1 auto;
            min-width: 0;
        }
}

/* Hide neutral themes column on medium screens where space is tight */
@media (min-width: 992px) and (max-width: 1299px) {
    /* Hide the neutral themes column */
    .card-custom .row > div:has(#neutralThemes) {
        display: none;
    }

    /* Adjust remaining columns to 50% width when neutral is hidden */
    .card-custom .row > .col-md-4:has(#positiveThemes),
    .card-custom .row > .col-md-4:has(#negativeThemes) {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.card-header-custom {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

    .card-header-custom i {
        font-size: var(--font-size-2xl);
    }

.metric-card {
    background-color: var(--color-bg);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

    .metric-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

.metric-value {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 40px;
}

.metric-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.score-banner {
    background-image: url('../assets/score-banner.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

#dimensionDetailTitle {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
}

    #dimensionDetailTitle span {
        font-size: 1.5rem;
        font-weight: 400;
        color: var(--white);
        margin-left: var(--spacing-sm);
        background: var(--color-primary);
        padding: 0.25rem 0.5rem;
        border-radius: var(--radius-sm);
    }

/* ==================== Results Summary ==================== */
.results-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.score-card {
    color: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 130px;
    /* background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-ink) 100%); */
    background: var(--brand-primary);
}

    .score-card:hover {
        transform: translateY(-4px);
    }

    .score-card h3 {
        font-size: 1.25rem;
        font-weight: 600;
        flex-shrink: 0;
        min-height: 3rem;
    }

.score-value {
    font-size: 3rem;
    font-weight: 300;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    line-height: 3rem;
}

.score-label {
    opacity: 0.8;
    font-weight: 400;
    flex-shrink: 0;
}

.score-card:nth-child(1), .score-card:nth-child(2) {
    background: var(--white);
}

    .score-card:nth-child(2) h3 {
        color: var(--brand-ink);
    }

    .score-card:nth-child(2) .score-value {
        color: var(--brand-primary);
    }

    .score-card:nth-child(2) .score-label {
        color: var(--color-text-muted);
    }

.more-details {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    opacity: 0;
    transition: all 0.3s;
}

.score-card:hover .more-details {
    opacity: 1;
}

/* .score-card.lever {
    background: #FFF;
    color: var(--color-text);
    border: 1px solid #FFF !important;
}

.score-card.lever .score-value {
    color: var(--brand-primary) !important;
}

.score-card.lever .score-label {
    color: var(--color-text-light) !important;
}

.score-card.lever .dimension-click-hint {
    color: var(--color-text) !important;
}

.score-card.lever:hover {
    background: #FFF;
    border: 1px solid var(--brand-primary) !important;
    color: var(--color-text);
}

.score-card.lever:hover h3, .score-card.lever:hover .dimension-click-hint, .score-card.lever:hover .score-value {
    color: var(--brand-primary) !important;
} */

/* ==================== Buttons ==================== */
.btn-custom {
    padding: 7px 12px;
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-align: center;
}

    .btn-custom i {
        font-size: 140%;
    }

.btn-primary {
    background-color: var(--color-button);
    color: var(--color-bg);
    border: 1px solid var(--brand-primary);
}

.btn-outline-primary {
    background-color: #FFF;
    color: var(--color-text-muted);
    border: 1px solid #F5F4F4;
}

    .btn-outline-primary:hover {
        background-color: #FFF;
        color: var(--color-text);
        border: 1px solid var(--color-text-muted);
    }

.btn-primary:hover {
    background-color: var(--color-button-hover);
    border: 1px solid var(--color-button-hover);
}

.btn-primary-outline {
    background-color: var(--white);
    color: var(--brand-primary);
    border: 1px solid var(--brand-primary);
}

.btn-success {
    background-color: var(--color-success);
    color: var(--color-bg);
}

    .btn-success:hover {
        background-color: #208637;
    }

.btn-danger {
    background-color: var(--color-danger);
    color: var(--color-bg);
}

    .btn-danger:hover {
        background-color: #b02a37;
    }

.btn-secondary {
    background-color: var(--color-darker-grey);
    color: var(--color-text);
}

    .btn-secondary:hover {
        background-color: #98a0aa;
    }

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--color-button);
    color: var(--color-button);
}

    .btn-outline:hover {
        background-color: var(--color-button);
        color: var(--color-bg);
    }

.filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border: 1px solid #999;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

    .filter-toggle:hover:not(:disabled) {
        background: var(--color-bg-subtle);
        border-color: var(--primary-color);
    }

/* ==================== Forms ==================== */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--color-darker-grey);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-base);
    font-family: var(--font-family);
    transition: border-color 0.3s;
}

    .form-control:focus {
        outline: none;
        border-color: var(--color-primary);
    }

    .form-control.is-invalid {
        border-color: var(--color-danger);
    }

.invalid-feedback {
    color: var(--color-danger);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-xs);
}

/* ==================== Filters ==================== */
.filter-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.filter-item {
    display: flex;
    flex-direction: column;
}

    .filter-item select {
        margin-bottom: 8px;
    }

/* ==================== Tables ==================== */
.table-custom {
    width: 100%;
    background-color: var(--color-bg);
    border-collapse: collapse;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

    .table-custom thead {
        background-color: var(--color-light-grey);
    }

    /* .table-custom thead th:first-of-type {
        border-left: 4px solid #f2f4f6;
    } */

    .table-custom th {
        padding: 12px 16px;
        text-align: left;
        font-weight: 600;
        font-size: var(--font-size-sm);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--color-text-muted);
        cursor: pointer;
        user-select: none;
        background: #FFF;
        border-bottom: 1px solid var(--color-light-grey);
    }

        .table-custom th:hover {
            background-color: var(--color-bg-muted);
        }

/*Datatables*/
.sortable:hover {
    background-color: rgba(0, 117, 201, 0.05);
    color: var(--brand-primary);
}

.sort-indicator {
    opacity: 0.5;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
    position: absolute;
}

th.sortable:hover .sort-indicator:empty::after {
    content: '⇅';
    font-size: 0.9rem;
    margin-left: 4px;
    color: var(--brand-primary);
}
/*End Datatables*/

.table-custom td {
    padding: 12px 16px;
    border-top: 1px solid var(--color-light-grey);
}

.table-custom tbody tr {
    transition: background-color 0.2s;
}

    .table-custom tbody tr:hover {
        background-color: var(--color-bg-subtle);
    }

    /* .table-custom tbody td:first-of-type {
        border-left: 4px solid transparent;
    } */

    .table-custom tbody tr td:first-of-type div {
        border-left: 4px solid transparent;
        padding: 16px 16px 16px 12px;
    }

    .table-custom tbody tr.selected td:first-of-type div {
        border-left: 4px solid var(--color-primary);
        background-color: #e6f1fa;
    }

/* ==================== Badges ==================== */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background-color: #d4edda;
    color: #1c7530;
}

    .badge-success::before {
        content: '●';
        margin-right: 4px;
        color: var(--color-positive);
    }

.badge-danger {
    background-color: #f8d7da;
    color: #9a2530;
}

    .badge-danger::before {
        content: '●';
        margin-right: 4px;
        color: var(--color-negative);
    }

.badge-warning {
    background-color: #fff3cd;
    color: #b28705;
}

.badge-info {
    background-color: #e4f3f0;
    color: #53887f;
}

.badge-primary {
    background-color: #cce3f4;
    color: #00528d;
}

/* ==================== Progress Bars ==================== */
.progress-bar-container {
    width: 100%;
    height: 8px;
    background-color: var(--color-light-grey);
    border-radius: 4px;
    overflow: hidden;
    margin-top: var(--spacing-xs);
}

.progress-bar {
    height: 100%;
    background-color: var(--color-warning);
    transition: width 0.5s ease;
}

    .progress-bar.bg-success {
        background-color: var(--color-success);
    }

    .progress-bar.bg-danger {
        background-color: var(--color-danger);
    }

    .progress-bar.bg-info {
        background-color: var(--color-info);
    }

/* ==================== Circular Progress ==================== */
.circular-progress {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

    .circular-progress svg {
        transform: rotate(-90deg);
        width: 150px;
        height: 150px;
    }

.circular-progress-bg {
    fill: none;
    stroke: var(--color-light-grey);
    stroke-width: 10;
}

.circular-progress-bar {
    fill: none;
    stroke: var(--color-success);
    stroke-width: 10;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.5s ease;
}

.circular-progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-text);
}

.circular-n-count-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 29px;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text);
}

/* ==================== Charts ==================== */
.chart-container {
    position: relative;
    width: 100%;
    padding: var(--spacing-lg);
}

.donut-wrap {
    min-width: 250px;
    flex-shrink: 0;
}

.donut-chart {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto;
}

    .donut-chart svg {
        transform: rotate(-90deg);
        width: 250px;
        height: 250px;
    }

.donut-segment {
    fill: none;
    stroke-width: 50;
    transition: stroke-width 0.3s;
}

    .donut-segment:hover {
        stroke-width: 55;
    }

.donut-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.donut-center-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.donut-center-value {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-text);
}

.enps-donut-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
}

.enps-donut-center-label {
    font-size: 11px;
    color: var(--color-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.enps-donut-center-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text);
}

.bar-chart {
    width: 100%;
    padding: var(--spacing-md) 0;
}

.bar-item {
    margin-bottom: var(--spacing-md);
}

.bar-label {
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-xs);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bar-track {
    width: 100%;
    height: 24px;
    background-color: var(--color-light-grey);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: var(--spacing-sm);
    color: var(--color-bg);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

/* ==================== Likert Scale ==================== */
.likert-scale {
    display: flex;
    gap: var(--spacing-sm);
    margin: var(--spacing-md) 0;
    justify-content: center;
}

.likert-option {
    flex: 1;
    max-width: 120px;
}

.likert-button {
    width: 100%;
    height: 100%;
    padding: var(--spacing-md);
    border: 2px solid #ddd;
    border-radius: var(--radius-md);
    background-color: var(--color-bg);
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
}

    .likert-button:hover {
        border-color: var(--color-primary);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

    .likert-button.selected {
        border-color: var(--color-primary);
        background-color: var(--color-primary);
        color: var(--color-bg);
    }

.likert-number {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.likert-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
}

/* Color variants for Likert scale - Sentiment-based */
.likert-button[data-value="1"] {
    border-color: var(--color-negative);
}

    .likert-button[data-value="1"].selected {
        background-color: var(--color-negative);
        border-color: var(--color-negative);
    }

.likert-button[data-value="2"] {
    border-color: var(--accent-clay-orange);
}

    .likert-button[data-value="2"].selected {
        background-color: var(--accent-clay-orange);
        border-color: var(--accent-clay-orange);
    }

.likert-button[data-value="3"] {
    border-color: var(--color-darker-grey);
}

    .likert-button[data-value="3"].selected {
        background-color: var(--color-darker-grey);
        border-color: var(--color-darker-grey);
    }

.likert-button[data-value="4"] {
    border-color: var(--accent-apple-green);
}

    .likert-button[data-value="4"].selected {
        background-color: var(--accent-apple-green);
        border-color: var(--accent-apple-green);
    }

.likert-button[data-value="5"] {
    border-color: var(--color-positive);
}

    .likert-button[data-value="5"].selected {
        background-color: var(--color-positive);
        border-color: var(--color-positive);
    }

/* ==================== Offcanvas ==================== */
.offcanvas-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .offcanvas-backdrop.show {
        display: block;
        opacity: 1;
    }

.offcanvas-content {
    position: fixed;
    top: 0;
    left: -80vw;
    width: 75vw;
    height: 100%;
    background-color: var(--color-bg);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: left 0.3s ease;
    z-index: 9999;
}

.offcanvas-backdrop.show .offcanvas-content {
    left: 0;
}

.offcanvas-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--color-light-grey);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

    .offcanvas-header h4 {
        margin: 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }

.offcanvas-body {
    flex: 1;
    overflow-y: auto;
    /* padding: var(--spacing-lg); */
}

.offcanvas-footer {
    padding: var(--spacing-lg);
    background: var(--color-light-grey);
    display: flex;
    gap: 12px;
    justify-content: space-between;
    flex-shrink: 0;
}

/* .offcanvas-footer .btn-custom {
    flex: 1;
} */

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--color-text);
    transition: color 0.3s;
}

    .btn-icon:hover {
        color: var(--color-button);
    }

/* ==================== Tabs ==================== */
.tabs-container {
    border-bottom: 2px solid var(--color-light-grey);
    margin-bottom: var(--spacing-lg);
}

.tabs-list {
    display: flex;
    gap: var(--spacing-lg);
    list-style: none;
}

.tab-item {
    padding: var(--spacing-md) 0;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    font-weight: 600;
    color: var(--color-text-muted);
}

    .tab-item:hover {
        color: var(--color-primary);
    }

    .tab-item.active {
        color: var(--color-primary);
        border-bottom-color: var(--color-primary);
    }

.tab-content {
    display: none;
}

    .tab-content.active {
        display: block;
    }

/* ==================== Responsive ==================== */
@media (max-width: 992px) {
    .metric-card {
        margin-bottom: var(--spacing-md);
    }

    .likert-scale {
        flex-wrap: wrap;
    }

    .likert-option {
        max-width: 100%;
        min-width: 80px;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: var(--font-size-xl);
    }

    .nav-tabs-custom {
        overflow-x: auto;
        white-space: nowrap;
    }

    .table-custom {
        font-size: var(--font-size-sm);
    }
}

/* ==================== Print Styles ==================== */
@media print {
    body {
        background-color: var(--color-bg);
    }

    .btn-custom,
    .nav-tabs-custom,
    .modal-backdrop /* Bootstrap modal overlay */ {
        display: none !important;
    }

    .card-custom {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
}

/* ==================== Animations ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.count-up {
    animation: countUp 0.6s ease;
}

/* ==================== Tabbed Interface ==================== */
.content-tabs-container {
    margin-top: 8px;
    margin-bottom: 24px;
}

.content-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid #e5e5e5;
}

.content-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--color-neutral-warm);
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

    .content-tab:hover {
        color: var(--color-text);
        background-color: rgba(126, 147, 171, 0.05);
    }

    .content-tab.active {
        color: var(--color-text);
        font-weight: 700;
        border-bottom-color: var(--color-primary);
        background-color: var(--color-bg);
    }

.content-tab-content {
    position: relative;
}

.content-tab-pane {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

    .content-tab-pane.active {
        display: block;
    }

/* ==================== Progress Tracker Styles ==================== */
.progress-tracker-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
}

.progress-summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding-bottom: 30px;
    margin-bottom: 30px;
    position: relative;
}

    .progress-summary-cards::after {
        content: '';
        position: absolute;
        bottom: 0px;
        left: 20px;
        right: 20px;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
        border-radius: 1px;
    }

.summary-card {
    background: var(--color-bg);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .summary-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-primary), var(--brand-ink));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    flex-shrink: 0;
}

/* Card Icon Variants */
.card-icon-blue {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-ink));
}

.card-icon-green {
    background: linear-gradient(135deg, var(--color-positive), #1c7530);
}

.card-icon-orange {
    background: linear-gradient(135deg, var(--accent-clay-orange), var(--accent-1595));
}

.card-icon-grey {
    background: linear-gradient(135deg, var(--color-darker-grey), #858c94);
}

.card-icon-purple {
    background: linear-gradient(135deg, var(--accent-berry-purple), var(--accent-5135));
}

.completion-card .card-icon {
    background: linear-gradient(135deg, var(--accent-berry-purple), var(--accent-5135));
}

.card-content {
    flex: 1;
}

.card-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-text);
    line-height: 1;
    margin-bottom: 4px;
}

    .card-value.card-completion-rate {
        color: var(--color-primary);
    }

.card-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.progress-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 8px 8px 0 0;
    font-size: 0.85rem;
    width: 100%;
    margin: 0;
}

.breadcrumb-path {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.85rem;
}

    .breadcrumb-item i {
        font-size: 16px;
    }

    .breadcrumb-item:hover:not(.active) {
        color: var(--color-primary);
        background: rgba(126, 147, 171, 0.1);
    }

    .breadcrumb-item.active {
        color: var(--color-text-muted);
        cursor: default;
    }

.breadcrumb-separator {
    color: var(--color-text-muted);
    margin: 0 6px;
    font-size: 1rem;
    user-select: none;
}

.progress-table-container {
    background: var(--color-bg);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.table-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    border-bottom: 1px solid var(--color-light-grey);
    background: var(--color-bg-subtle);
}

.table-header-left {
    display: flex;
    gap: 2rem;
    padding: 12px 24px;
    max-width: 50%;
    align-items: center;
}

.table-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
}

.back-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-primary);
    color: var(--color-bg);
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s ease;
    font-family: var(--font-family);
    font-size: 0.9rem;
}

    .back-button:hover {
        background: var(--color-button-hover);
    }

.table-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 24px;
}

.table-legend {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

    .legend-color.excellent {
        background: var(--color-positive);
    }

    .legend-color.good {
        background: var(--color-neutral);
    }

    .legend-color.fair {
        background: var(--accent-clay-orange);
    }

    .legend-color.attention {
        background: var(--color-negative);
    }

.progress-table-wrapper {
    overflow-x: auto;
}

.progress-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

    .progress-table th,
    .progress-table td {
        padding: 16px;
        text-align: left;
        border-bottom: 1px solid var(--color-light-grey);
    }

    .progress-table th {
        background: var(--color-bg-subtle);
        font-weight: 600;
        color: var(--color-text);
        position: sticky;
        top: 0;
        z-index: 10;
    }

        .progress-table th.sortable {
            cursor: pointer;
            user-select: none;
            transition: background 0.2s ease;
        }

            .progress-table th.sortable:hover {
                background: var(--color-bg-muted);
            }

.sort-icon {
    font-size: 16px;
    margin-left: 4px;
    opacity: 0.5;
    transition: opacity 0.2s ease;
    vertical-align: middle;
}

.progress-table th.sortable:hover .sort-icon {
    opacity: 1;
}

.progress-table tbody tr {
    transition: background 0.2s ease;
}

    .progress-table tbody tr:hover {
        background: var(--color-bg-subtle);
    }

.progress-table .completion-rate {
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 16px;
    color: white;
    text-align: center;
    display: inline-block;
    min-width: 50px;
}

.completion-rate.excellent {
    background: var(--color-positive);
}

.completion-rate.good {
    background: var(--color-neutral);
}

.completion-rate.fair {
    background: var(--accent-clay-orange);
}

.completion-rate.attention {
    background: var(--color-negative);
}

.unit-name {
    font-weight: 500;
    color: var(--color-text);
}

    .unit-name.clickable {
        color: var(--color-primary);
        font-weight: 500;
        cursor: pointer;
    }

.clickable-row {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .clickable-row:hover {
        background-color: rgba(126, 147, 171, 0.05);
    }

        .clickable-row:hover .unit-name.clickable {
            color: var(--color-button-hover);
        }

.progress-bar-cell {
    width: 60%;
}

.progress-table th:last-of-type,
.progress-table td:last-of-type {
    text-align: center;
    width: 12%;
}

/* Responsive adjustments for Progress Tracker */
@media (max-width: 768px) {
    .progress-summary-cards {
        grid-template-columns: 1fr;
    }

    .table-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .table-header-left {
        align-items: stretch;
        width: 100%;
        max-width: 100%;
    }

    .breadcrumb-path {
        flex-wrap: wrap;
        gap: 4px;
    }

    .table-controls {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .table-legend {
        flex-wrap: wrap;
        gap: 12px;
    }

    .progress-table th,
    .progress-table td {
        padding: 12px 8px;
    }
}

/* ==================== Leaderboard (progress bar table + leaderboard old) ==================== */
.lb-progress-bar-container {
    width: 100%;
    height: 20px;
    background: var(--color-bg-muted);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.lb-progress-bar {
    height: 100%;
    border-radius: var(--radius-sm);
    transition: width 0.3s ease;
}

    .lb-progress-bar.excellent {
        background: var(--lb-excellent);
    }

    .lb-progress-bar.good {
        background: var(--lb-good);
    }

    .lb-progress-bar.fair {
        background: var(--lb-fair);
    }

    .lb-progress-bar.attention {
        background: var(--lb-attention);
    }

#leaderboardTable {
    table-layout: fixed;
}

    #leaderboardTable th:first-child,
    #leaderboardTable td:first-child {
        width: 22%;
    }

    #leaderboardTable th.progress-bar-cell,
    #leaderboardTable td.progress-bar-cell {
        width: 58%;
    }

    #leaderboardTable .lb-progress-bar-container {
        width: 100%;
        min-width: 0;
    }

/* Leaderboard old (champion zone + org leaderboard) */
/*.champion-zone {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.champion-zone-header {
    text-align: center;
    margin-bottom: 2rem;
}

    .champion-zone-header h3 {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--lb-text);
    }

        .champion-zone-header h3 i {
            font-size: 2rem;
            color: var(--lb-accent);
        }

.champion-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.champion-card {
    background: var(--lb-surface);
    border: 2px solid var(--lb-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .champion-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--lb-border);
        transition: background 0.3s ease;
    }

    .champion-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
    }

    .champion-card.rank-1 {
        border-color: var(--lb-accent);
        border-width: 3px;
    }

        .champion-card.rank-1::before {
            background: linear-gradient(90deg, var(--lb-accent), var(--lb-excellent));
            height: 5px;
        }

.champion-rank {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

    .champion-rank i {
        font-size: 2rem;
        color: var(--lb-accent);
    }

    .champion-rank .rank-number {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--lb-text);
    }

.champion-info {
    margin-bottom: 1rem;
}

.champion-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--lb-text);
    margin-bottom: 0.25rem;
}

.champion-division {
    font-size: 0.85rem;
    color: var(--lb-muted);
    margin-bottom: 0;
}

.champion-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-top: 1px solid var(--lb-border);
    border-bottom: 1px solid var(--lb-border);
    margin-bottom: 1rem;
}

.champion-rate {
    font-size: 2rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    padding: 0.25rem 0.75rem;
}

    .champion-rate.excellent {
        color: var(--lb-excellent);
        background: rgba(40, 167, 69, 0.1);
    }

    .champion-rate.good {
        color: var(--lb-good);
        background: rgba(255, 193, 7, 0.1);
    }

    .champion-rate.fair {
        color: var(--lb-fair);
        background: rgba(234, 143, 63, 0.1);
    }

    .champion-rate.attention {
        color: var(--lb-attention);
        background: rgba(220, 53, 69, 0.1);
    }

.champion-details {
    display: flex;
    justify-content: space-around;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--lb-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--lb-text);
}

.momentum-indicator {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
}

    .momentum-indicator i {
        font-size: 1rem;
    }

.momentum-up {
    color: var(--lb-momentum-up);
    background: rgba(40, 167, 69, 0.1);
}

.momentum-down {
    color: var(--lb-momentum-down);
    background: rgba(220, 53, 69, 0.1);
}

.momentum-flat {
    color: var(--lb-momentum-flat);
    background: rgba(128, 130, 133, 0.1);
}

.org-leaderboard {
    margin-top: 2rem;
}

.org-leaderboard-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--lb-border);
}

    .org-leaderboard-header h3 {
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--lb-text);
    }

.divisions-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.division-section {
    background: var(--lb-surface);
    border: 1px solid var(--lb-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.division-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: var(--color-bg-subtle);
    cursor: pointer;
    transition: background 0.2s ease;
    user-select: none;
}

    .division-header:hover {
        background: var(--color-bg-muted);
    }

.division-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

    .division-title .chevron {
        font-size: 1.5rem;
        color: var(--lb-muted);
        transition: transform 0.3s ease;
    }

        .division-title .chevron.rotated {
            transform: rotate(180deg);
        }

    .division-title h4 {
        font-size: 1rem;
        font-weight: 600;
        color: var(--lb-text);
        margin-bottom: 0;
    }

.unit-count {
    font-size: 0.85rem;
    color: var(--lb-muted);
    background: var(--lb-surface);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
}

.division-stats {
    display: flex;
    gap: 0.75rem;
}

.stat-badge {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--lb-text);
    background: var(--lb-surface);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--lb-border);
}

.division-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.business-unit-row {
    display: grid;
    grid-template-columns: auto 1fr auto auto auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
    background: var(--lb-surface);
    border: 1px solid var(--lb-border);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

    .business-unit-row:hover {
        transform: translateX(4px);
        box-shadow: var(--shadow-sm);
        background: var(--color-bg-subtle);
    }

.unit-rank-badge {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rank-badge {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    background: var(--lb-muted);
}

    .rank-badge.excellent {
        background: var(--lb-excellent);
    }

    .rank-badge.good {
        background: var(--lb-good);
        color: var(--lb-text);
    }

    .rank-badge.fair {
        background: var(--lb-fair);
    }

    .rank-badge.attention {
        background: var(--lb-attention);
    }

.unit-info {
    min-width: 0;
}

.business-unit-row .unit-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--lb-text);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.unit-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: var(--lb-muted);
}

    .meta-item i {
        font-size: 1rem;
    }

.unit-breakdown {
    display: flex;
    gap: 1rem;
}

.breakdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.125rem;
}

.breakdown-label {
    font-size: 0.7rem;
    color: var(--lb-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.breakdown-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--lb-text);
}

.breakdown-completed {
    color: var(--lb-excellent);
}

.breakdown-progress {
    color: var(--lb-good);
}

.breakdown-not-started {
    color: var(--lb-muted);
}

.unit-progress {
    width: 200px;
}

.unit-completion {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.completion-badge {
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
}

    .completion-badge.excellent {
        color: var(--lb-excellent);
        background: rgba(40, 167, 69, 0.1);
    }

    .completion-badge.good {
        color: var(--lb-good);
        background: rgba(255, 193, 7, 0.1);
    }

    .completion-badge.fair {
        color: var(--lb-fair);
        background: rgba(234, 143, 63, 0.1);
    }

    .completion-badge.attention {
        color: var(--lb-attention);
        background: rgba(220, 53, 69, 0.1);
    }

@media (max-width: 992px) {
    .champion-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .business-unit-row {
        grid-template-columns: auto 1fr auto auto;
        gap: 1rem;
    }

    .unit-breakdown {
        display: none;
    }

    .unit-progress {
        width: 150px;
    }
}

@media (max-width: 768px) {
    .champion-cards {
        grid-template-columns: 1fr;
    }

    .champion-zone-header h3 {
        font-size: 1.25rem;
    }

    .champion-rank i {
        font-size: 1.5rem;
    }

    .champion-rate {
        font-size: 1.5rem;
    }

    .business-unit-row {
        grid-template-columns: auto 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .unit-breakdown, .unit-progress {
        display: none;
    }

    .unit-completion {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        margin-top: 0.5rem;
        padding-top: 0.75rem;
        border-top: 1px solid var(--lb-border);
    }

    .division-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .division-stats {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .champion-card {
        padding: 1rem;
    }

    .champion-details {
        flex-direction: column;
        gap: 0.75rem;
    }

    .stat-item {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    .division-body {
        padding: 0.5rem;
    }

    .business-unit-row {
        padding: 0.75rem;
    }

    .rank-badge {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .business-unit-row .unit-name {
        font-size: 0.9rem;
    }
}*/

/* ==================== Lever Details Overview ==================== */
.lever-details-overview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.lever-detail-card {
    background-color: var(--color-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 450px;
}

    .lever-detail-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
    }

.lever-detail-header {
    color: #FFF;
    padding: var(--spacing-lg);
    font-size: var(--font-size-lg);
    font-weight: 600;
    text-align: center;
    position: relative;
    flex-shrink: 0;
    background: var(--brand-primary);
    border-bottom: 1px solid var(--color-light-grey);
    cursor: pointer;
}

    .lever-detail-header:hover {
        color: #fff !important;
        border-bottom: 1px solid var(--brand-primary);
    }

/* .lever-detail-header i {
    color: var(--brand-primary);
} */

.lever-detail-body {
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

    .lever-detail-body::-webkit-scrollbar {
        width: 6px;
    }

    .lever-detail-body::-webkit-scrollbar-track {
        background: var(--color-light-grey);
        border-radius: 3px;
    }

    .lever-detail-body::-webkit-scrollbar-thumb {
        background: var(--color-darker-grey);
        border-radius: 3px;
    }

        .lever-detail-body::-webkit-scrollbar-thumb:hover {
            background: var(--color-darker-grey);
        }

.dimension-list {
    list-style: none;
    padding: 0 0 1rem;
    margin: 0;
}

.dimension-list-item {
    border-bottom: 1px solid var(--color-light-grey);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
    transition: background-color 0.2s;
}

    .dimension-list-item:last-child {
        border-bottom: none;
    }

    .dimension-list-item:hover {
        background-color: rgba(0, 0, 0, 0.02);
    }

.dimension-list-item-clickable {
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    padding: var(--spacing-md);
}

    .dimension-list-item-clickable:hover {
        background-color: rgba(0, 117, 201, 0.08);
    }

.dimension-name-text {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.4;
}

.dimension-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dimension-statements-badge {
    font-size: var(--font-size-base);
    color: var(--color-text-light);
    font-weight: 400;
}

.dimension-score-badge {
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--color-primary);
    text-align: right;
    flex-shrink: 0;
    line-height: 1;
}

.dimension-guiding-principle {
    display: none;
}

/* Statement Overview Items */
.statement-overview-item {
    padding-bottom: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-light-grey);
}

    .statement-overview-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

/* Responsive adjustments for Lever Details Overview */
@media (max-width: 1200px) {
    .lever-details-overview {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .lever-details-overview {
        grid-template-columns: 1fr;
    }

    .lever-detail-card {
        height: auto;
        max-height: 520px;
    }

    .dimension-score-badge {
        font-size: 1.5rem;
    }
}

/* ==================== Lever Detail Page ==================== */

/* Back Button */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(255,255,255,0.7);
    border: 1px solid var(--color-darker-grey);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-size: var(--font-size-base);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

    .btn-back:hover {
        background-color: rgba(255,255,255,1);
        border-color: var(--color-primary);
        color: var(--color-primary);
    }

    .btn-back i {
        font-size: 20px;
    }

/* Overall Score Display */
.score-value-large {
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--color-primary);
    line-height: 1;
}

/* Dimensions Grid */
.dimensions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

/* Dimension Card */
.dimension-card {
    background-color: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    min-height: 180px;
}

    .dimension-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
        border-color: var(--color-primary);
    }

.dimension-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    flex-shrink: 0;
}

.dimension-name {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.dimension-score {
    font-size: 2rem;
    font-weight: 300;
    color: var(--color-primary);
    margin-left: var(--spacing-md);
    white-space: nowrap;
}

.dimension-card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dimension-statements-count {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin: 0 0 var(--spacing-md) 0;
}

.dimension-card-footer {
    margin-top: auto;
}

.dimension-click-hint {
    font-size: var(--font-size-sm);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

    .dimension-click-hint i {
        font-size: 18px;
        transition: transform 0.3s;
    }

.dimension-card:hover .dimension-click-hint i {
    transform: translateX(4px);
}

/* Statement Item */
.statement-item {
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid #e0e0e0;
}

    .statement-item:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

.statement-header {
    margin-bottom: var(--spacing-md);
}

.statement-text {
    font-size: var(--font-size-xl);
    font-weight: 400;
    color: var(--color-text);
    margin: 0;
    line-height: 1.5;
}

.statement-scoring {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

/* Statement Legend */
.statement-legend {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

/* Statement Bar */
.statement-bar-container {
    margin-top: var(--spacing-sm);
}

.statement-bar-track {
    display: flex;
    height: 40px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.statement-bar-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    transition: width 0.5s ease;
}

    .statement-bar-segment.strongly-agree {
        background-color: var(--color-scale-strongly-agree);
    }

    .statement-bar-segment.agree {
        background-color: var(--color-scale-agree);
    }

    .statement-bar-segment.neutral {
        background-color: var(--color-scale-neutral);
    }

    .statement-bar-segment.disagree {
        background-color: var(--color-scale-disagree);
    }

    .statement-bar-segment.strongly-disagree {
        background-color: var(--color-scale-strongly-disagree);
    }

    .statement-bar-segment.unsure {
        background-color: var(--color-scale-neutral);
    }

    .statement-bar-segment .bar-label {
        color: white;
        font-size: var(--font-size-base);
        font-weight: 600;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        white-space: nowrap;
        margin-bottom: 0;
    }

    .statement-bar-segment.unsure .bar-label {
        color: var(--color-text);
    }

    .statement-bar-segment.neutral .bar-label {
        color: var(--color-text);
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .dimensions-grid {
        grid-template-columns: 1fr;
    }

    .dimension-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .dimension-score {
        margin-left: 0;
        margin-top: var(--spacing-sm);
    }

    .statement-legend {
        flex-wrap: wrap;
        gap: var(--spacing-md);
    }

    .score-value-large {
        font-size: 2.5rem;
    }

    /* Flight Risk KPI Cards - Mobile */
    .flight-risk-kpi-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .flight-risk-kpi-value {
        font-size: 1.75rem;
    }
}

/* ==================== Action Tracker ==================== */
.action-tracker-container {
    padding: 24px 0;
}

.action-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.action-column {
    background-color: var(--color-bg-subtle);
    border-radius: 12px;
    padding: 20px;
    min-height: 600px;
    box-shadow: var(--shadow-sm);
}

.column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-border-light);
}

.column-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
}

.column-badge {
    background-color: var(--color-primary);
    color: var(--white);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.action-card {
    background: var(--color-bg);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid;
    transition: all 0.2s ease;
    cursor: move;
}

    .action-card:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-2px);
    }

    .action-card.focus-area {
        border-left-color: var(--brand-primary);
    }

    .action-card.planned {
        border-left-color: var(--color-neutral);
    }

    .action-card.completed {
        border-left-color: var(--color-positive);
        opacity: 0.85;
    }

.action-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}

.action-card-priority {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.priority-high {
    background-color: #fae1e3;
    color: #bb2d3b;
}

.priority-medium {
    background-color: #fceee2;
    color: #c77a36;
}

.priority-low {
    background-color: #d9eaf7;
    color: #0063ab;
}

.action-card-description {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
}

.action-card-due-date {
    font-size: 12px;
    color: var(--color-text-light);
    margin-bottom: 12px;
}

.action-card-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--color-border-light);
}

.action-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s;
    font-size: 18px;
}

    .action-btn:hover {
        background-color: var(--color-bg-subtle);
        color: var(--color-primary);
    }

    .action-btn.delete:hover {
        color: var(--color-negative);
    }

.add-action-btn {
    background-color: var(--color-primary);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

    .add-action-btn:hover {
        background-color: var(--color-primary-dark);
    }

.empty-column {
    text-align: center;
    padding: 40px 20px;
    color: var(--color-text-light);
    font-size: 14px;
}

.action-column.drag-over {
    background-color: #e6f1fa;
    border: 2px dashed var(--color-primary);
}

.action-card[draggable="true"] {
    cursor: grab;
}

    .action-card[draggable="true"]:active {
        cursor: grabbing;
    }

@media (max-width: 992px) {
    .action-board {
        grid-template-columns: 1fr;
    }
}

/* ==================== User Management ==================== */
.user-management-data-date {
    font-size: 13px;
}

.metric-value-info {
    color: var(--brand-secondary-teal);
}

.metric-value-success {
    color: var(--color-positive);
}

.metric-value-danger {
    color: var(--color-negative);
}

.bulk-actions {
    background: #eaf2f8;
    border: 1px solid rgba(0, 117, 201, 0.2);
    color: var(--body-text);
    padding: 0.25rem 0.5rem 0.25rem 1rem;
    border-radius: 6px;
    align-items: center;
    font-size: 0.9rem;
    box-shadow: none;
}

    .bulk-actions button {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
        background: white;
        border: 1px solid #dee2e6;
        color: var(--body-text);
        font-weight: 500;
        text-transform: uppercase;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        border-radius: 4px;
        line-height: normal;
    }

        .bulk-actions button i {
            font-size: 1rem;
        }

.bulk-action-deactivate:hover {
    background: #f8d7da;
    border-color: #dc3545;
    color: #dc3545;
}

.bulk-action-clear:hover {
    background: #f8f9fa;
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.search-input-wrapper {
    position: relative;
    width: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .search-input-wrapper .search-icon {
        position: absolute;
        left: 0.875rem;
        color: #6c757d;
        font-size: 1.1rem;
        pointer-events: none;
        z-index: 2;
    }

.search-input {
    background-color: #fafbfc;
    padding: 0.75rem 2.75rem 0.75rem 2.5rem;
}

    .search-input:hover {
        background-color: var(--white);
    }

    .search-input:focus {
        border-color: var(--brand-primary);
        box-shadow: 0 0 0 4px rgba(0, 117, 201, 0.1);
        background-color: white;
        outline: none;
    }

.search-input-clear-icon {
    position: absolute;
    right: 0.875rem;
    color: #6c757d;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    padding: 4px;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .search-input-clear-icon:hover {
        color: var(--brand-primary);
        background-color: rgba(0, 117, 201, 0.1);
    }

.user-table-card {
    padding: 0;
    overflow-x: auto;
}

#selectAll, .row-checkbox {
    width: 1.125rem;
    height: 1.125rem;
}

    #selectAll:hover, .row-checkbox:hover {
        cursor: pointer;
    }

.user-action-btn {
    border: none;
    padding: 4px 8px;
    margin-right: 4px;
    border-radius: 4px;
    transition: all 0.2s;
}

.user-action-btn-edit {
    background-color: var(--brand-secondary-teal);
    color: var(--white);
}

    .user-action-btn-edit:hover, .user-action-btn-edit:focus {
        background-color: #64a59b;
        color: #FFF;
    }

.user-action-btn-delete {
    background-color: var(--color-negative);
    color: var(--white);
}

    .user-action-btn-delete:hover {
        background-color: #bb2d3b;
        color: var(--white);
    }

.user-action-btn-activate {
    background: #28a745;
    color: white;
}

    .user-action-btn-activate:hover {
        background: #1e7d34;
        color: white;
    }

.users-table tbody tr.inactive-user td {
    color: #737373;
    background: #fafafa;
}

.page-item .page-link {
    background-color: var(--white);
    transition: all 0.3s ease;
    transition: all 0.3s ease;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.page-item.active .page-link {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
}

    .page-item.active .page-link:hover {
        color: var(--white);
    }

.page-link:hover {
    background-color: rgba(0, 117, 201, 0.1);
    color: var(--brand-primary);
    cursor: pointer;
}

.footer-text-small {
    font-size: 13px;
}

.user-management-admin {
    max-width: 1000px;
}

/* -- User table column sizing & truncation -- */
#usersTable {
    table-layout: fixed;
    width: 100%;
}

    #usersTable th:first-child,
    #usersTable td:first-child {
        width: 50px;
    }

    #usersTable th:last-child,
    #usersTable td:last-child {
        width: 120px;
    }

        #usersTable th:first-child:hover,
        #usersTable th:last-child:hover {
            background: #FFF;
            cursor: default;
        }

    #usersTable td.truncate-cell {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

        #usersTable td.truncate-cell.is-truncated {
            cursor: pointer;
        }

/*DT Length*/
.dt-length select {
    border: none;
    height: 40px;
    padding: 0.5rem;
    background: #FFF;
    margin-top: 1rem;
    border: var(--color-border-light)
}

/* -- DataTables pagination -- */
.dt-paging {
    margin-top: -40px;
}

#usersTable_wrapper .dt-paging {
    display: flex;
    justify-content: flex-end;
    gap: 0.25rem;
}

    #usersTable_wrapper .dt-paging button {
        background-color: var(--white, #fff);
        border: 1px solid #dee2e6;
        border-radius: 6px;
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--body-text);
        cursor: pointer;
        transition: all 0.3s ease;
    }

        #usersTable_wrapper .dt-paging button:hover:not(.disabled):not(.current) {
            background-color: rgba(0, 117, 201, 0.1);
            color: var(--brand-primary);
        }

        #usersTable_wrapper .dt-paging button.current {
            background-color: var(--brand-primary);
            border-color: var(--brand-primary);
            color: var(--white, #fff);
        }

        #usersTable_wrapper .dt-paging button.disabled {
            opacity: 0.5;
            cursor: default;
        }

/* -- DataTables sortable headers -- */
#usersTable thead th.dt-orderable-asc,
#usersTable thead th.dt-orderable-desc {
    cursor: pointer;
    user-select: none;
    position: relative;
    transition: background 0.2s ease;
}

    #usersTable thead th.dt-orderable-asc:hover,
    #usersTable thead th.dt-orderable-desc:hover {
        background-color: rgba(0, 117, 201, 0.05);
        color: var(--brand-primary);
    }

#usersTable thead .dt-column-order {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

#usersTable thead th:first-child .dt-column-order,
#usersTable thead th:last-child .dt-column-order {
    display: none;
}

#usersTable thead th:first-child,
#usersTable thead th:last-child {
    padding-right: 0.75rem;
}

#usersTable thead th.dt-orderable-asc,
#usersTable thead th.dt-orderable-desc {
    padding-right: 1.75rem;
}

    #usersTable thead th.dt-orderable-asc .dt-column-order::after,
    #usersTable thead th.dt-orderable-desc .dt-column-order::after {
        content: '⇅';
        opacity: 0.4;
        color: inherit;
    }

#usersTable thead th.dt-ordering-asc .dt-column-order::after {
    content: '↑';
    opacity: 1;
    color: var(--brand-primary);
}

#usersTable thead th.dt-ordering-desc .dt-column-order::after {
    content: '↓';
    opacity: 1;
    color: var(--brand-primary);
}

/* ==================== Admin Forms (Add / Edit User) ==================== */

/* -- Back link -- */
.admin-back-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--brand-primary);
    text-decoration: none;
    transition: color 0.2s;
}

    .admin-back-link:hover {
        color: var(--brand-ink);
    }

    .admin-back-link i {
        font-size: 1.1rem;
    }

/* -- Card wrapper -- */
.admin-form-card {
    background-color: var(--color-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-lg) var(--spacing-xl);
}

    /* -- Form sections -- */
    .admin-form-card .form-section {
        margin-bottom: var(--spacing-lg);
    }

    .admin-form-card .section-title {
        font-size: var(--font-size-base);
        font-weight: 600;
        color: var(--color-text-muted);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: var(--spacing-md);
        padding-bottom: var(--spacing-sm);
        border-bottom: 2px solid var(--color-light-grey);
    }

    .admin-form-card .section-divider {
        border: none;
        border-top: 1px solid var(--color-border-light);
        margin: var(--spacing-lg) 0;
    }

    .admin-form-card label {
        display: block;
        font-size: var(--font-size-md);
        font-weight: 600;
        color: var(--color-text);
        margin-bottom: var(--spacing-xs);
    }

        .admin-form-card label.required::after {
            content: ' *';
            color: var(--color-danger);
        }

/* -- Org levels grid -- */
.levels-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md) var(--spacing-xl);
}

@media (max-width: 768px) {
    .levels-grid {
        grid-template-columns: 1fr;
    }
}

/* -- Level picker trigger button -- */
.level-select-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 12px;
    background-color: var(--color-bg);
    border: 1px solid var(--color-darker-grey);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-base);
    font-family: var(--font-family);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: border-color 0.2s;
    text-align: left;
}

    .level-select-btn:hover {
        border-color: var(--color-primary);
    }

    .level-select-btn i {
        font-size: 1rem;
        color: var(--color-text-muted);
        flex-shrink: 0;
    }

    .level-select-btn.has-value {
        color: var(--color-text);
        border-color: var(--color-primary);
        background-color: rgba(0, 117, 201, 0.03);
    }

.level-selected-value {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--color-primary);
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* -- Form action bar -- */
.admin-form-card .form-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border-light);
    margin-top: var(--spacing-lg);
}

/* -- Admin action buttons -- */
.btn-save {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background-color: var(--color-button);
    color: var(--white);
    border: 1px solid var(--brand-primary);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

    .btn-save:hover {
        background-color: var(--color-button-hover);
        border-color: var(--color-button-hover);
    }

    .btn-save i {
        font-size: 1.15rem;
    }

.btn-cancel {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background-color: transparent;
    color: var(--color-text-muted);
    border: 1px solid var(--color-darker-grey);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

    .btn-cancel:hover {
        background-color: var(--color-bg-subtle);
        color: var(--color-text);
        border-color: var(--color-text-muted);
    }

/* -- Status toggle (Edit User header) -- */
.admin-status-toggle {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    background-color: var(--color-bg-subtle);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

    .admin-status-toggle .badge {
        font-size: var(--font-size-sm);
    }

/* -- Level select modal (Bootstrap modal overrides scoped to admin forms) -- */
.admin-form-card .modal-content {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.admin-form-card .modal-header {
    background-color: var(--color-bg-subtle);
    border-bottom: 1px solid var(--color-border-light);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

    .admin-form-card .modal-header .modal-title {
        font-size: var(--font-size-lg);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--color-text);
    }

.admin-form-card .modal-footer {
    border-top: 1px solid var(--color-border-light);
    padding: var(--spacing-md) var(--spacing-lg);
}

.admin-form-card .modal-body.business-level-modal-body {
    padding: var(--spacing-md);
}

/* -- Level modal internals -- */
.modal-subtitle {
    font-size: var(--font-size-md);
    color: var(--color-text-muted);
    margin-top: 2px;
}

.level-modal-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.level-modal-search-icon {
    position: absolute;
    left: 10px;
    font-size: 1rem;
    color: var(--color-text-muted);
    pointer-events: none;
}

.level-modal-search {
    padding-left: 32px;
}

.level-modal-options {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.level-modal-option {
    display: flex !important;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 10px var(--spacing-sm);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background-color 0.15s;
    font-size: var(--font-size-base);
    margin: 0;
    font-weight: normal;
}

    .level-modal-option:hover {
        background-color: var(--color-bg-subtle);
    }

    .level-modal-option input[type="radio"] {
        width: 1rem;
        height: 1rem;
        accent-color: var(--color-primary);
        flex-shrink: 0;
        cursor: pointer;
    }

    .level-modal-option:has(input:checked) {
        background-color: rgba(0, 117, 201, 0.07);
        color: var(--color-primary);
        font-weight: 600;
    }

/* ==================== Confirm Modal ==================== */
.confirm-modal-content {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.confirm-modal-body {
    padding: var(--spacing-xl) var(--spacing-xl) var(--spacing-md);
    text-align: center;
}

.confirm-modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

    .confirm-modal-icon.danger {
        background-color: #fde8e8;
        color: var(--color-danger);
    }


    .confirm-modal-icon.success {
        background-color: #d4edda;
        color: var(--color-success);
    }

    .confirm-modal-icon.warning {
        background-color: #fff3cd;
        color: #856404;
    }

    .confirm-modal-icon i {
        font-size: 2rem;
    }

.confirm-modal-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
}

.confirm-modal-message {
    font-size: var(--font-size-base);
    color: var(--color-text-muted);
    margin-bottom: 0;
}

.confirm-modal-footer {
    border-top: 1px solid var(--color-border-light);
    padding: var(--spacing-md) var(--spacing-xl);
    justify-content: center;
    gap: var(--spacing-md);
}

.btn-confirm-danger {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background-color: var(--color-danger);
    color: var(--white);
    border: 1px solid var(--color-danger);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

    .btn-confirm-danger:hover {
        background-color: #b02a37;
        border-color: #b02a37;
    }

.btn-confirm-success {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background-color: var(--color-success);
    color: var(--white);
    border: 1px solid var(--color-success);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

    .btn-confirm-success:hover {
        background-color: #1e7d34;
        border-color: #1e7d34;
    }


.btn-confirm-warning {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background-color: var(--color-warning);
    color: #333;
    border: 1px solid var(--color-warning);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

    .btn-confirm-warning:hover {
        background-color: #e0a800;
        border-color: #e0a800;
    }

/* ==================== Enterprise Insights ==================== */
.enterprise-unit-card {
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-sm);
}

.enterprise-unit-card-success {
    border-left: 4px solid var(--color-success) !important;
}

.enterprise-unit-card-danger {
    border-left: 4px solid var(--color-danger) !important;
}

.enterprise-unit-card-warning {
    border-left: 4px solid var(--color-warning) !important;
}

.enterprise-unit-rank {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-circle);
    color: white;
    font-weight: bold;
}

.enterprise-unit-rank-success {
    background-color: var(--color-success);
}

.enterprise-unit-rank-danger {
    background-color: var(--color-danger);
}

.enterprise-unit-score {
    font-size: 18px;
    font-weight: bold;
}

.enterprise-unit-score-success {
    color: var(--color-success);
}

.enterprise-unit-score-danger {
    color: var(--color-danger);
}

.business-unit-score-badge {
    font-size: 13px;
    padding: 6px 12px;
    color: white;
}

.business-unit-score-excellent {
    background-color: var(--color-success);
}

.business-unit-score-good {
    background-color: var(--color-warning);
}

.business-unit-score-fair {
    background-color: var(--accent-clay-orange);
}

.business-unit-score-poor {
    background-color: var(--color-danger);
}

/* ==================== Business Unit Drill-Down Table ==================== */

.bu-legend {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.bu-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bu-legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    display: inline-block;
}

.bu-legend-green {
    background-color: var(--color-success);
}

.bu-legend-amber {
    background-color: var(--color-warning);
}

.bu-legend-red {
    background-color: var(--color-danger);
}

.bu-parent-row {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .bu-parent-row:hover {
        background-color: var(--color-bg-subtle);
    }

.bu-chevron {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    transition: transform 0.3s ease;
    vertical-align: middle;
    margin-right: 6px;
}

.bu-parent-row.expanded .bu-chevron {
    transform: rotate(90deg);
}

.bu-parent-row.expanded td,
.bu-expandable.expanded td {
    border-bottom: none;
}

.bu-child-row {
    display: none;
}

    .bu-child-row td {
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 0.22s ease, transform 0.22s ease;
    }

    .bu-child-row.bu-visible td {
        opacity: 1;
        transform: translateY(0);
    }

.bu-label-row td {
    padding: 6px 16px !important;
    border-bottom: 1px solid var(--color-border-light);
}

.bu-sub-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
}

.bu-sub-row td {
    font-size: 0.9rem;
    border-bottom: 1px solid var(--color-border-light);
}

.bu-sub-row.bu-expandable {
    cursor: pointer;
}

    .bu-sub-row.bu-expandable:hover {
        background-color: rgba(126, 147, 171, 0.08);
    }

.bu-sub-row-last td {
    border-bottom: 2px solid var(--color-border-light);
}

/* Depth-level backgrounds & indentation */
.bu-depth-1 td {
    background: var(--color-bg-subtle);
}

    .bu-depth-1 td:first-child {
        padding-left: 32px;
    }

.bu-depth-2 td {
    background: var(--color-bg-muted);
}

    .bu-depth-2 td:first-child {
        padding-left: 56px;
    }

.bu-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 700;
    color: white;
    background-color: var(--color-primary);
    margin-right: 8px;
    flex-shrink: 0;
}

.recommendation-card {
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-sm);
}

.recommendation-priority-badge {
    font-size: 11px;
    color: white;
}

.recommendation-priority-high {
    background-color: var(--color-danger);
}

.recommendation-priority-medium {
    background-color: var(--color-warning);
}

.recommendation-description {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.metric-summary-card {
    padding: var(--spacing-md);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-sm);
}

.metric-summary-card-danger {
    border-left: 4px solid var(--color-danger) !important;
}

.metric-summary-card-success {
    border-left: 4px solid var(--color-success) !important;
}

.metric-summary-card-warning {
    border-left: 4px solid var(--accent-clay-orange) !important;
}

.metric-summary-card-primary {
    border-left: 4px solid var(--color-primary) !important;
}

.metric-summary-icon {
    font-size: 32px;
}

.metric-summary-icon-danger {
    color: var(--color-danger);
}

.metric-summary-icon-success {
    color: var(--color-success);
}

.metric-summary-icon-warning {
    color: var(--accent-clay-orange);
}

.metric-summary-icon-primary {
    color: var(--color-primary);
}

.metric-summary-value {
    font-size: 26px;
    line-height: 34px;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.metric-summary-value-danger {
    color: var(--color-danger);
}

.metric-summary-value-success {
    color: var(--color-success);
}

.metric-summary-value-warning {
    color: var(--accent-clay-orange);
}

.metric-summary-value-primary {
    color: var(--color-primary);
}

.metric-summary-label {
    font-size: 14px;
    font-weight: 600;
}

.metric-summary-subtitle {
    font-size: 14px;
}

.badge-sm {
    font-size: 12px;
}

.sentiment-indicator {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-circle);
    margin-right: var(--spacing-sm);
}

.sentiment-indicator-positive {
    background-color: var(--color-positive);
}

.sentiment-indicator-neutral {
    background-color: var(--color-neutral);
}

.theme-sentiment-bar-neutral {
    background-color: var(--color-neutral);
    color: var(--brand-ink);
}

.sentiment-indicator-negative {
    background-color: var(--color-negative);
}

.sentiment-indicator-mixed {
    background-color: var(--brand-primary);
}

.sentiment-question-box {
    background: var(--accent-9043);
}

.theme-progress-container {
    height: 6px;
}

.theme-progress-bar-positive {
    background-color: var(--color-positive);
}

.theme-progress-bar-neutral {
    background-color: var(--color-neutral);
}

.theme-progress-bar-negative {
    background-color: var(--color-negative);
}

.theme-progress-bar-mixed {
    background-color: var(--brand-primary);
}

.theme-sentiment-row {
    margin-bottom: var(--spacing-md);
}

.theme-sentiment-label {
    min-width: 180px;
    font-weight: 600;
}

.theme-sentiment-bar-container {
    flex: 1;
    height: 40px;
    background-color: var(--color-bg-subtle);
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
}

.theme-sentiment-bar {
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
}

    .theme-sentiment-bar:hover {
        opacity: 0.9;
    }

.theme-sentiment-bar-positive {
    background-color: var(--color-positive);
}

.theme-sentiment-bar-neutral {
    background-color: var(--color-neutral);
    color: var(--brand-ink);
}

.theme-sentiment-bar-negative {
    background-color: var(--color-negative);
}

.theme-sentiment-bar-mixed {
    background-color: var(--brand-primary);
}

.theme-sentiment-total {
    min-width: 100px;
    text-align: right;
    font-weight: 600;
}

.theme-sentiment-axis {
    display: flex;
    justify-content: space-between;
    margin-top: var(--spacing-sm);
    padding-left: calc(180px + 8px);
    padding-right: calc(100px + 5px);
    font-size: 11px;
    color: var(--color-text-muted);
}

.theme-sentiment-axis-tick {
    position: relative;
}

    .theme-sentiment-axis-tick::before {
        content: '';
        position: absolute;
        top: -4px;
        left: 50%;
        transform: translateX(-50%);
        width: 1px;
        height: 4px;
        background-color: var(--color-text-muted);
    }

.icon-success {
    color: var(--color-success);
}

.icon-danger {
    color: var(--color-danger);
}

.icon-warning {
    color: var(--color-warning);
}

.icon-primary {
    color: var(--color-primary);
}

/* Everything inside export mode */
.export-mode-root {
    /* avoid animations / spinners shifting during capture */
    scroll-behavior: auto;
}

    .export-mode-root * {
        animation: none !important;
        transition: none !important;
        caret-color: transparent !important;
    }

    .export-mode-root .no-export {
        display: none !important;
    }

    /* Make fixed/sticky behave like normal flow in export */
    .export-mode-root .fixed,
    .export-mode-root .sticky,
    .export-mode-root [style*="position: fixed"],
    .export-mode-root [style*="position:sticky"],
    .export-mode-root [style*="position: sticky"] {
        position: static !important;
    }

    /* Optional: remove shadows that look weird in screenshots */
    /* .export-mode-root .card {
    box-shadow: none;
  } */

    .export-mode-root .lever-detail-card {
        height: auto;
    }

        .export-mode-root .lever-detail-card:nth-child(2) .dimension-list-item {
            padding: var(--spacing-sm) var(--spacing-md);
        }

        .export-mode-root .lever-detail-card:nth-child(2) .dimension-name-text {
            /* font-size: 0.9rem; */
            line-height: 1.3;
        }

    .export-mode-root .dimension-statements-badge {
        font-size: var(--font-size-base, 0.875rem);
        color: var(--color-text-light);
        font-weight: 400;
    }

    .export-mode-root .dimension-score-badge {
        font-size: 1.25rem;
        font-weight: 300;
        color: var(--primary-color);
        text-align: right;
        flex-shrink: 0;
        line-height: 1;
    }

    .export-mode-root .mb-5 {
        margin-bottom: 16px !important;
    }

    .export-mode-root .lever-details-overview {
        margin-bottom: 0 !important;
    }

[data-export-break] {
    height: 0;
    margin-bottom: 2rem; /* Add consistent spacing after each break */
}

/* ========== Export Cover Page ========== */
.export-cover-page {
    position: relative;
    width: 1920px;
    height: 1080px;
    overflow: hidden;
}

.cover-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/cover-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cover-title-overlay {
    position: absolute;
    top: 720px;
    right: 186px;
    text-align: right;
    color: white;
    z-index: 10;
    width: 820px;
}

.cover-report-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

/* ========== Export Filters Page ========== */
.export-filters-page {
    width: 1920px;
    min-height: 800px;
    padding: 3rem 4rem;
    background: #f2f4f6;
}

.filters-page-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.filters-summary-list {
    background: white;
    padding: 2rem;
    border-radius: 4px;
    max-width: 1400px;
}

.filter-summary-row {
    display: flex;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
}

    .filter-summary-row:last-child {
        border-bottom: none;
    }

.filter-label {
    flex: 0 0 280px;
    font-size: 0.95rem;
    color: #666;
    padding-right: 1rem;
}

.filter-value {
    flex: 1;
    font-size: 0.95rem;
    color: #333;
}

/* ========== Export Button Spinner ========== */
.export-button-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.export-button[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}


