/* =====================================================
   MSS - MIXO SPORTS SYSTEM
   Componente: Identity
   Módulo: Intro
   Archivo: intro.css
   Versión: V1.2.1
===================================================== */

:root {
    color-scheme: dark;

    --background: #080c15;
    --card: #111827;
    --field: #0b1220;

    --text: #f8fafc;
    --muted: #94a3b8;

    --accent: #38bdf8;
    --accent-hover: #0ea5e9;

    --border: #263244;
    --danger: #f87171;
    --success: #4ade80;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top,
            #172a43 0%,
            var(--background) 58%);
    color: var(--text);
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-card {
    width: 100%;
    max-width: 440px;
    padding: 42px 36px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.brand {
    text-align: center;
    margin-bottom: 36px;
}

.brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;
    margin: 0 auto 14px;

    border-radius: 18px;
    background: var(--accent);
    color: #06121e;

    font-size: 38px;
    font-weight: 900;
}

.brand h1 {
    margin: 0;
    font-size: 36px;
    letter-spacing: 5px;
}

.brand p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 4px;
}

.login-heading {
    margin-bottom: 28px;
}

.login-heading h2 {
    margin: 0 0 8px;
    font-size: 25px;
}

.login-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.field {
    margin-bottom: 22px;
}

.field label {
    display: block;
    margin-bottom: 9px;
    font-size: 13px;
    font-weight: 600;
}

.field input {
    width: 100%;
    height: 48px;
    padding: 0 14px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: var(--field);
    color: var(--text);

    font-size: 15px;
    outline: none;
}

.field input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12);
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 90px;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);

    border: none;
    background: transparent;
    color: var(--accent);

    cursor: pointer;
    font-size: 12px;
}

.login-button {
    width: 100%;
    height: 50px;

    border: none;
    border-radius: 10px;

    background: var(--accent);
    color: #06121e;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;
    transition: background 0.2s ease;
}

.login-button:hover {
    background: var(--accent-hover);
}

.login-button:disabled {
    opacity: 0.65;
    cursor: wait;
}

.login-message {
    min-height: 18px;
    margin: 0 0 16px;
    color: var(--danger);
    font-size: 13px;
    text-align: center;
}

.login-success {
    padding: 20px;
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-radius: 12px;
    background: rgba(74, 222, 128, 0.06);
    text-align: center;
}

.login-success h2 {
    color: var(--success);
}

.login-success p {
    line-height: 1.6;
    color: var(--muted);
}

.next-version {
    font-size: 12px;
}

.login-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;

    margin-top: 36px;
    padding-top: 20px;

    border-top: 1px solid var(--border);

    color: var(--muted);
    font-size: 10px;
}

[hidden] {
    display: none !important;
}

@media (max-width: 480px) {
    .login-card {
        padding: 30px 22px;
    }

    .brand h1 {
        font-size: 30px;
    }

    .login-footer {
        flex-direction: column;
        text-align: center;
    }
}