/* ==========================================
   AUTH — Login / Registro / Recuperación
   Minimalista premium
   ========================================== */

.auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 18px;
    background:
        radial-gradient(circle at top, rgba(255, 0, 85, 0.13), transparent 30%),
        radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.05), transparent 25%),
        var(--color-fondo);
    font-family: 'DM Sans', sans-serif;
    margin: 0;
}

.auth-wrap {
    width: 100%;
    max-width: 420px;
    padding: 8px;
}

.auth-card {
    background: rgba(18, 18, 28, 0.88);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    padding: 34px 28px 28px;
    box-shadow: 0 18px 48px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.auth-logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 28px;
    letter-spacing: -0.8px;
    color: var(--color-texto-claro);
    text-align: center;
}

.auth-logo span {
    color: var(--color-primario);
}

.auth-subtitle {
    text-align: center;
    color: rgba(240,240,255,0.72);
    font-size: 13.5px;
    margin: 10px 0 22px;
    line-height: 1.5;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-form label {
    color: rgba(240,240,255,0.8);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-top: 8px;
}

.auth-form input {
    width: 100%;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 12px 14px;
    color: var(--color-texto-claro);
    font-size: 14px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.auth-form input:focus {
    border-color: rgba(255,0,85,0.7);
    box-shadow: 0 0 0 4px rgba(255,0,85,0.1);
    background: rgba(255,255,255,0.03);
}

.auth-btn {
    margin-top: 18px;
    background: linear-gradient(135deg, var(--brand), #c21346);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 13px 14px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 12px 24px rgba(255,0,85,0.22);
}

.auth-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

.auth-link,
.auth-google-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
    color: rgba(240,240,255,0.8);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.15s ease, opacity 0.15s ease;
}

.auth-link:hover,
.auth-google-btn:hover {
    color: var(--color-primario);
}

.auth-google-btn {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 12px 14px;
    font-weight: 600;
}

.auth-error {
    color: #FF6B6B;
    font-size: 13px;
    margin-top: 12px;
    text-align: center;
    line-height: 1.5;
}

.hidden {
    display: none;
}

.otp-panel {
    padding-top: 16px;
    text-align: center;
}

.otp-panel h3 {
    margin: 0 0 8px;
    color: var(--color-texto-claro);
    font-size: 18px;
    font-family: 'Syne', sans-serif;
}

.otp-panel p {
    color: rgba(240,240,255,0.7);
    font-size: 13px;
    line-height: 1.5;
}

.otp-input {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    letter-spacing: 0.7rem;
    font-size: 20px;
    font-weight: 700;
    margin: 14px 0 12px;
    background: rgba(255,255,255,0.02);
    color: var(--color-texto-claro);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 12px 10px;
}

.security-banner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    margin: 0 0 18px;
    border: 1px solid rgba(45, 212, 191, 0.22);
    border-radius: 12px;
    background: rgba(45, 212, 191, 0.06);
    color: rgba(240,240,255,0.8);
    font-size: 12px;
    line-height: 1.5;
}

.security-banner i {
    color: #2dd4bf;
    margin-top: 2px;
    flex-shrink: 0;
}
