:root {
    --background: #05090e;
    --panel: rgba(10, 22, 30, 0.96);

    --border: rgba(105, 137, 155, 0.22);

    --text: #f2f6f8;
    --text-soft: #94a6b1;
    --text-dark: #62747f;

    --green: #41e6aa;
    --green-hover: #65f1bd;
    --green-soft: rgba(65, 230, 170, 0.09);

    --red: #ff6464;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;

    background: var(--background);

    color: var(--text);

    font-family:
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.5;
}

a {
    color: inherit;
}


/* TOPBAR */

.topbar {
    position: relative;
    z-index: 100;

    height: 72px;

    background: rgba(5, 10, 15, 0.96);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.06);

    backdrop-filter: blur(14px);
}

.topbar-container {
    width: min(
        1200px,
        calc(100% - 40px)
    );

    height: 100%;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: white;

    font-size: 24px;
    font-weight: 900;

    letter-spacing: -1px;

    text-decoration: none;
}

.logo span {
    color: var(--green);
}

.navigation {
    display: flex;
    align-items: center;

    gap: 6px;
}

.navigation a {
    padding: 10px 13px;

    color: var(--text-soft);

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    border-radius: 7px;

    transition:
        color 0.15s ease,
        background 0.15s ease;
}

.navigation a:hover {
    color: white;

    background:
        rgba(255, 255, 255, 0.05);
}

.navigation .account-button {
    margin-left: 8px;

    color: #06100b;

    background: var(--green);

    font-weight: 800;
}

.navigation .account-button:hover {
    color: #06100b;

    background: var(--green-hover);
}


/* LOGIN PAGE */

.login-page {
    position: relative;

    min-height:
        calc(100vh - 72px);

    padding: 70px 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.login-background {
    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 50% 15%,
            rgba(20, 130, 128, 0.18),
            transparent 42%
        ),
        radial-gradient(
            circle at 20% 80%,
            rgba(60, 110, 255, 0.08),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            #101c24,
            #070d13 60%,
            #05090e
        );
}


/* LOGIN CARD */

.login-card {
    position: relative;
    z-index: 2;

    width: min(
        480px,
        100%
    );

    padding: 35px;

    background:
        rgba(9, 20, 28, 0.95);

    border:
        1px solid
        rgba(65, 230, 170, 0.18);

    border-radius: 15px;

    box-shadow:
        0 30px 90px
        rgba(0, 0, 0, 0.45);

    backdrop-filter: blur(16px);
}


/* BRAND */

.login-brand {
    margin-bottom: 28px;

    text-align: center;
}

.login-logo {
    width: 55px;
    height: 55px;

    margin:
        0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--green);

    background:
        var(--green-soft);

    border:
        1px solid
        rgba(65, 230, 170, 0.20);

    border-radius: 12px;

    font-size: 17px;
    font-weight: 900;
}

.section-label {
    display: inline-block;

    margin-bottom: 7px;

    color: var(--green);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1.5px;
}

.login-brand h1 {
    margin-bottom: 9px;

    font-size: 35px;

    letter-spacing: -1.5px;
}

.login-brand p {
    color: var(--text-soft);

    font-size: 14px;

    line-height: 1.6;
}


/* ERROR */

.error-message {
    margin-bottom: 20px;

    padding: 12px 14px;

    color: #ff8989;

    background:
        rgba(255, 87, 87, 0.07);

    border:
        1px solid
        rgba(255, 87, 87, 0.20);

    border-radius: 8px;

    font-size: 13px;
}


/* FORM */

.login-form {
    display: flex;
    flex-direction: column;

    gap: 19px;
}

.field {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.field label {
    color: #dce5ea;

    font-size: 12px;
    font-weight: 700;
}

.field-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.field-header a {
    color: var(--green);

    text-decoration: none;

    font-size: 11px;

    transition: color 0.15s ease;
}

.field-header a:hover {
    color: var(--green-hover);
}


/* INPUTS */

.field input {
    width: 100%;

    height: 47px;

    padding: 0 14px;

    color: white;

    background:
        rgba(255, 255, 255, 0.035);

    border:
        1px solid var(--border);

    border-radius: 8px;

    outline: none;

    font-size: 14px;

    transition:
        border-color 0.15s ease,
        background 0.15s ease,
        box-shadow 0.15s ease;
}

.field input:hover {
    border-color:
        rgba(105, 137, 155, 0.36);
}

.field input:focus {
    background:
        rgba(255, 255, 255, 0.05);

    border-color:
        rgba(65, 230, 170, 0.45);

    box-shadow:
        0 0 0 3px
        rgba(65, 230, 170, 0.05);
}


/* PASSWORD */

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 70px;
}

.password-toggle {
    position: absolute;

    top: 50%;
    right: 8px;

    transform:
        translateY(-50%);

    padding: 7px 9px;

    color: var(--text-soft);

    background:
        rgba(255, 255, 255, 0.04);

    border:
        1px solid
        rgba(255, 255, 255, 0.06);

    border-radius: 6px;

    cursor: pointer;

    font-size: 11px;
    font-weight: 700;

    transition:
        color 0.15s ease,
        background 0.15s ease,
        border-color 0.15s ease;
}

.password-toggle:hover {
    color: white;

    background:
        rgba(255, 255, 255, 0.07);

    border-color:
        rgba(255, 255, 255, 0.10);
}


/* SIGN IN BUTTON */

.login-button {
    width: 100%;

    height: 48px;

    margin-top: 4px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    color: #06100b;

    background:
        var(--green);

    border: 0;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 900;

    cursor: pointer;

    transition:
        transform 0.15s ease,
        background 0.15s ease,
        box-shadow 0.15s ease;
}

.login-button:hover {
    transform:
        translateY(-2px);

    background:
        var(--green-hover);

    box-shadow:
        0 8px 25px
        rgba(65, 230, 170, 0.13);
}

.login-button:active {
    transform:
        translateY(0);
}


/* CREATE ACCOUNT */

.register-section {
    margin-top: 22px;

    padding-top: 20px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.06);

    text-align: center;
}

.register-text {
    display: block;

    margin-bottom: 11px;

    color: var(--text-soft);

    font-size: 12px;
}

.register-button {
    width: 100%;

    min-height: 48px;

    padding: 0 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    color: var(--green);

    background:
        rgba(65, 230, 170, 0.045);

    border:
        1px solid
        rgba(65, 230, 170, 0.24);

    border-radius: 8px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

    transition:
        transform 0.15s ease,
        color 0.15s ease,
        background 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.register-button:hover {
    transform:
        translateY(-2px);

    color: var(--green-hover);

    background:
        rgba(65, 230, 170, 0.08);

    border-color:
        rgba(65, 230, 170, 0.42);

    box-shadow:
        0 8px 25px
        rgba(65, 230, 170, 0.07);
}

.register-button:active {
    transform:
        translateY(0);
}


/* INFORMATION BOX */

.login-info {
    margin-top: 22px;

    padding: 13px;

    display: flex;
    align-items: flex-start;

    gap: 10px;

    color: var(--text-soft);

    background:
        rgba(255, 255, 255, 0.025);

    border:
        1px solid
        rgba(255, 255, 255, 0.05);

    border-radius: 8px;

    font-size: 11px;
}

.info-icon {
    width: 22px;
    height: 22px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--green);

    border:
        1px solid
        rgba(65, 230, 170, 0.20);

    border-radius: 50%;

    font-size: 11px;
    font-weight: 900;
}


/* CLOUDFLARE TURNSTILE */

.cf-turnstile {
    width: 100%;

    display: flex;
    justify-content: center;
}


/* RESPONSIVE */

@media (max-width: 650px) {

    .navigation {
        display: none;
    }

    .login-page {
        padding:
            35px 14px;
    }

    .login-card {
        padding:
            27px 20px;
    }

}

@media (max-width: 400px) {

    .topbar-container {
        width:
            calc(100% - 28px);
    }

    .login-card {
        padding:
            24px 17px;
    }

    .login-brand h1 {
        font-size: 31px;
    }

    .register-button,
    .login-button {
        min-height: 46px;
    }

}