/* ============================================
   Simulador de Verificación Vehicular 2026
   ============================================ */

/* Container principal */
.verificacion-calculator-container {
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.verificacion-calculator-container h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #1a1a2e;
    font-size: 1.85rem;
}

/* Formulario */
.calculator-form {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #495057;
    font-size: 1.6rem;
}

.form-group select,
.form-group input {
    padding: 0.9rem 1rem;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    font-size: 1.6rem;
    background-color: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: #4361ee;
    box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.15);
}

.form-hint {
    font-size: 1.2rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

/* Botón consultar */
.consultar-btn {
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.7rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    margin-top: 1rem;
}

.consultar-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(67, 97, 238, 0.4);
}

.consultar-btn:active {
    transform: translateY(0);
}

/* Resultado */
#verificacion-result {
    margin-top: 2rem;
}

.resultado-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 6px solid #dee2e6;
    position: relative;
    overflow: hidden;
}

/* Semáforos */
.resultado-card.semaforo-verde {
    border-left-color: #10b981;
    background: linear-gradient(135deg, #fff 0%, #ecfdf5 100%);
}

.resultado-card.semaforo-amarillo {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, #fff 0%, #fffbeb 100%);
}

.resultado-card.semaforo-rojo {
    border-left-color: #ef4444;
    background: linear-gradient(135deg, #fff 0%, #fef2f2 100%);
}

.resultado-card.semaforo-gris {
    border-left-color: #6b7280;
    background: linear-gradient(135deg, #fff 0%, #f3f4f6 100%);
}

.semaforo-indicador {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.5rem;
}

.resultado-titulo {
    font-size: 1.5rem;
    color: #374151;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.resultado-estado {
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.resultado-mensaje {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.resultado-detalle {
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

/* Cuenta regresiva */
.cuenta-regresiva {
    background: linear-gradient(135deg, #4361ee 0%, #7c3aed 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    margin: 1.5rem 0;
}

.dias-numero {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.dias-texto {
    font-size: 1.4rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

.fecha-limite {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Tarjeta de multa */
.multa-card {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 2px solid #fecaca;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.multa-card h4 {
    color: #991b1b;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.multa-monto {
    font-size: 2.5rem;
    font-weight: 800;
    color: #dc2626;
    text-align: center;
}

.multa-detalle {
    text-align: center;
    color: #7f1d1d;
    font-size: 1.15rem;
    margin-top: 0.5rem;
}

.multa-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #fecaca;
    font-size: 1.2rem;
}

.multa-total strong {
    color: #dc2626;
    font-size: 1.4rem;
}

/* Calendario info */
.calendario-info {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.calendario-info h4 {
    color: #0369a1;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.calendario-meses {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.mes-verificacion {
    flex: 1;
    min-width: 140px;
    background: #fff;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-align: center;
}

.mes-label {
    display: block;
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.mes-valor {
    font-weight: 700;
    color: #0369a1;
    font-size: 1.4rem;
}

/* Costo verificación */
.costo-verificacion {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 1.2rem;
}

/* Link oficial */
.link-oficial {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    padding: 0.75rem;
    background: #f1f5f9;
    border-radius: 8px;
    color: #4361ee;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.15rem;
    transition: background 0.2s;
}

.link-oficial:hover {
    background: #e2e8f0;
}

/* Error */
.error {
    color: #dc2626;
    text-align: center;
    font-weight: 600;
    padding: 1rem;
    background: #fef2f2;
    border-radius: 8px;
    font-size: 1.2rem;
}

/* ============================================
   Checklist Pre-Verificación
   ============================================ */

.checklist-container {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.checklist-container h2 {
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.checklist-subtitle {
    color: #6b7280;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.checklist-grid {
    display: grid;
    gap: 0.75rem;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.checklist-item:hover {
    background: #f1f5f9;
}

.checklist-item input[type="checkbox"] {
    width: 24px;
    height: 24px;
    margin-top: 2px;
    accent-color: #10b981;
    cursor: pointer;
}

.checklist-item label {
    cursor: pointer;
    flex: 1;
}

.checklist-item-title {
    font-weight: 600;
    color: #1f2937;
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1.3rem;
}

.checklist-item-desc {
    font-size: 1.15rem;
    color: #6b7280;
}

.checklist-item.checked {
    background: #ecfdf5;
}

.checklist-item.checked .checklist-item-title {
    color: #059669;
}

/* Progreso del checklist */
#checklist-progress {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.progress-bar {
    height: 12px;
    background: #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    border-radius: 6px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 1.15rem;
    color: #6b7280;
}

.progress-complete {
    display: block;
    margin-top: 0.5rem;
    font-weight: 600;
    color: #059669;
    font-size: 1.2rem;
}

/* ============================================
   Secciones Informativas
   ============================================ */

.info-section {
    margin: 3rem 0;
}

.info-cards {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.info-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #4361ee;
}

.info-card h3 {
    color: #4361ee;
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
}

.info-card p {
    color: #4b5563;
    line-height: 1.6;
    font-size: 1.15rem;
}

.info-card ul {
    font-size: 1.15rem;
}

/* Tabla de hologramas */
.holograma-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 1.15rem;
}

.holograma-table th {
    background: #4361ee;
    color: white;
    padding: 0.85rem 1rem;
    text-align: left;
    font-weight: 600;
}

.holograma-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.holograma-table tr:nth-child(even) {
    background: #f8fafc;
}

.holograma-table tr:hover {
    background: #f0f9ff;
}

/* Tabla de engomados/calendario */
.calendario-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 1.15rem;
}

.calendario-table th {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    color: white;
    padding: 0.85rem 1rem;
    text-align: center;
    font-weight: 600;
}

.calendario-table td {
    padding: 0.85rem 1rem;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.engomado-amarillo { background: #fef3c7; color: #92400e; font-weight: 600; }
.engomado-rosa { background: #fce7f3; color: #9d174d; font-weight: 600; }
.engomado-rojo { background: #fee2e2; color: #991b1b; font-weight: 600; }
.engomado-verde { background: #d1fae5; color: #065f46; font-weight: 600; }
.engomado-azul { background: #dbeafe; color: #1e40af; font-weight: 600; }

/* Banner CTA tenencia */
.cta-tenencia-banner {
    background: linear-gradient(135deg, #7c3aed 0%, #4361ee 100%);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-tenencia-banner p {
    margin: 0;
    font-size: 1.3rem;
}

.cta-tenencia-btn {
    background: white;
    color: #4361ee;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.15rem;
    text-decoration: none;
    transition: transform 0.2s;
    white-space: nowrap;
}

.cta-tenencia-btn:hover {
    transform: scale(1.05);
}

/* Disclaimer */
.disclaimer-box {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    font-size: 1.15rem;
    color: #92400e;
}

.disclaimer-box strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* ============================================
   Responsive
   ============================================ */

@media (min-width: 768px) {
    .calculator-form {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .consultar-btn {
        grid-column: span 2;
        max-width: 50%;
        margin: 1.5rem auto 0;
    }
    
    .info-cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .verificacion-calculator-container {
        padding: 1.25rem;
        margin: 0 -0.5rem 2rem;
        border-radius: 0;
    }
    
    .verificacion-calculator-container h2 {
        font-size: 1.65rem;
    }
    
    .form-group label {
        font-size: 1.5rem;
    }
    
    .form-group select,
    .form-group input {
        font-size: 1.5rem;
        padding: 0.85rem;
    }
    
    .form-hint {
        font-size: 1.1rem;
    }
    
    .consultar-btn {
        font-size: 1.6rem;
    }
    
    .resultado-titulo {
        font-size: 1.35rem;
    }
    
    .resultado-mensaje {
        font-size: 1.35rem;
    }
    
    .dias-numero {
        font-size: 3rem;
    }
    
    .dias-texto {
        font-size: 1.25rem;
    }
    
    .multa-monto {
        font-size: 2rem;
    }
    
    .multa-total {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .calendario-meses {
        flex-direction: column;
    }
    
    .cta-tenencia-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .checklist-container {
        margin: 2rem -0.5rem;
        border-radius: 0;
    }
    
    .checklist-item-title {
        font-size: 1.2rem;
    }
    
    .checklist-item-desc {
        font-size: 1.1rem;
    }
    
    .holograma-table,
    .calendario-table {
        font-size: 1.05rem;
    }
    
    .holograma-table th,
    .holograma-table td,
    .calendario-table th,
    .calendario-table td {
        padding: 0.65rem 0.5rem;
    }
}
