/**
 * 🛰️ GPS: LAYOUT INSTITUCIONAL Y RESPONSIVE DEBUGGER (V2.0)
 * Integrado con Variables Dinámicas para ahorro de espacio en móviles.
 */

.container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    /* 📱 Usa la variable dinámica (15px en PC / 12px en Móvil) */
    padding: var(--card-padding);
}

.wizard-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    /* 📱 Ajuste automático de presión espacial */
    padding: var(--card-padding);
    box-shadow: var(--shadow-subtle);
    border: 1px solid #dee2e6;
    margin-top: 20px;
} /* ✅ FIX: Llave de cierre recuperada */

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: var(--radius-md);
    font-size: 1rem;
    color: var(--text-main);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* 🔴 DEBUGGER DE RESOLUCIÓN (Solo desarrollo) */
#res-debug {
    position: fixed;
    bottom: 10px;
    left: 10px;
    padding: 5px 10px;
    font-size: 10px;
    color: white;
    border-radius: 4px;
    z-index: 9999;
    font-weight: bold;
    pointer-events: none;
}

/* Menos de 360px */
@media (max-width: 360px) {
    #res-debug { background: #dc3545; }
    #res-debug::after { content: "📱 Móvil Extra-Pequeño (<360px)"; }
}

/* Entre 361px y 480px */
@media (min-width: 361px) and (max-width: 480px) {
    #res-debug { background: #ffc107; color: black; }
    #res-debug::after { content: "📱 Móvil Estándar (361-480px)"; }
}

/* Más de 480px */
@media (min-width: 481px) {
    #res-debug { background: #28a745; }
    #res-debug::after { content: "💻 Tablet/PC (>480px)"; }
}