* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
}

body {
    background: #111827;
}

.login-page {
    position: relative;
    min-height: 100vh;

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

    overflow: hidden;

    padding: 32px 20px;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(255, 122, 0, .08),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #111827 0%,
            #17202d 50%,
            #111827 100%
        );
}


/* BACKGROUND */

.login-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.network-circle {
    position: absolute;

    border:
        1px solid
        rgba(255,255,255,.04);

    border-radius: 50%;
}

.circle-1 {
    width: 550px;
    height: 550px;

    left: -250px;
    top: -180px;
}

.circle-2 {
    width: 700px;
    height: 700px;

    right: -350px;
    bottom: -350px;
}

.circle-3 {
    width: 320px;
    height: 320px;

    right: 12%;
    top: 10%;

    border-color:
        rgba(255,122,0,.05);
}


/* CONTAINER */

.login-container {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 440px;
}


/* BRAND */

.login-brand {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 12px;

    margin-bottom: 28px;
}

.brand-logo,
.login-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    background: #ff7800;

    font-weight: 700;
}

.brand-logo {
    width: 46px;
    height: 46px;

    border-radius: 13px;

    font-size: 21px;
}

.brand-name {
    color: #fff;

    font-size: 20px;
    font-weight: 700;

    letter-spacing: .4px;
}

.brand-subtitle {
    color: #94a3b8;

    margin-top: 2px;

    font-size: 12px;
}


/* CARD */

.login-card {
    padding: 36px;

    background:
        rgba(255,255,255,.98);

    border-radius: 18px;

    box-shadow:
        0 30px 80px
        rgba(0,0,0,.32);
}

.login-header {
    text-align: center;

    margin-bottom: 28px;
}

.login-icon {
    width: 50px;
    height: 50px;

    margin:
        0 auto
        18px;

    border-radius: 14px;

    box-shadow:
        0 8px 20px
        rgba(255,120,0,.24);
}

.login-header h1 {
    margin: 0;

    color: #172033;

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

.login-header p {
    margin:
        7px 0 0;

    color: #7b8798;

    font-size: 13px;
}


/* FORM */

.login-form {
    display: flex;
    flex-direction: column;

    gap: 20px;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    color: #344054;

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

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    height: 49px;

    padding:
        0 46px
        0 43px;

    border:
        1px solid
        #d9dee7;

    border-radius: 10px;

    outline: none;

    color: #172033;
    background: #fff;

    font-size: 14px;

    transition:
        border-color .2s,
        box-shadow .2s;
}

.input-wrapper input:focus {
    border-color: #ff7800;

    box-shadow:
        0 0 0 3px
        rgba(255,120,0,.10);
}

.input-icon {
    position: absolute;

    left: 15px;
    top: 50%;

    transform:
        translateY(-50%);

    color: #8b96a7;

    font-size: 13px;

    pointer-events: none;
}

.password-toggle {
    position: absolute;

    right: 9px;
    top: 50%;

    transform:
        translateY(-50%);

    width: 32px;
    height: 32px;

    border: 0;
    border-radius: 7px;

    cursor: pointer;

    color: #7b8798;
    background: transparent;
}

.password-toggle:hover {
    background: #f1f3f6;
}


/* OPTIONS */

.form-options {
    display: flex;
    align-items: center;

    margin-top: -4px;
}

.remember {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    cursor: pointer;

    color: #667085;

    font-size: 12px;
}

.remember input {
    accent-color: #ff7800;
}


/* BUTTON */

.login-button {
    width: 100%;
    height: 50px;

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

    gap: 10px;

    border: 0;
    border-radius: 10px;

    cursor: pointer;

    color: #fff;
    background: #ff7800;

    font-size: 14px;
    font-weight: 700;

    box-shadow:
        0 8px 18px
        rgba(255,120,0,.20);

    transition:
        transform .15s,
        background .15s;
}

.login-button:hover {
    background: #e96e00;
}

.login-button:active {
    transform: translateY(1px);
}


/* ERROR */

.login-error {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 12px 14px;

    margin-bottom: 20px;

    border:
        1px solid
        #fecaca;

    border-radius: 9px;

    color: #b91c1c;
    background: #fff1f2;

    font-size: 12px;
}

.error-icon {
    width: 22px;
    height: 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    border-radius: 50%;

    color: #fff;
    background: #ef4444;

    font-weight: 700;
}


/* SECURITY */

.login-security {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    margin-top: 25px;
    padding-top: 20px;

    border-top:
        1px solid
        #edf0f4;

    color: #8993a2;

    font-size: 11px;
}

.security-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #22c55e;
}


/* FOOTER */

.login-footer {
    margin-top: 22px;

    text-align: center;

    color: #718096;

    font-size: 11px;
}

.login-footer span {
    margin: 0 6px;
}


/* MOBILE */

@media (max-width: 520px) {

    .login-page {
        padding: 20px 14px;
    }

    .login-card {
        padding:
            28px 20px;
    }

    .login-header h1 {
        font-size: 21px;
    }

    .login-brand {
        margin-bottom: 20px;
    }

}
