
/* ==========================================
   ONE TEAM CREATIVE
   AUTHENTICATION PAGE
   FINAL VERSION
========================================== */

/* 01. ROOT VARIABLES */

:root {
    --black: #050608;
    --surface: #0D1118;
    --surface-light: #111923;

    --white: #FFFFFF;
    --muted: #929CAA;

    --blue: #007786;
    --sky: #53C8F5;

    --gradient: linear-gradient(
        110deg,
        #007786,
        #35A9ED,
        #53C8F5
    );

    --border: rgba(255,255,255,0.09);
}


/* 02. RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--black);
    color: var(--white);

    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font-family: inherit;
}


/* 03. PAGE CONTAINER */

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

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

    padding: 30px 20px;

    background:
        radial-gradient(
            circle at 50% 10%,
            rgba(0,119,134,0.13),
            transparent 45%
        ),
        var(--black);
}


/* 04. LOGIN CARD */

.auth-card {
    display: flex;
    flex-direction: column;

    width: 100%;
    max-width: 420px;

    padding: 30px;

    background: rgba(13,17,24,0.97);

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

    box-shadow: 0 25px 80px rgba(0,0,0,0.40);
}


/* 05. BRAND LOGO */

.auth-card > .brand {
    display: flex !important;

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

    width: 100%;
    height: auto !important;
    min-height: 0 !important;

    margin: 0 0 12px !important;
    padding: 0 !important;

    line-height: 0;
    flex-shrink: 0;
}

.auth-card > .brand > .brand-logo {
    display: block;

    width: 150px !important;
    max-width: 150px !important;

    height: auto !important;
    max-height: 45px !important;

    object-fit: contain;
    object-position: left center;

    margin: 0 !important;
    padding: 0 !important;
}


/* 06. LOGIN HEADING */

.auth-card > .auth-heading {
    display: block;

    width: 100%;

    margin: 0 0 18px !important;
    padding: 0 !important;

    height: auto !important;
    min-height: 0 !important;
}

.auth-heading .eyebrow {
    display: block;

    margin: 0 0 7px;

    color: var(--sky);

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

    letter-spacing: 1.8px;
    line-height: 1.4;
}

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

    color: var(--white);

    font-family: 'Sora', sans-serif;
    font-size: 32px;
    font-weight: 700;

    line-height: 1.2;
    letter-spacing: -1px;
}

.auth-heading p {
    margin: 0;

    color: var(--muted);

    font-size: 12px;
    font-weight: 400;

    line-height: 1.6;
}


/* 07. GOOGLE LOGIN BUTTON */

.google-login-btn {
    display: flex;

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

    gap: 12px;

    width: 100%;
    min-height: 48px;

    margin: 0 0 18px;
    padding: 12px 16px;

    background: #080C12;
    color: var(--white);

    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;

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

    text-decoration: none;

    transition: .2s ease;
}

.google-login-btn:hover {
    background: #111923;
    border-color: var(--sky);
}

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

    color: #4285F4;

    font-size: 19px;
    font-weight: 800;
}

.google-divider {
    display: flex;

    align-items: center;
    gap: 12px;

    margin: 20px 0;

    color: var(--muted);

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

    letter-spacing: 1px;
    white-space: nowrap;
}

.google-divider::before,
.google-divider::after {
    content: "";

    flex: 1;
    height: 1px;

    background: var(--border);
}


/* 08. LOGIN FORM */

#loginForm {
    display: block;

    width: 100%;

    margin: 0;
    padding: 0;
}

.form-group {
    width: 100%;

    margin: 0 0 14px;
}

.form-group label {
    display: block;

    margin: 0 0 6px;

    color: var(--white);

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

.form-group input {
    display: block;

    width: 100%;
    height: 44px;

    padding: 0 13px;

    background: #080C12;
    color: var(--white);

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

    outline: none;

    font-size: 12px;

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

.form-group input::placeholder {
    color: #687382;
}

.form-group input:focus {
    border-color: var(--sky);

    box-shadow: 0 0 0 3px rgba(83,200,245,0.10);
}


/* 09. REMEMBER & FORGOT PASSWORD */

.form-options {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 10px;

    margin: 0 0 16px;

    font-size: 11px;
}

.remember {
    display: flex;

    align-items: center;
    gap: 7px;

    color: var(--muted);

    cursor: pointer;
}

.remember input {
    width: 13px;
    height: 13px;

    margin: 0;

    accent-color: var(--sky);
    cursor: pointer;
}

.form-options a {
    color: var(--sky);
    font-weight: 600;

    transition: color 0.2s ease;
}

.form-options a:hover {
    color: var(--white);
}


/* 10. LOGIN BUTTON */

.auth-button {
    display: block;

    width: 100%;
    min-height: 46px;

    padding: 11px 16px;

    background: var(--gradient);
    color: var(--white);

    border: none;
    border-radius: 9px;

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

    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.auth-button:hover {
    transform: translateY(-2px);

    box-shadow: 0 10px 25px rgba(53,169,237,0.20);
}

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


/* 11. DIVIDER */

.auth-divider {
    display: flex;

    align-items: center;
    gap: 11px;

    margin: 19px 0 13px;

    color: #687382;

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

    letter-spacing: 1.2px;
    white-space: nowrap;
}

.auth-divider::before,
.auth-divider::after {
    content: "";

    flex: 1;
    height: 1px;

    background: var(--border);
}


/* 12. REGISTER FOOTER */

.auth-footer {
    margin: 0;

    color: var(--muted);

    font-size: 11px;
    line-height: 1.5;

    text-align: center;
}

.auth-footer a {
    color: var(--sky);
    font-weight: 800;

    transition: color 0.2s ease;
}

.auth-footer a:hover {
    color: var(--white);
}


/* 13. BACK TO WEBSITE */

.back-home {
    display: block;

    margin: 15px 0 0;

    color: var(--muted);

    font-size: 11px;
    text-align: center;

    transition: color 0.2s ease;
}

.back-home:hover {
    color: var(--sky);
}


/* 14. COPYRIGHT */

.auth-bottom {
    margin: 15px 0 0;

    color: #687382;

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

    text-align: center;
}


/* 15. TABLET RESPONSIVE */

@media (max-width: 768px) {

    .auth-container {
        padding: 28px 20px;
    }

    .auth-card {
        max-width: 400px;
        padding: 28px 26px;
    }

}


/* 16. MOBILE RESPONSIVE */

@media (max-width: 520px) {

    .auth-container {
        padding: 22px 15px;
    }

    .auth-card {
        max-width: 100%;
        padding: 25px 21px;

        border-radius: 17px;
    }

    .auth-card > .brand {
        margin-bottom: 11px !important;
    }

    .auth-card > .brand > .brand-logo {
        width: 140px !important;
        max-width: 140px !important;
    }

    .auth-card > .auth-heading {
        margin-bottom: 16px !important;
    }

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

    .auth-heading p {
        font-size: 12px;
    }

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

    .form-group input {
        height: 43px;
    }

    .auth-button {
        min-height: 44px;
    }

    .google-login-btn {
        min-height: 46px;
    }

    .google-divider {
        margin: 18px 0;
        font-size: 9px;
    }

    .auth-divider {
        margin: 17px 0 12px;
    }

    .back-home {
        margin-top: 13px;
    }

    .auth-bottom {
        margin-top: 13px;
    }

}


/* 17. SMALL MOBILE */

@media (max-width: 360px) {

    .auth-card {
        padding: 23px 17px;
    }

    .auth-card > .brand > .brand-logo {
        width: 130px !important;
        max-width: 130px !important;
    }

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

    .form-options {
        font-size: 10px;
    }

    .google-divider {
        font-size: 8px;
        letter-spacing: .7px;
    }

}
