/*
|--------------------------------------------------------------------------
| assets/css/auth-login.css — Login, olvidé mi contraseña, restablecer y
| verificar (auth/*.php). Colores y tipografía del website xcanface.com:
| ink #0F1B2D, teal #16716A / #1F8A7F, ivory #FAF8F4, line #E6E2DA.
|--------------------------------------------------------------------------
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Manrope:wght@600;700;800&display=swap');

body.auth {
    position: relative;
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 32px 16px;
    box-sizing: border-box;
    overflow-x: hidden;
    background: #FAF8F4;
    color: #0F1B2D;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

/* Círculos difuminados como en el website */
body.auth::before,
body.auth::after {
    content: "";
    position: fixed;
    z-index: 0;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

body.auth::before {
    top: -160px;
    left: -140px;
    background: rgba(31, 138, 127, 0.16);
}

body.auth::after {
    right: -160px;
    bottom: -180px;
    background: rgba(189, 178, 230, 0.35);
}

.auth-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    padding: 40px 38px 34px;
    border: 1px solid #E6E2DA;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(15, 27, 45, 0.08);
    box-sizing: border-box;
}

.auth-card img {
    max-width: 220px;
    height: auto !important;
}

.auth-card h1 {
    margin: 22px 0 6px;
    color: #0F1B2D;
    font-family: "Manrope", "Inter", system-ui, sans-serif;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
}

.auth-card > .muted,
.auth-card .auth-subtitle {
    margin: 0 0 26px;
    color: #6B7686;
    font-size: 14px;
    text-align: center;
}

.auth-card .field label {
    color: #0F1B2D;
    font-size: 13px;
    font-weight: 700;
}

.auth-card input {
    min-height: 46px;
    border: 1px solid #E6E2DA;
    border-radius: 12px;
    background: #ffffff;
    color: #0F1B2D;
    font-size: 15px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.auth-card input:focus {
    outline: none;
    border-color: #1F8A7F;
    box-shadow: 0 0 0 4px rgba(31, 138, 127, 0.14);
}

.auth-card a {
    color: #16716A;
    font-weight: 600;
    text-decoration: none;
}

.auth-card a:hover {
    color: #125A55;
    text-decoration: underline;
}

/* Botones (iguales a los del website) */

.auth-card .btn {
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
}

.auth-card .btn-primary {
    background: #0F1B2D;
    color: #ffffff;
}

.auth-card .btn-primary:hover {
    background: #1C2D47;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 27, 45, 0.18);
}

.auth-card .btn-light {
    background: #ffffff;
    color: #0F1B2D;
    box-shadow: inset 0 0 0 1px #E6E2DA;
}

.auth-card .btn-light:hover {
    color: #0F1B2D;
    box-shadow: inset 0 0 0 1px rgba(15, 27, 45, 0.35);
}

.auth-card form > div[style*="display:flex"] > .btn,
.auth-card .auth-actions > .btn {
    flex: 1 1 0;
}

.auth-card .alert {
    border-radius: 12px;
    font-size: 14px;
}

.auth-foot {
    margin: 22px 0 0;
    padding-top: 18px;
    border-top: 1px solid #EEEAE3;
    color: #6B7686;
    font-size: 13px;
    text-align: center;
}

@media (max-width: 520px) {
    .auth-card {
        padding: 30px 22px 26px;
        border-radius: 20px;
    }

    .auth-card form > div[style*="display:flex"] {
        flex-direction: column;
        align-items: stretch !important;
    }
}
