/* Login, "olvidé mi contraseña" y restablecer contraseña: copia del layout de
   invitado de Laravel Breeze del sistema viejo, con sus mismos valores de
   Tailwind (gray-800/900, indigo-600, rounded-md, etc.). Siempre en modo
   oscuro: el original fuerza <html class="dark">, no sigue al sistema. */

:root {
    --auth-fondo: #111827;          /* gray-900 */
    --auth-tarjeta: #1f2937;        /* gray-800 */
    --auth-label: #d1d5db;          /* gray-300 */
    --auth-texto-tenue: #9ca3af;    /* gray-400 */
    --auth-texto-hover: #f3f4f6;    /* gray-100 */
    --auth-input-fondo: #111827;    /* gray-900 */
    --auth-input-borde: #374151;    /* gray-700 */
    --auth-input-texto: #d1d5db;    /* gray-300 */
    --auth-boton-fondo: #e5e7eb;    /* gray-200 */
    --auth-boton-hover: #ffffff;
    --auth-boton-texto: #1f2937;    /* gray-800 */
    --auth-foco: #4f46e5;           /* indigo-600 */
    --auth-check: #4f46e5;          /* indigo-600 */
    --auth-error: #f87171;          /* red-400 */
    --auth-estado: #4ade80;         /* green-400 */
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Figtree', ui-sans-serif, system-ui, sans-serif;
    color: #111827;
    -webkit-font-smoothing: antialiased;
    background: var(--auth-fondo);
}

.auth-pagina {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1.5rem;
    background: var(--auth-fondo);
}

@media (min-width: 640px) {
    .auth-pagina {
        justify-content: center;
        padding-top: 0;
    }
}

.auth-tarjeta {
    width: 100%;
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background: var(--auth-tarjeta);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    overflow: hidden;
}

@media (min-width: 640px) {
    .auth-tarjeta {
        max-width: 28rem;
        border-radius: 0.5rem;
    }
}

.auth-label {
    display: block;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--auth-label);
}

.auth-input {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--auth-input-borde);
    border-radius: 0.375rem;
    background: var(--auth-input-fondo);
    color: var(--auth-input-texto);
    font: inherit;
    font-size: 1rem;
    line-height: 1.5rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.auth-input:focus {
    outline: none;
    border-color: var(--auth-foco);
    box-shadow: 0 0 0 1px var(--auth-foco);
}

.auth-mt-4 {
    margin-top: 1rem;
}

.auth-recordar {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--auth-texto-tenue);
}

.auth-checkbox {
    width: 1rem;
    height: 1rem;
    margin: 0;
    accent-color: var(--auth-check);
}

.auth-acciones {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1rem;
}

.auth-link {
    font-size: 0.875rem;
    color: var(--auth-texto-tenue);
    text-decoration: underline;
    border-radius: 0.375rem;
}

.auth-link:hover {
    color: var(--auth-texto-hover);
}

.auth-boton {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    background: var(--auth-boton-fondo);
    color: var(--auth-boton-texto);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.75rem;
    line-height: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background-color 150ms ease-in-out;
}

.auth-boton:hover,
.auth-boton:focus {
    background: var(--auth-boton-hover);
}

.auth-boton:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--auth-tarjeta), 0 0 0 4px #6366f1;
}

.auth-intro {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--auth-texto-tenue);
}

.auth-estado {
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--auth-estado);
}

.auth-error {
    margin: 0.5rem 0 0;
    font-size: 0.875rem;
    color: var(--auth-error);
}
