/* =========================================
   FOXBET - AUTH
   Login / Register
========================================= */

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

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

    padding: 24px 16px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(24, 76, 108, 0.28),
            transparent 42%
        ),
        linear-gradient(
            180deg,
            #071a2b 0%,
            #061624 100%
        );
}

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

    margin: 0 auto;
}


/* =========================================
   LOGO
========================================= */

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    width: fit-content;

    margin: 0 auto 22px;

    color: #ffffff;

    text-decoration: none;
}

.auth-logo-mark {
    width: 42px;
    height: 42px;

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

    background: #35c759;
    color: #06131e;

    border-radius: 5px;

    font-size: 23px;
    font-weight: 900;
    line-height: 1;
}

.auth-logo-text {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.6px;
}

.auth-logo-text span {
    color: #35c759;
}


/* =========================================
   CARD
========================================= */

.auth-card {
    width: 100%;

    padding: 25px 22px 22px;

    background: #0d2940;

    border: 1px solid #1a4059;

    border-radius: 5px;

    box-shadow:
        0 14px 35px rgba(0, 0, 0, 0.24);
}


/* =========================================
   HEADING
========================================= */

.auth-heading {
    margin-bottom: 23px;

    text-align: center;
}

.auth-heading h1 {
    margin: 0 0 7px;

    color: #ffffff;

    font-size: 22px;
    font-weight: 800;

    letter-spacing: -0.3px;
}

.auth-heading p {
    margin: 0;

    color: #7891a2;

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


/* =========================================
   FORM
========================================= */

.auth-form {
    width: 100%;
}

.form-group {
    margin-bottom: 17px;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    color: #b9cad6;

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

.form-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    margin-bottom: 7px;
}

.form-label-row label {
    margin: 0;
}


/* =========================================
   FORGOT PASSWORD
========================================= */

.forgot-link {
    color: #35c759;

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

    text-decoration: none;

    white-space: nowrap;
}

.forgot-link:hover {
    text-decoration: underline;
}


/* =========================================
   INPUT
========================================= */

.input-wrap {
    position: relative;

    width: 100%;
}

.input-icon {
    position: absolute;

    left: 13px;
    top: 50%;

    width: 17px;
    height: 17px;

    color: #5f7b8d;

    transform: translateY(-50%);

    pointer-events: none;
}

.input-wrap input {
    width: 100%;
    height: 45px;

    padding:
        0 43px
        0 39px;

    background: #081d2e;

    border: 1px solid #1a4059;
    border-radius: 4px;

    outline: none;

    color: #ffffff;

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

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

.input-wrap input::placeholder {
    color: #587284;
}

.input-wrap input:hover {
    border-color: #28516b;
}

.input-wrap input:focus {
    border-color: #35c759;

    background: #092136;

    box-shadow:
        0 0 0 2px rgba(53, 199, 89, 0.08);
}


/* =========================================
   PASSWORD TOGGLE
========================================= */

.password-toggle {
    position: absolute;

    right: 8px;
    top: 50%;

    width: 31px;
    height: 31px;

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

    padding: 0;

    background: transparent;

    border: 0;

    color: #668496;

    transform: translateY(-50%);

    cursor: pointer;
}

.password-toggle:hover {
    color: #35c759;
}

.password-toggle svg {
    width: 17px;
    height: 17px;
}

.password-toggle .eye-closed {
    display: none;
}

.password-toggle.password-visible .eye-open {
    display: none;
}

.password-toggle.password-visible .eye-closed {
    display: block;
}


/* =========================================
   REMEMBER ME
========================================= */

.remember-row {
    display: flex;
    align-items: center;

    margin:
        1px 0
        18px;
}

.remember-control {
    position: relative;

    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin: 0;

    color: #7891a2;

    font-size: 10px;
    font-weight: 600;

    cursor: pointer;

    user-select: none;
}

.remember-control input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;

    pointer-events: none;
}

.custom-checkbox {
    width: 15px;
    height: 15px;

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

    background: #081d2e;

    border: 1px solid #28516b;
    border-radius: 3px;

    transition:
        background 0.15s ease,
        border-color 0.15s ease;
}

.remember-control input:checked
+ .custom-checkbox {
    background: #35c759;

    border-color: #35c759;
}

.remember-control input:checked
+ .custom-checkbox::after {
    content: "";

    width: 7px;
    height: 4px;

    border-left: 1.5px solid #06131e;
    border-bottom: 1.5px solid #06131e;

    transform:
        rotate(-45deg)
        translate(0, -1px);
}

.remember-control:hover {
    color: #a9bbc7;
}


/* =========================================
   SUBMIT BUTTON
========================================= */

.auth-submit {
    width: 100%;
    height: 45px;

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

    padding: 0;

    background: #35c759;
    color: #06131e;

    border: 1px solid #35c759;
    border-radius: 4px;

    font-family: inherit;
    font-size: 11px;
    font-weight: 900;

    letter-spacing: 0.35px;

    cursor: pointer;

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        transform 0.1s ease,
        opacity 0.15s ease;
}

.auth-submit:hover {
    background: #43d466;
    border-color: #43d466;
}

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

.auth-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}


/* =========================================
   MESSAGE
========================================= */

.auth-message {
    margin:
        -3px 0
        14px;

    padding: 10px 11px;

    border-radius: 4px;

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

.auth-message[hidden] {
    display: none;
}

.auth-error {
    background: rgba(214, 63, 63, 0.10);

    border: 1px solid rgba(214, 63, 63, 0.30);

    color: #ff9292;
}


/* =========================================
   SWITCH
========================================= */

.auth-switch {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 5px;

    margin-top: 19px;

    color: #688394;

    font-size: 10px;

    text-align: center;
}

.auth-switch a {
    color: #35c759;

    font-weight: 800;

    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}


/* =========================================
   FOOTBALL LINK
========================================= */

.auth-football-link {
    width: 100%;

    min-height: 43px;

    display: flex;
    align-items: center;

    gap: 9px;

    margin-top: 11px;
    padding: 0 13px;

    background: #0b2236;

    border: 1px solid #173b54;
    border-radius: 4px;

    color: #7891a2;

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

    text-decoration: none;

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.auth-football-link:hover {
    background: #102c43;

    border-color: #28516b;

    color: #ffffff;
}

.auth-football-link > svg:first-child {
    width: 17px;
    height: 17px;

    flex-shrink: 0;
}

.auth-football-link .arrow-icon {
    width: 15px;
    height: 15px;

    margin-left: auto;

    flex-shrink: 0;
}


/* =========================================
   FOOTER
========================================= */

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

    color: #405b6c;

    font-size: 9px;

    text-align: center;

    letter-spacing: 0.2px;
}


/* =========================================
   DESKTOP
========================================= */

@media (min-width: 600px) {

    .auth-page {
        padding: 35px 20px;
    }

    .auth-container {
        max-width: 420px;
    }

    .auth-card {
        padding:
            28px 27px
            24px;
    }

    .auth-heading h1 {
        font-size: 23px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 360px) {

    .auth-page {
        padding:
            18px 12px;
    }

    .auth-logo {
        margin-bottom: 17px;
    }

    .auth-logo-mark {
        width: 38px;
        height: 38px;

        font-size: 21px;
    }

    .auth-logo-text {
        font-size: 23px;
    }

    .auth-card {
        padding:
            21px 16px
            19px;
    }

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

    .auth-heading h1 {
        font-size: 20px;
    }

    .input-wrap input,
    .auth-submit {
        height: 43px;
    }
}