/* Estilos de las pantallas de auth (login/registro/recuperar clave/etc).
   Reutiliza la paleta real del sitio publico (public/topic/css/templatemo-topic-listing.css:
   --primary-color, --secondary-color) en vez de los grises/indigo por defecto de Jetstream. */

:root {
    --auth-primary: #13547a;
    --auth-secondary: #80d0c7;
    --auth-accent: #00bfa6;
    --auth-bg: #f4f8f9;
}

body:has(.auth-shell) {
    background: var(--auth-bg);
}

.auth-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: linear-gradient(15deg, var(--auth-primary) 0%, var(--auth-secondary) 100%);
}

.auth-brand {
    display: block;
    text-align: center;
    text-decoration: none;
    margin-bottom: 1.75rem;
}

.auth-brand-title {
    font-family: 'Montserrat', 'Figtree', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.auth-brand-title .bi-back {
    margin-right: 0.35rem;
}

.auth-brand-subtitle {
    display: block;
    font-family: 'Open Sans', 'Figtree', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.15rem;
}

.auth-shell .w-full.sm\:max-w-md {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(19, 84, 122, 0.25);
    border-top: 4px solid var(--auth-accent);
}

.auth-shell input:not([type="checkbox"]):not([type="radio"]) {
    border-radius: 8px;
    border-color: #d7e3e6 !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-shell input:focus {
    border-color: var(--auth-accent) !important;
    box-shadow: 0 0 0 3px rgba(0, 191, 166, 0.18) !important;
    outline: none;
}

.auth-shell button[type="submit"] {
    background: linear-gradient(15deg, var(--auth-primary) 0%, var(--auth-secondary) 100%) !important;
    border-radius: 8px !important;
    letter-spacing: 0.06em;
}

.auth-shell button[type="submit"]:hover {
    filter: brightness(1.08);
}

.auth-shell a.underline {
    color: var(--auth-primary) !important;
}
