/* === ESTILO DE AUTENTICACIÓN PROFESIONAL v4 (Corregido y Mejorado) === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --color-bg: #111827;
    --color-bg-light: #1F2937;
    --color-gold: #D5A12E;
    --color-gold-hover: #F7D060;
    --color-text: #E5E7EB;
    --color-text-muted: #9CA3AF;
    --color-border: rgba(247, 208, 96, 0.2);
    --color-border-focus: rgba(247, 208, 96, 0.5);
    --color-success: #10B981;
    --color-error: #EF4444;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: var(--color-bg);
    color: var(--color-text);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* ... La decoración de fondo animada se queda igual ... */
body::before {
    content: '';
    position: fixed;
    width: 600px;
    height: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(213, 161, 46, 0.1), transparent 70%);
    animation: pulse 10s infinite ease-in-out;
    z-index: 0;
}
@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.1; }
    50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0.15; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0.1; }
}

.auth-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 450px;
    background-color: var(--color-bg-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.auth-header { text-align: center; margin-bottom: 30px; }
.auth-header img.logo { width: 80px; margin-bottom: 1rem; }
.auth-header h1 { margin: 0; font-weight: 600; }
.auth-header .i-orange { color: var(--color-gold-hover); }
.auth-header .tsvc-green { color: #2ecc71; }

/* --- MEJORAS AL FORMULARIO --- */
.auth-form .form-group {
    margin-bottom: 1.25rem;
}

/* NUEVO: Estilo para las etiquetas <label> */
.auth-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.auth-form .form-control {
    width: 100%;
    background-color: rgba(17, 24, 39, 0.5);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 14px;
    color: var(--color-text);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    /* CORRECCIÓN CLAVE PARA MÓVILES */
    box-sizing: border-box; 
}
.auth-form .form-control:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px var(--color-border-focus);
}

.auth-form .btn-submit {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--color-bg);
    background: linear-gradient(90deg, var(--color-gold-hover), var(--color-gold));
    transition: all 0.3s ease;
    margin-top: 1rem; /* Espacio extra antes del botón */
}
.auth-form .btn-submit:hover {
    box-shadow: 0 7px 15px rgba(247, 208, 96, 0.2);
    transform: translateY(-2px);
}

.auth-footer { text-align: center; margin-top: 2rem; }
.auth-footer a { color: var(--color-text-muted); text-decoration: none; transition: color 0.3s; }
.auth-footer a:hover { color: var(--color-gold-hover); }

/* ... (Estilos de alertas sin cambios) ... */
.alert { padding: 1rem; margin-bottom: 1rem; border-radius: 8px; text-align: center; font-weight: 500; }
.alert-danger { background-color: rgba(239, 68, 68, 0.1); color: #F87171; border: 1px solid rgba(239, 68, 68, 0.2); }
.alert-success { background-color: rgba(16, 185, 129, 0.1); color: #34D399; border: 1px solid rgba(16, 185, 129, 0.2); }

/* ... (Responsividad sin cambios) ... */
@media (max-width: 500px) {
    body { padding: 0; }
    .auth-card { padding: 30px 25px; border-radius: 0; min-height: 100vh; border: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; background-color: var(--color-bg-light); }
}