@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");


:root {

    --bg: #050606;
    --card: #0b0e0e;
    --input: #080a0a;

    --white: #f5f7f7;
    --muted: #80888a;
    --dim: #4d5557;

    --green: #8cff3f;

    --border:
        rgba(255,255,255,.075);

    --green-border:
        rgba(140,255,63,.20);

}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html,
body {
    min-height: 100%;
}


body {

    min-height: 100vh;

    overflow-x: hidden;

    background: var(--bg);

    color: var(--white);

    font-family:
        "Inter",
        sans-serif;

}


button,
input {
    font-family: inherit;
}


button {
    cursor: pointer;
}


a {
    text-decoration: none;
    color: inherit;
}


/* BACKGROUND */

.background {

    position: fixed;
    inset: 0;

    overflow: hidden;

    pointer-events: none;

}


.grid {

    position: absolute;
    inset: -100px;

    opacity: .35;

    background-image:

        linear-gradient(
            rgba(255,255,255,.018) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,.018) 1px,
            transparent 1px
        );

    background-size: 48px 48px;

    transform:
        perspective(500px)
        rotateX(55deg)
        translateY(180px)
        scale(1.4);

}


.glow {

    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    filter: blur(100px);

    opacity: .06;

    background: var(--green);

}


.glow-one {

    top: -220px;
    left: 10%;

}


.glow-two {

    right: -250px;
    bottom: -250px;

}


/* PAGE */

.login-page {

    min-height: 100vh;

    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 35px 20px;

}


/* BRAND */

.brand {

    display: flex;

    align-items: center;

    gap: 10px;

    position: absolute;

    top: 32px;
    left: 40px;

    font-size: 18px;

    font-weight: 900;

    letter-spacing: -1px;

}


.brand-mark {

    width: 35px;
    height: 35px;

    display: grid;

    place-items: center;

    border-radius: 10px;

    background: var(--green);

    color: #071006;

    font-size: 17px;

    font-weight: 900;

    box-shadow:
        0 0 35px
        rgba(140,255,63,.08);

}


.brand-name span {

    color: var(--green);

}


/* CARD */

.login-card {

    width: min(430px, 100%);

    position: relative;

    padding: 38px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.035),
            rgba(255,255,255,.012)
        );

    border: 1px solid var(--border);

    border-radius: 18px;

    box-shadow:
        0 35px 100px rgba(0,0,0,.45);

    backdrop-filter: blur(20px);

    animation:
        cardIn .55s ease both;

}


@keyframes cardIn {

    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


.card-glow {

    position: absolute;

    width: 160px;
    height: 160px;

    top: -80px;
    left: 50%;

    transform: translateX(-50%);

    border-radius: 50%;

    background: var(--green);

    filter: blur(90px);

    opacity: .045;

    pointer-events: none;

}


/* HEADING */

.heading {

    margin-bottom: 27px;

}


.status {

    display: flex;

    align-items: center;

    gap: 7px;

    color: var(--green);

    font-size: 7px;

    font-weight: 900;

    letter-spacing: 1.6px;

}


.status span {

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 12px
        rgba(140,255,63,.7);

}


.heading h1 {

    margin-top: 11px;

    font-size: 31px;

    line-height: 1;

    letter-spacing: -1.8px;

}


.heading h1 span {

    color: var(--green);

}


.heading p {

    margin-top: 9px;

    color: var(--muted);

    font-size: 9px;

}


/* GOOGLE */

.google-button {

    width: 100%;
    height: 47px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    border: 1px solid var(--border);

    border-radius: 10px;

    background: rgba(255,255,255,.025);

    color: var(--white);

    font-size: 8px;

    font-weight: 700;

    transition: .2s ease;

}


.google-button:hover {

    background:
        rgba(255,255,255,.045);

    border-color:
        rgba(255,255,255,.12);

    transform:
        translateY(-1px);

}


.google-icon {

    width: 17px;
    height: 17px;

    display: grid;

    place-items: center;

}


.google-icon svg {

    width: 17px;
    height: 17px;

}


/* DIVIDER */

.divider {

    height: 46px;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

}


.divider::before {

    content: "";

    position: absolute;

    width: 100%;
    height: 1px;

    background: var(--border);

}


.divider span {

    position: relative;

    padding: 0 10px;

    background: var(--card);

    color: var(--dim);

    font-size: 6px;

    font-weight: 900;

    letter-spacing: 1px;

}


/* FIELD */

.field {

    margin-bottom: 17px;

}


.field label {

    display: block;

    margin-bottom: 8px;

    color: #adb4b6;

    font-size: 7px;

    font-weight: 800;

    letter-spacing: .7px;

}


.label-row {

    display: flex;

    justify-content: space-between;

}


.label-row a {

    color: var(--green);

    font-size: 7px;

    font-weight: 700;

}


/* INPUT */

.input {

    height: 48px;

    display: flex;

    align-items: center;

    padding: 0 13px;

    background: var(--input);

    border: 1px solid var(--border);

    border-radius: 10px;

    transition: .2s ease;

}


.input:focus-within {

    border-color:
        var(--green-border);

    box-shadow:
        0 0 0 3px
        rgba(140,255,63,.025);

}


.input > svg {

    width: 16px;
    height: 16px;

    margin-right: 10px;

    flex-shrink: 0;

    fill: none;

    stroke: var(--dim);

    stroke-width: 1.7;

    stroke-linecap: round;

    stroke-linejoin: round;

}


.input input {

    width: 100%;
    height: 100%;

    border: 0;

    outline: 0;

    background: transparent;

    color: var(--white);

    font-size: 9px;

}


.input input::placeholder {

    color: #464d4f;

}


/* EYE */

.eye {

    width: 25px;
    height: 30px;

    display: grid;

    place-items: center;

    flex-shrink: 0;

    border: 0;

    background: transparent;

    color: var(--dim);

}


.eye:hover,
.eye.active {

    color: var(--green);

}


.eye svg {

    width: 15px;
    height: 15px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.7;

    stroke-linecap: round;

    stroke-linejoin: round;

}


/* REMEMBER */

.remember {

    display: flex;

    align-items: center;

    gap: 8px;

    width: fit-content;

    color: var(--muted);

    font-size: 7px;

    cursor: pointer;

}


.remember input {

    display: none;

}


.checkbox {

    width: 14px;
    height: 14px;

    display: grid;

    place-items: center;

    border: 1px solid var(--border);

    border-radius: 4px;

    transition: .15s ease;

}


.remember input:checked + .checkbox {

    background: var(--green);

    border-color: var(--green);

}


.remember input:checked + .checkbox::after {

    content: "";

    width: 6px;
    height: 3px;

    border-left: 1.5px solid #071006;
    border-bottom: 1.5px solid #071006;

    transform:
        rotate(-45deg)
        translateY(-1px);

}


/* MESSAGE */

.message {

    min-height: 18px;

    margin-top: 10px;

    color: #ff6f6f;

    font-size: 7px;

}


/* LOGIN */

.login-button {

    width: 100%;
    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    border: 0;

    border-radius: 10px;

    background: var(--green);

    color: #071006;

    font-size: 8px;

    font-weight: 900;

    transition: .2s ease;

}


.login-button:hover {

    transform: translateY(-2px);

    box-shadow:
        0 12px 35px
        rgba(140,255,63,.12);

}


.login-button svg {

    width: 15px;
    height: 15px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;

    stroke-linejoin: round;

}


.login-button.loading {

    pointer-events: none;

    opacity: .75;

}


.loader {

    width: 12px;
    height: 12px;

    border: 2px solid
        rgba(7,16,6,.25);

    border-top-color:
        #071006;

    border-radius: 50%;

    animation:
        spin .7s linear infinite;

}


@keyframes spin {

    to {
        transform: rotate(360deg);
    }

}


/* REGISTER */

.register {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;

    margin-top: 27px;

    color: #8b9395;

    font-size: 11px;
    font-weight: 500;

    line-height: 1.5;
}

.register a {
    color: var(--green);

    font-size: 11px;
    font-weight: 800;

    transition: .2s ease;
}

.register a:hover {
    color: #aaff70;
    text-decoration: underline;
}


.register a {

    color: var(--green);

    font-weight: 800;

}


.register a:hover {

    text-decoration: underline;

}


/* TERMS */

.terms {

    margin-top: 24px;

    color: var(--dim);

    text-align: center;

    font-size: 6.5px;

    line-height: 1.7;

}


.terms a {

    color: var(--muted);

}


/* BOTTOM */

.bottom {

    width: min(430px, 100%);

    display: flex;

    justify-content: space-between;

    margin-top: 15px;

    color: var(--dim);

    font-size: 6px;

}


.secure {

    display: flex;

    align-items: center;

    gap: 5px;

}


.secure svg {

    width: 11px;
    height: 11px;

    fill: none;

    stroke: var(--green);

    stroke-width: 1.8;

    stroke-linecap: round;

    stroke-linejoin: round;

}


/* MOBILE */

@media (max-width: 600px) {

    .login-page {

        padding:
            85px 16px 30px;

        justify-content:
            flex-start;

    }


    .brand {

        top: 24px;

        left: 20px;

    }


    .login-card {

        padding: 27px 22px;

        border-radius: 15px;

    }


    .heading h1 {

        font-size: 28px;

    }


    .bottom {

        padding: 0 3px;

    }

}


@media (max-width: 360px) {

    .login-card {

        padding: 24px 17px;

    }

}