* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --background: #08090c;
    --card: #101218;
    --border: #20242d;

    --text: #f5f7fa;
    --muted: #858c98;
    --muted-dark: #565d68;

    --purple: #7657ff;
}

body {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 50% 15%,
            rgba(118, 87, 255, .09),
            transparent 36%
        ),
        var(--background);

    color: var(--text);

    font-family: "Inter", sans-serif;
}

button,
a {
    font-family: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}


/* PAGE */

.login-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px;
}

.login-container {
    width: 100%;
    max-width: 430px;
}


/* CARD */

.login-card {
    padding: 38px;

    border: 1px solid var(--border);
    border-radius: 17px;

    background: rgba(16, 18, 24, .96);

    box-shadow:
        0 30px 100px rgba(0, 0, 0, .4);
}


/* LOGO */

.logo {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    margin: 0 auto 22px;

    border-radius: 13px;

    background: var(--purple);

    font-size: 21px;
    font-weight: 800;

    box-shadow:
        0 0 35px rgba(118, 87, 255, .2);
}


/* TEXT */

.login-card h1 {
    text-align: center;

    font-size: 24px;
    font-weight: 800;

    letter-spacing: -.7px;
}

.description {
    max-width: 320px;

    margin: 9px auto 25px;

    color: var(--muted);

    text-align: center;

    font-size: 11px;
    line-height: 1.6;
}


/* GOOGLE */

.google-button {
    width: 100%;
    height: 47px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border: 1px solid #dedede;
    border-radius: 9px;

    background: #f5f5f5;

    color: #151515;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition: .15s;
}

.google-button:hover {
    background: white;
    transform: translateY(-1px);
}

.google-button:disabled {
    cursor: wait;
    opacity: .7;
}

.google-letter {
    font-size: 15px;
    font-weight: 800;
}


/* DIVIDER */

.divider {
    display: flex;
    align-items: center;
    gap: 12px;

    margin: 24px 0;

    color: var(--muted-dark);

    font-size: 9px;
    font-weight: 600;
}

.divider::before,
.divider::after {
    content: "";

    height: 1px;

    flex: 1;

    background: var(--border);
}


/* SECURITY */

.security-box {
    display: flex;
    align-items: flex-start;
    gap: 11px;

    padding: 13px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: #0d0f14;
}

.security-icon {
    width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border-radius: 8px;

    background: rgba(72, 213, 151, .08);

    color: #48d597;
}

.security-icon svg {
    width: 15px;
}

.security-text strong {
    display: block;

    font-size: 10px;
}

.security-text p {
    margin-top: 3px;

    color: var(--muted);

    font-size: 9px;
    line-height: 1.5;
}


/* BACK */

.back-button {
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    margin-top: 17px;

    color: var(--muted);

    font-size: 10px;
    font-weight: 600;

    transition: .15s;
}

.back-button:hover {
    color: white;
}

.back-button svg {
    width: 14px;
}


/* LOADING */

.spinner {
    width: 14px;
    height: 14px;

    border: 2px solid rgba(0, 0, 0, .2);
    border-top-color: #111;

    border-radius: 50%;

    animation: spin .7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* FOOTER */

.footer {
    margin-top: 18px;

    color: var(--muted-dark);

    text-align: center;

    font-size: 9px;
}


/* MOBILE */

@media (max-width: 500px) {

    .login-page {
        padding: 16px;
    }

    .login-card {
        padding: 28px 22px;
    }

    .login-card h1 {
        font-size: 21px;
    }

}