/* =========================================================
   SPORTDATA
   Authentication / Login
========================================================= */


/* ---------------------------------------------------------
   Reset local
--------------------------------------------------------- */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    background: #f4f6f8;
    color: #172033;
}


/* ---------------------------------------------------------
   Page
--------------------------------------------------------- */

.auth-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px 20px;

    background:
        linear-gradient(
            135deg,
            #f7f9fc 0%,
            #eef2f7 100%
        );
}


/* ---------------------------------------------------------
   Container
--------------------------------------------------------- */

.auth-container {
    width: 100%;
    max-width: 430px;
}


/* ---------------------------------------------------------
   Brand
--------------------------------------------------------- */

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

.auth-logo {
    display: inline-block;

    color: #111827;

    font-size: 30px;
    font-weight: 800;
    letter-spacing: 2px;

    text-decoration: none;
}

.auth-brand p {
    margin: 9px 0 0;

    color: #6b7280;

    font-size: 14px;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   Card
--------------------------------------------------------- */

.auth-card {
    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 14px;

    padding: 36px;

    box-shadow:
        0 10px 30px
        rgba(15, 23, 42, 0.06);
}


/* ---------------------------------------------------------
   Header
--------------------------------------------------------- */

.auth-card__header {
    margin-bottom: 28px;
}

.auth-card__header h1 {
    margin: 0;

    color: #111827;

    font-size: 25px;
    font-weight: 700;
}

.auth-card__header p {
    margin: 7px 0 0;

    color: #6b7280;

    font-size: 14px;
}


/* ---------------------------------------------------------
   Alert
--------------------------------------------------------- */

.auth-alert {
    margin-bottom: 22px;

    padding: 12px 14px;

    border-radius: 8px;

    font-size: 14px;
    line-height: 1.5;
}

.auth-alert--error {
    color: #991b1b;

    background: #fef2f2;

    border: 1px solid #fecaca;
}


/* ---------------------------------------------------------
   Form
--------------------------------------------------------- */

.auth-form {
    width: 100%;
}

.auth-field {
    margin-bottom: 20px;
}

.auth-field__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.auth-field label {
    display: block;

    margin-bottom: 8px;

    color: #374151;

    font-size: 13px;
    font-weight: 600;
}

.auth-field input {
    width: 100%;
    height: 48px;

    padding: 0 14px;

    color: #111827;

    background: #ffffff;

    border: 1px solid #d1d5db;
    border-radius: 8px;

    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.auth-field input::placeholder {
    color: #9ca3af;
}

.auth-field input:focus {
    border-color: #2563eb;

    box-shadow:
        0 0 0 3px
        rgba(37, 99, 235, 0.10);
}


/* ---------------------------------------------------------
   Button
--------------------------------------------------------- */

.auth-button {
    width: 100%;
    height: 48px;

    margin-top: 4px;

    border: 0;
    border-radius: 8px;

    background: #111827;
    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.1s ease;
}

.auth-button:hover {
    background: #1f2937;
}

.auth-button:active {
    transform: translateY(1px);
}


/* ---------------------------------------------------------
   Help
--------------------------------------------------------- */

.auth-help {
    margin-top: 22px;

    text-align: center;
}

.auth-help a {
    color: #4b5563;

    font-size: 13px;

    text-decoration: none;
}

.auth-help a:hover {
    color: #111827;
    text-decoration: underline;
}


/* ---------------------------------------------------------
   Footer
--------------------------------------------------------- */

.auth-footer {
    margin-top: 25px;

    text-align: center;
}

.auth-footer a {
    color: #4b5563;

    font-size: 13px;

    text-decoration: none;
}

.auth-footer a:hover {
    color: #111827;
}

.auth-footer p {
    margin: 12px 0 0;

    color: #9ca3af;

    font-size: 12px;
}


/* ---------------------------------------------------------
   Responsive
--------------------------------------------------------- */

@media (max-width: 520px) {

    .auth-page {
        align-items: flex-start;

        padding:
            35px
            16px;
    }

    .auth-card {
        padding:
            28px
            22px;
    }

    .auth-logo {
        font-size: 26px;
    }

}