/* =========================================================
   TOBWENE AUTHENTICATION
   Sign in + Register
   ========================================================= */

.auth-page {
    min-height: 100vh;
    display: flex;
    background: #07080b;
    color: #ffffff;
}

.auth-card {
    width: 48%;
    max-width: 720px;
    min-width: 500px;
    padding: 34px 5vw 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #07080b;
}

.auth-card-register {
    padding-top: 28px;
    padding-bottom: 35px;
}

.auth-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 52px;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #ffffff;
}

.auth-logo-mark {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background:
        linear-gradient(
            135deg,
            #ff443a,
            #c9140d
        );
    font-size: 1.15rem;
    font-weight: 900;
    box-shadow:
        0 10px 30px
        rgba(255, 59, 48, 0.20);
}

.auth-logo > span:last-child {
    display: flex;
    flex-direction: column;
}

.auth-logo strong {
    font-size: 1.05rem;
}

.auth-logo small {
    margin-top: 1px;
    color: #7f828a;
    font-size: 0.68rem;
}

.auth-back {
    color: #8f929a;
    font-size: 0.82rem;
    transition: color 0.2s ease;
}

.auth-back:hover {
    color: #ffffff;
}

.auth-heading {
    margin-bottom: 28px;
}

.auth-kicker {
    color: #ff5b53;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.auth-heading h1 {
    margin: 9px 0 12px;
    font-size: clamp(2.4rem, 4.5vw, 4.5rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
}

.auth-heading p {
    max-width: 540px;
    margin: 0;
    color: #a7aab2;
    font-size: 0.95rem;
    line-height: 1.6;
}

.auth-form-modern {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-field > span {
    color: #d9dbe0;
    font-size: 0.82rem;
    font-weight: 700;
}

.auth-field > span small {
    margin-left: 5px;
    color: #6f737c;
    font-size: 0.7rem;
    font-weight: 500;
}

.auth-field input {
    width: 100%;
    height: 52px;
    padding: 0 15px;
    border:
        1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    outline: none;
    background: #111319;
    color: #ffffff;
    font: inherit;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.auth-field input::placeholder {
    color: #60636b;
}

.auth-field input:hover {
    background: #14171d;
}

.auth-field input:focus {
    border-color:
        rgba(255, 59, 48, 0.70);
    box-shadow:
        0 0 0 4px
        rgba(255, 59, 48, 0.08);
}

.auth-password-wrap {
    position: relative;
}

.auth-password-wrap input {
    padding-right: 72px;
}

.auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    padding: 6px 8px;
    border: 0;
    background: transparent;
    color: #a6a9b1;
    font-size: 0.74rem;
    font-weight: 700;
    cursor: pointer;
    transform: translateY(-50%);
}

.auth-password-toggle:hover {
    color: #ffffff;
}

.auth-form-row {
    min-height: 18px;
    display: flex;
    justify-content: space-between;
}

.auth-small-link {
    color: #b5b8bf;
    font-size: 0.78rem;
}

.auth-small-link:hover {
    color: #ffffff;
}

.auth-primary-button,
.auth-secondary-button {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 800;
    transition:
        transform 0.18s ease,
        filter 0.18s ease,
        background 0.18s ease;
}

.auth-primary-button {
    margin-top: 4px;
    border: 0;
    background:
        linear-gradient(
            135deg,
            #ff443a,
            #d51b13
        );
    color: #ffffff;
    cursor: pointer;
    box-shadow:
        0 12px 30px
        rgba(255, 59, 48, 0.17);
}

.auth-primary-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.07);
}

.auth-secondary-button {
    border:
        1px solid rgba(255, 255, 255, 0.10);
    background: #111319;
    color: #ffffff;
}

.auth-secondary-button:hover {
    background: #171a20;
}

.auth-divider {
    position: relative;
    margin: 25px 0 18px;
    text-align: center;
}

.auth-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 1px;
    background:
        rgba(255, 255, 255, 0.08);
}

.auth-divider span {
    position: relative;
    z-index: 1;
    padding: 0 11px;
    background: #07080b;
    color: #696c74;
    font-size: 0.72rem;
}

.auth-terms {
    margin: 1px 0 2px;
    color: #70737b;
    font-size: 0.72rem;
    line-height: 1.5;
}

.auth-terms a {
    color: #b8bbc2;
}

.auth-terms a:hover {
    color: #ffffff;
}


/* =========================================================
   SHOWCASE SIDE
   ========================================================= */

.auth-showcase {
    position: relative;
    flex: 1;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 67% 26%,
            rgba(255, 59, 48, 0.28),
            transparent 25%
        ),
        radial-gradient(
            circle at 45% 66%,
            rgba(99, 69, 245, 0.17),
            transparent 29%
        ),
        linear-gradient(
            145deg,
            #151820,
            #08090c 68%
        );
}

.auth-showcase-register {
    background:
        radial-gradient(
            circle at 70% 25%,
            rgba(107, 78, 255, 0.28),
            transparent 27%
        ),
        radial-gradient(
            circle at 50% 72%,
            rgba(255, 59, 48, 0.20),
            transparent 29%
        ),
        linear-gradient(
            145deg,
            #161821,
            #08090c 68%
        );
}

.auth-showcase::before {
    content: "";
    position: absolute;
    width: 440px;
    height: 610px;
    top: 10%;
    right: 12%;
    border-radius: 34px;
    border:
        1px solid rgba(255, 255, 255, 0.06);
    background:
        linear-gradient(
            165deg,
            rgba(255, 255, 255, 0.06),
            rgba(255, 255, 255, 0.01)
        );
    transform: rotate(7deg);
    box-shadow:
        0 50px 100px
        rgba(0, 0, 0, 0.46);
}

.auth-showcase::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 420px;
    top: 25%;
    right: 41%;
    border-radius: 28px;
    background:
        linear-gradient(
            165deg,
            rgba(255, 59, 48, 0.13),
            rgba(255, 255, 255, 0.02)
        );
    transform: rotate(-9deg);
}

.auth-showcase-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            #07080b 0%,
            rgba(7, 8, 11, 0.12) 25%,
            transparent 58%
        ),
        linear-gradient(
            0deg,
            rgba(7, 8, 11, 0.72),
            transparent 56%
        );
}

.auth-showcase-content {
    position: absolute;
    z-index: 5;
    right: 7%;
    bottom: 7%;
    left: 8%;
}

.auth-showcase-content > span {
    color: #ff6159;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.auth-showcase-content h2 {
    max-width: 760px;
    margin: 10px 0 13px;
    font-size: clamp(2.8rem, 5vw, 5.7rem);
    line-height: 0.96;
    letter-spacing: -0.065em;
}

.auth-showcase-content p {
    max-width: 560px;
    margin: 0;
    color: #c1c3ca;
    line-height: 1.6;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .auth-showcase {
        display: none;
    }

    .auth-card {
        width: 100%;
        max-width: 720px;
        min-width: 0;
        margin: 0 auto;
    }
}


@media (max-width: 600px) {

    .auth-card {
        padding:
            24px 20px 80px;
    }

    .auth-card-top {
        margin-bottom: 40px;
    }

    .auth-back {
        font-size: 0.72rem;
    }

    .auth-heading h1 {
        font-size: 2.8rem;
    }

    .auth-heading p {
        font-size: 0.88rem;
    }

    .auth-field input {
        height: 50px;
    }

    .auth-primary-button,
    .auth-secondary-button {
        min-height: 50px;
    }
}
