/* ==========================================================================
   Estadísticas de Transparencia — Diseño Institucional Moderno
   Paleta: Azul Institucional #004B87 | Fondo #f0f4f8
   ========================================================================== */

/* ---------- Variables de diseño ---------- */
:root {
    --est-primary: #004B87;
    --est-primary-dark: #003460;
    --est-primary-light: #0a6bc4;
    --est-primary-surface: #e8f0fa;
    --est-accent-green: #0e8a5f;
    --est-accent-green-light: #e6f5ef;
    --est-accent-blue: #1a6fc4;
    --est-accent-blue-light: #e6f0fa;
    --est-accent-amber: #c77d1a;
    --est-accent-amber-light: #fdf3e3;
    --est-bg: #f0f4f8;
    --est-card-bg: #ffffff;
    --est-text: #1a2332;
    --est-text-secondary: #5a6777;
    --est-text-muted: #8a95a5;
    --est-border: #e2e8f0;
    --est-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --est-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.04);
    --est-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.04);
    --est-radius: 12px;
    --est-radius-sm: 8px;
    --est-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Contenedor principal & Sticky Footer ---------- */
html {
    height: 100%;
}

body.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.nav-link {
    color: #004B87 !important;
}

.nav-link i {
    color: #004B87 !important;
}

.nav-item:hover a:hover i,
.nav-item:hover a i {
    color: #FFFFFF !important;
}

.nav-item:hover a:hover,
.nav-item:hover a {
    color: #FFFFFF !important;
}

.nav-item:hover .dropdown-menu a {
    color: #004B87 !important;
}

.nav-item:hover .dropdown-menu li:hover a {
    color: #FFFFFF !important;
}

button.btn-primary-utape {
    background-color: #004B87;
    color: white;
}


.div-principal {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px 60px;
    flex: 1 0 auto;
    min-height: calc(100vh - 350px);
}

/* ---------- Page Header ---------- */
.est-page-header {
    background: linear-gradient(135deg, var(--est-primary) 0%, var(--est-primary-dark) 100%);
    border-radius: var(--est-radius);
    padding: 40px 44px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.est-page-header::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.07) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.est-page-header::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: 20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.est-page-header h1 {
    font-family: "Vollkorn", serif;
    font-weight: 700;
    font-size: 2.2rem;
    color: #ffffff;
    margin: 0 0 10px 0;
    position: relative;
    z-index: 1;
}

.est-page-header p {
    font-family: "Inter", "Helvetica Neue", sans-serif;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
    margin: 0;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

/* ---------- Filter Bar ---------- */
.est-filter-bar {
    background: var(--est-card-bg);
    border: 1px solid var(--est-border);
    border-radius: var(--est-radius);
    padding: 18px 24px;
    margin-bottom: 32px;
    box-shadow: var(--est-shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.est-filter-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.est-filter-right {
    display: flex;
    align-items: center;
}

/* Botón principal de datos abiertos */
.btn-export-main {
    font-family: "Inter", sans-serif;
    background: #ffffff;
    color: var(--est-primary);
    border: 1.5px solid var(--est-primary);
    border-radius: var(--est-radius-sm);
    padding: 9px 18px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--est-transition);
}

.btn-export-main:hover {
    background: var(--est-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 75, 135, 0.25);
    transform: translateY(-1px);
}

/* Botón de exportar dentro del header de cada gráfica */
.btn-chart-export {
    font-family: "Inter", sans-serif;
    background: #f1f5f9;
    color: var(--est-primary);
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--est-transition);
}

.btn-chart-export:hover {
    background: var(--est-primary);
    border-color: var(--est-primary);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 75, 135, 0.2);
}

.est-filter-bar .est-filter-label {
    font-family: "Inter", sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--est-text-secondary);
    white-space: nowrap;
}

.est-filter-bar .est-filter-label i {
    margin-right: 6px;
    color: var(--est-primary);
}

.est-filter-form {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    margin: 0 !important;
}

.est-filter-bar .form-select {
    font-family: "Inter", sans-serif;
    border: 1.5px solid var(--est-border);
    border-radius: var(--est-radius-sm);
    padding: 8px 36px 8px 14px;
    font-size: 0.95rem;
    color: var(--est-text);
    background-color: #f8fafc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 140px !important;
    min-width: 130px !important;
    max-width: 160px !important;
    height: 42px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}

.est-filter-bar .form-select:focus {
    border-color: var(--est-primary);
    box-shadow: 0 0 0 3px rgba(0, 75, 135, 0.12);
    background-color: #fff;
}

.est-filter-bar .btn-filter {
    font-family: "Inter", sans-serif;
    background: var(--est-primary);
    color: #fff;
    border: none;
    border-radius: var(--est-radius-sm);
    padding: 0 24px;
    height: 42px !important;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--est-transition);
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    white-space: nowrap !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}

.est-filter-bar .btn-filter:hover {
    background: var(--est-primary-dark);
    box-shadow: 0 4px 12px rgba(0, 75, 135, 0.25);
    transform: translateY(-1px);
}

.est-filter-bar .btn-filter:active {
    transform: translateY(0);
}

/* ---------- Section Title ---------- */
.est-section {
    margin-bottom: 32px;
}

.est-section-title {
    font-family: "Inter", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--est-text-secondary);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--est-border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.est-section-title i {
    font-size: 0.9rem;
    color: var(--est-primary);
}

/* ---------- Stat Cards ---------- */
.est-stat-card {
    background: var(--est-card-bg);
    border-radius: var(--est-radius);
    border: 1px solid var(--est-border);
    border-left: 4px solid transparent;
    padding: 24px;
    box-shadow: var(--est-shadow-sm);
    transition: var(--est-transition);
    display: flex;
    align-items: flex-start;
    gap: 18px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.est-stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    border-radius: 0 0 0 80px;
    opacity: 0.04;
    pointer-events: none;
    transition: var(--est-transition);
}

.est-stat-card:hover {
    box-shadow: var(--est-shadow-md);
    transform: translateY(-2px);
}

/* --- Accent colors --- */
.est-accent-green {
    border-left-color: var(--est-accent-green);
}

.est-accent-green::after {
    background: var(--est-accent-green);
}

.est-accent-blue {
    border-left-color: var(--est-accent-blue);
}

.est-accent-blue::after {
    background: var(--est-accent-blue);
}

.est-accent-amber {
    border-left-color: var(--est-accent-amber);
}

.est-accent-amber::after {
    background: var(--est-accent-amber);
}

/* --- Icon badge --- */
.est-stat-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.est-icon-green {
    background: var(--est-accent-green-light);
    color: var(--est-accent-green);
}

.est-icon-blue {
    background: var(--est-accent-blue-light);
    color: var(--est-accent-blue);
}

.est-icon-amber {
    background: var(--est-accent-amber-light);
    color: var(--est-accent-amber);
}

/* --- Stat info --- */
.est-stat-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.est-stat-label {
    font-family: "Inter", sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--est-text-secondary);
    margin-bottom: 4px;
    line-height: 1.3;
}

.est-stat-value {
    font-family: "Inter", sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--est-text);
    line-height: 1.2;
    margin-bottom: 8px;
}

.est-stat-value:empty::after {
    content: '—';
    color: var(--est-text-muted);
}

.est-stat-period {
    font-family: "Inter", sans-serif;
    font-size: 0.75rem;
    color: var(--est-text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.est-stat-period i {
    font-size: 0.7rem;
}

/* ---------- Chart Cards ---------- */
.est-chart-card {
    background: var(--est-card-bg);
    border-radius: var(--est-radius);
    border: 1px solid var(--est-border);
    box-shadow: var(--est-shadow-sm);
    overflow: hidden;
    transition: var(--est-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.est-chart-card:hover {
    box-shadow: var(--est-shadow-md);
}

.est-chart-header {
    padding: 20px 24px 12px;
    border-bottom: 1px solid var(--est-border);
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.est-chart-header h4 {
    font-family: "Inter", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--est-text);
    margin: 0;
}

.est-chart-header .est-chart-subtitle {
    font-family: "Inter", sans-serif;
    font-size: 0.82rem;
    color: var(--est-text-muted);
    font-weight: 400;
}

.est-chart-body {
    padding: 16px 12px 8px;
    flex: 1;
    min-height: 320px;
}

.est-chart-footer {
    padding: 14px 24px;
    border-top: 1px solid var(--est-border);
    background: #fafbfc;
}

.est-chart-footer .stats {
    font-family: "Inter", sans-serif;
    font-size: 0.78rem;
    color: var(--est-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.est-chart-footer .stats i {
    color: var(--est-primary);
    font-size: 0.8rem;
}

/* ---------- ApexCharts overrides ---------- */
.apexcharts-tooltip {
    font-family: "Inter", sans-serif !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
}

.apexcharts-tooltip-title {
    font-weight: 600 !important;
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.apexcharts-xaxis-label,
.apexcharts-yaxis-label {
    font-family: "Inter", sans-serif !important;
    fill: #5a6777 !important;
}

.apexcharts-legend-text {
    font-family: "Inter", sans-serif !important;
    color: #5a6777 !important;
}

#contenedor-chart-recibidas .apexcharts-data-labels text,
#contenedor-chart-recibidas .apexcharts-datalabel {
    fill: #FFFFFF !important;
    color: #FFFFFF !important;
}

/* ---------- Loading Overlay ---------- */
.est-loading-overlay {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 480px;
    padding: 60px 20px;
    width: 100%;
}

.est-loading-overlay.est-loading--active {
    display: flex;
}

.est-spinner-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.est-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--est-border);
    border-top-color: var(--est-primary);
    border-radius: 50%;
    animation: est-spin 0.8s linear infinite;
}

@keyframes est-spin {
    to {
        transform: rotate(360deg);
    }
}

.est-loading-text {
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--est-text-secondary);
    letter-spacing: 0.3px;
}

/* ---------- Content Toggle ---------- */
.est-content {
    transition: opacity 0.35s ease;
    opacity: 1;
}

.est-content.est-content--hidden {
    display: none !important;
}

/* ---------- Override Material Dashboard residuals ---------- */
.wrapper .div-principal .card,
.wrapper .div-principal .card-stats {
    box-shadow: none !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .est-page-header {
        padding: 30px 28px;
    }

    .est-page-header h1 {
        font-size: 1.7rem;
    }

    .est-page-header p {
        font-size: 0.95rem;
    }
}

@media (max-width: 767.98px) {
    .div-principal {
        padding: 0 16px 40px;
    }

    .est-page-header {
        padding: 24px 20px;
        border-radius: var(--est-radius-sm);
    }

    .est-page-header h1 {
        font-size: 1.45rem;
    }

    .est-filter-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 16px 20px;
    }

    .est-filter-bar form {
        flex-direction: column;
        gap: 12px;
    }

    .est-filter-bar .btn-filter {
        justify-content: center;
    }

    .est-stat-card {
        padding: 18px;
    }

    .est-stat-value {
        font-size: 1.45rem;
    }

    .est-chart-body {
        min-height: 260px;
    }
}

/* ---------- Animations ---------- */
@keyframes est-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.est-animate {
    animation: est-fadeInUp 0.45s var(--est-transition) both;
}

.est-animate:nth-child(1) {
    animation-delay: 0.04s;
}

.est-animate:nth-child(2) {
    animation-delay: 0.08s;
}

.est-animate:nth-child(3) {
    animation-delay: 0.12s;
}

.est-animate:nth-child(4) {
    animation-delay: 0.16s;
}

.est-animate:nth-child(5) {
    animation-delay: 0.20s;
}

.est-animate:nth-child(6) {
    animation-delay: 0.24s;
}

.est-animate:nth-child(7) {
    animation-delay: 0.28s;
}

.est-animate:nth-child(8) {
    animation-delay: 0.32s;
}

/* ---------- Modal de Exportación de Datos Abiertos ---------- */
.est-modal-content {
    border-radius: 14px;
    border: 1px solid var(--est-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    font-family: "Inter", sans-serif;
}

.est-modal-header {
    background: #f8fafc;
    border-bottom: 1px solid var(--est-border);
    padding: 18px 24px;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

.est-modal-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--est-primary-surface);
    color: var(--est-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.est-modal-body {
    padding: 22px 24px;
}

.est-export-notice {
    background: rgba(0, 75, 135, 0.06);
    border-left: 4px solid var(--est-primary);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.86rem;
    color: #1a2332;
    line-height: 1.5;
}

.est-notice-icon {
    color: var(--est-primary);
    font-size: 1.2rem;
}

.est-export-section-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--est-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.est-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--est-primary);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Cards selector de dataset */
.est-option-card {
    display: block;
    position: relative;
    cursor: pointer;
    height: 100%;
}

.est-option-card input {
    position: absolute;
    opacity: 0;
}

.est-option-card-body {
    border: 1.5px solid var(--est-border);
    border-radius: var(--est-radius-sm);
    padding: 12px 10px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    transition: var(--est-transition);
    height: 100%;
}

.est-option-card-body i {
    font-size: 1.3rem;
    color: var(--est-text-muted);
    transition: var(--est-transition);
}

.est-option-card-body strong {
    font-size: 0.85rem;
    color: var(--est-text);
}

.est-option-card-body span {
    font-size: 0.72rem;
    color: var(--est-text-muted);
}

.est-option-card input:checked+.est-option-card-body {
    border-color: var(--est-primary);
    background: rgba(0, 75, 135, 0.04);
    box-shadow: 0 0 0 1px var(--est-primary);
}

.est-option-card input:checked+.est-option-card-body i {
    color: var(--est-primary);
}

/* Grillas de checkboxes para Años y Meses */
.est-quick-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-quick-action {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--est-primary);
    cursor: pointer;
    text-decoration: underline;
}

.btn-quick-action:hover {
    color: var(--est-primary-dark);
}

/* Tarjetas de Años con selección de Meses independiente */
.est-years-container {
    display: block !important;
    max-height: 410px;
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    padding: 10px;
    border: 1px solid var(--est-border);
    border-radius: 10px;
    background: #f8fafc;
    box-sizing: border-box;
}

.est-years-container::-webkit-scrollbar {
    width: 8px;
}

.est-years-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.est-years-container::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}

.est-years-container::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

.est-year-card {
    display: block !important;
    width: 100% !important;
    border: 1.5px solid var(--est-border);
    border-radius: 10px;
    background: #ffffff;
    margin-bottom: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    overflow: visible !important;
    box-sizing: border-box;
    clear: both;
}

.est-year-card:last-child {
    margin-bottom: 4px;
}

.est-year-card.est-year--selected {
    border-color: var(--est-primary);
    box-shadow: 0 2px 8px rgba(0, 75, 135, 0.1);
}

.est-year-card-header {
    padding: 10px 14px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    user-select: none;
    cursor: pointer;
    border-radius: 9px;
}

.est-year-card.est-year--selected .est-year-card-header {
    background: rgba(0, 75, 135, 0.05);
}

.est-year-check-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin: 0;
}

.est-year-check-label input {
    width: 17px;
    height: 17px;
    accent-color: var(--est-primary);
    cursor: pointer;
}

.est-year-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--est-text);
}

.est-year-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.est-year-months-badge {
    font-size: 0.74rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    background: #e2e8f0;
    color: var(--est-text-secondary);
    transition: var(--est-transition);
}

.est-year-months-badge.est-badge--active {
    background: var(--est-primary);
    color: #ffffff;
}

.btn-toggle-year-collapse {
    background: none;
    border: none;
    padding: 4px 6px;
    color: var(--est-text-muted);
    cursor: pointer;
    font-size: 0.82rem;
    border-radius: 4px;
    transition: transform 0.2s ease;
}

.btn-toggle-year-collapse.is-open {
    transform: rotate(180deg);
}

.est-year-card-body {
    padding: 12px 14px 16px;
    border-top: 1px solid var(--est-border);
    background: #ffffff;
    display: none;
    box-sizing: border-box;
}

.est-year-months-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 6px;
}

.est-year-months-header small {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--est-text-muted);
}

.est-checkbox-grid {
    display: grid;
    gap: 8px;
}

.est-grid-anios {
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
}

.est-grid-meses {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    .est-grid-meses {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

.est-check-btn {
    display: block;
    position: relative;
    cursor: pointer;
    margin: 0;
}

.est-check-btn input {
    position: absolute;
    opacity: 0;
}

.est-check-btn span {
    display: block;
    border: 1.5px solid var(--est-border);
    border-radius: 6px;
    padding: 6px 4px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--est-text-secondary);
    text-align: center;
    background: #f8fafc;
    transition: var(--est-transition);
    user-select: none;
}

.est-check-btn input:checked+span {
    background: var(--est-primary);
    border-color: var(--est-primary);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 75, 135, 0.2);
}

/* Cards selector de formato */
.est-format-card {
    display: block;
    position: relative;
    cursor: pointer;
    height: 100%;
}

.est-format-card input {
    position: absolute;
    opacity: 0;
}

.est-format-card-body {
    border: 1.5px solid var(--est-border);
    border-radius: var(--est-radius-sm);
    padding: 12px 14px;
    background: #ffffff;
    transition: var(--est-transition);
    height: 100%;
}

.est-format-card-body strong {
    font-size: 0.88rem;
    color: var(--est-text);
}

.est-format-card-body small {
    display: block;
    font-size: 0.75rem;
    color: var(--est-text-muted);
    line-height: 1.4;
    margin-top: 2px;
}

.est-format-card input:checked+.est-format-card-body {
    border-color: var(--est-primary);
    background: rgba(0, 75, 135, 0.04);
    box-shadow: 0 0 0 1px var(--est-primary);
}

.est-modal-footer {
    background: #f8fafc;
    border-top: 1px solid var(--est-border);
    padding: 14px 24px;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
}

.est-export-status {
    background: rgba(0, 75, 135, 0.08);
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.86rem;
    color: var(--est-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
}