/* ===========================
    PANTALLA GENERAL
=========================== */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at 0% 0%, #dbeafe, #eef2ff, #e5e7eb);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111827;
}

/* Contenedor tarjeta */
.auth-wrapper {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.auth-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(15,23,42,0.18);
    padding: 28px 26px 24px;
    border: 1px solid rgba(148,163,184,0.3);
}

/* Cabecera de título */
.auth-logo {
    font-size: 20px;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 4px;
}

.auth-subtitle-top {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 10px;
}

.auth-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 6px;
}

.auth-description {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 20px;
}

/* ===========================
    FORMULARIO
=========================== */

.auth-form label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 4px;
}

.auth-form .field {
    margin-bottom: 14px;
}

.auth-input {
    width: 100%;
    padding: 10px 11px;
    border-radius: 10px;
    border: 1px solid #cbd5f5;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #f9fbff;
}

.auth-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px rgba(37,99,235,0.25);
    background: #ffffff;
}

/* Botón principal */
.auth-btn {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 11px 0;
    background: #2563eb;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    margin-top: 8px;
    box-shadow: 0 14px 35px rgba(37,99,235,0.50);
    transition: transform 0.08s, box-shadow 0.08s, background 0.2s;
}

.auth-btn:hover {
    background: #1d4ed8;
}

.auth-btn:active {
    transform: translateY(1px);
    box-shadow: 0 8px 25px rgba(37,99,235,0.55);
}

/* ===========================
    ERRORES / MENSAJES
=========================== */

.auth-errors {
    background: #fee2e2;
    color: #991b1b;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 13px;
    margin-bottom: 14px;
    border: 1px solid #fecaca;
}

.auth-errors ul {
    margin: 0;
    padding-left: 18px;
}

.auth-note {
    font-size: 12px;
    color: #6b7280;
    margin-top: 8px;
}

/* ===========================
    PIE / ENLACES
=========================== */

.auth-footer {
    margin-top: 14px;
    font-size: 13px;
    color: #6b7280;
    text-align: center;
}

.auth-footer a {
    color: #2563eb;
    font-weight: 500;
}

/* ===========================
    RESPONSIVE
=========================== */

@media (max-width: 600px) {
    .auth-card {
        padding: 24px 20px 20px;
    }
}
