/* ====== VARIABLES DE DISEÑO ====== */
:root {
    --idc-primary: #c32033;
    --idc-secondary: #232323;
    --idc-accent: #e63946;
    --idc-light: #f8f9fa;
    --idc-dark: #343a40;
    --idc-border: #dee2e6;
    --idc-success: #28a745;
    --idc-warning: #ffc107;
    --idc-info: #17a2b8;

    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* ====== ESTILOS GENERALES CON TEXTO MÁS GRANDE ====== */
body {

    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    font-size: 18px;
    /* Tamaño base aumentado */
}

.idc-roomy {
    font-size: 18px;
    /* Aumentado de 16px */
}

.idc-wrap {
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 0 15px;
}

/* ====== TIPOGRAFÍA MÁS GRANDE ====== */
.idc-title {
    color: var(--idc-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 2.2rem;
}

.idc-sub {
    color: #6c757d;
    font-size: 1.4rem;
    /* Aumentado de 1.1rem */
    margin-bottom: 2rem;
}

.idc-section-title {
    color: var(--idc-primary);
    font-weight: 600;
    border-bottom: 2px solid var(--idc-secondary);
    padding-bottom: 0.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    /* Aumentado de 1.25rem */
}

/* ====== TARJETAS Y CONTENEDORES ====== */
.idc-card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 1.5rem;
    border: 1px solid var(--idc-border);
    transition: var(--transition);
}

.idc-card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.idc-card-header {
    background: #c32033;
    color: white;
    padding: 1.2rem 1.5rem;
    /* Aumentado el padding */
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    font-weight: 600;
    font-size: 1.4rem;
    /* Aumentado de 1.1rem */
}

.idc-card-header i {
    margin-right: 0.5rem;
}

.idc-card-body {
    padding: 1.8rem;
    /* Aumentado de 1.5rem */
}

/* ====== FORMULARIOS CON TEXTO MÁS GRANDE ====== */
.form-label {
    font-weight: 600;
    color: var(--idc-dark);
    margin-bottom: 0.7rem;
    font-size: 1.5rem;
}

.form-control,
.form-select {
    border: 1px solid var(--idc-border);
    border-radius: var(--border-radius);
    padding: 0.9rem 1rem;
    font-size: 1.1rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: #a4192b;
    box-shadow: 0 0 0 0.2rem rgba(44, 108, 176, 0.25);
}

.input-group-text {
    background-color: #e9ecef;
    border: 1px solid var(--idc-border);
    color: var(--idc-dark);
    font-size: 1.1rem;
    padding: 0.9rem 0.95rem;
}

.date-selectors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .date-selectors {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .date-selectors {
        grid-template-columns: 1fr;
    }
}

/* ====== AYUDAS Y TEXTO INFORMATIVO MÁS GRANDE ====== */
.idc-help {
    background-color: #f1f8ff;
    border-left: 4px solid var(--idc-secondary);
    padding: 1rem 1.2rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-size: 1.3rem;
    color: #495057;
    margin-top: 0.7rem;
}

.idc-help i {
    color: var(--idc-secondary);
    margin-right: 0.5rem;
}

/* ====== BOTONES MÁS GRANDES ====== */
.btn-primary {
    background: #c32033;
    border: none;
    border-radius: var(--border-radius);
    padding: 0.9rem 1.7rem;
    font-weight: 600;
    font-size: 1.2rem;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--idc-border);
    color: var(--idc-dark);
    border-radius: var(--border-radius);
    padding: 0.9rem 1.7rem;
    font-size: 1.2rem;
    transition: var(--transition);
}

.btn-ghost:hover {
    background-color: #f8f9fa;
    border-color: var(--idc-secondary);
    color: var(--idc-secondary);
}

/* ====== RESULTADOS CON TEXTO MÁS GRANDE ====== */
.result-badge {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--idc-dark);
}

.result-value {
    font-size: 1.8rem;
    /* Aumentado de 1.5rem */
    font-weight: 700;
    color: var(--idc-primary);
}

#resultadosSection .d-flex {
    background: #f8f9fa;
    border: 1px solid var(--idc-border);
    border-radius: var(--border-radius);
    padding: 1.2rem;
    margin-bottom: 1.2rem;
}

/* ====== ACORDEÓN CON TEXTO MÁS GRANDE ====== */
.accordion-button {
    background-color: #f8f9fa;
    color: var(--idc-primary);
    font-weight: 600;
    padding: 1.2rem 1.4rem;
    font-size: 1.2rem;
}

.accordion-button:not(.collapsed) {
    background-color: #e9f2ff;
    color: var(--idc-primary);
}

.accordion-body {
    padding: 1.4rem;
    /* Aumentado de 1.25rem */
    font-size: 1.1rem;
}

/* ====== TABLAS CON TEXTO MÁS GRANDE ====== */
.table {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 0 0 1px var(--idc-border);
    font-size: 1.1rem;
}

.table thead th {
    background-color: var(--idc-primary);
    color: white;
    border: none;
    padding: 1rem 1.2rem;
    font-size: 1.2rem;
}

.table tbody td {
    padding: 1rem 1.2rem;
    border-color: var(--idc-border);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* ====== ESTADO DE CARGA ====== */
.loading-spinner {
    display: none;
}

.btn.loading .loading-spinner {
    display: inline-block;
}

.btn.loading i:not(.loading-spinner) {
    display: none;
}

/* ====== DIVISOR ====== */
.idc-divider {
    height: 1px;
    background-color: var(--idc-border);
    margin: 1.8rem 0;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 992px) {
    .idc-summary {
        position: static;
        margin-top: 1.8rem;
    }
}

/* ====== ANIMACIONES ====== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

/* ====== TEXTO ADICIONAL MÁS GRANDE ====== */
#estadoVacio p,
#estadoVacio ul {
    font-size: 1.3rem;
}

#estadoVacio ul li {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

/* ====== ALERTAS MÁS GRANDES ====== */
.alert {
    font-size: 1.1rem;
    padding: 1rem 1.2rem;
}

/* ====== ESTILOS PARA TABLAS DE CALCULADORA ====== */
.cal-table-results {
    margin-bottom: 1.5rem;
}

.cal-results {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 1.1rem;
}

.cal-results td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--idc-border);
    background-color: #fff;
    vertical-align: middle;
}

.cal-results tr:first-child td {
    background-color: var(--idc-primary);
    color: white;
    font-weight: 600;
    border-bottom: 2px solid var(--idc-secondary);
}

.cal-results tr:last-child td {
    border-bottom: none;
}

.cal-results tr:nth-child(even) td {
    background-color: #f8f9fa;
}

.cal-results tr:hover td {
    background-color: #e9f2ff;
}

.cal-resaltado {
    font-weight: 600;
    color: var(--idc-dark);
}

.cal-resaltado2 {
    font-weight: 700;
    color: var(--idc-primary);
}

/* Cal */
table th.month-col {
    padding: 1rem 6.2rem;
}