input {
    border: 2px solid transparent;
    outline: none;
}

.error-input {
    border: 2px solid red !important;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.4);
}

#error {
    color: red;
}
.l-body {
    margin: 0;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(111, 0, 255, 0.16),
            transparent 35%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgba(0, 119, 255, 0.12),
            transparent 35%
        ),
        #07070c;

    color: #ffffff;

    font-family: Arial, sans-serif;

    overflow: hidden;
}


/* =========================
   BACKGROUND
========================= */

.l-background {
    position: fixed;
    inset: 0;

    pointer-events: none;
}

.l-glow {
    position: absolute;

    width: 350px;
    height: 350px;

    border-radius: 50%;

    filter: blur(120px);

    opacity: 0.25;
}

.l-glow-one {
    top: -150px;
    left: -100px;

    background: #7b00ff;
}

.l-glow-two {
    right: -120px;
    bottom: -150px;

    background: #005eff;
}


/* =========================
   CONTAINER
========================= */

.l-container {
    width: 100%;
    max-width: 420px;

    padding: 20px;

    position: relative;
    z-index: 2;

    box-sizing: border-box;
}


/* =========================
   CARD
========================= */

.l-card {
    padding: 42px 38px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    background: rgba(15, 15, 24, 0.82);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border-radius: 18px;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

    box-sizing: border-box;
}


/* =========================
   LOGO
========================= */

.l-logo {
    text-align: center;

    font-size: 34px;
    font-weight: 800;

    letter-spacing: -1px;

    margin-bottom: 35px;

    background: linear-gradient(
        90deg,
        #8b5cf6,
        #c026ff,
        #4f7cff
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* =========================
   HEADING
========================= */

.l-heading {
    text-align: center;

    margin-bottom: 32px;
}

.l-heading h1 {
    margin: 0 0 8px;

    font-size: 25px;
    font-weight: 700;
}

.l-heading p {
    margin: 0;

    color: #8f8f9f;

    font-size: 13px;
}


/* =========================
   INPUT
========================= */

.l-input-group {
    margin-bottom: 20px;
}

.l-input-group label {
    display: block;

    margin-bottom: 8px;

    color: #b7b7c5;

    font-size: 13px;
}

.l-input-group input {
    width: 100%;

    height: 52px;

    padding: 0 15px;

    box-sizing: border-box;

    border: 1px solid #272735;

    border-radius: 10px;

    outline: none;

    background: #0b0b12;

    color: #ffffff;

    font-size: 14px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.l-input-group input::placeholder {
    color: #555563;
}

.l-input-group input:focus {
    border-color: #7c3aed;

    background: #0e0e17;

    box-shadow:
        0 0 0 3px rgba(124, 58, 237, 0.12),
        0 0 25px rgba(124, 58, 237, 0.08);
}


/* =========================
   LOGIN BUTTON
========================= */

form button {
    width: 100%;

    height: 52px;

    margin-top: 8px;

    border: none;

    border-radius: 10px;

    background: linear-gradient(
        100deg,
        #6d28d9,
        #9333ea,
        #4f46e5
    );

    color: white;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    box-shadow:
        0 8px 25px rgba(124, 58, 237, 0.25);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

form button span {
    font-size: 20px;

    transition: transform 0.2s ease;
}

form button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 35px rgba(124, 58, 237, 0.35);

    filter: brightness(1.1);
}

form button:hover span {
    transform: translateX(4px);
}

form button:active {
    transform: translateY(0);
}


/* =========================
   ERROR
========================= */

#error {
    min-height: 20px;

    margin: 14px 0 0;

    text-align: center;

    color: #ff5c7a;

    font-size: 13px;
}


/* =========================
   DIVIDER
========================= */

.l-divider {
    display: flex;
    align-items: center;

    gap: 12px;

    margin: 28px 0 20px;

    color: #41414e;

    font-size: 11px;
}

.l-divider::before,
.l-divider::after {
    content: "";

    flex: 1;

    height: 1px;

    background: #242430;
}

.l-divider span {
    color: #555563;

    letter-spacing: 1px;
}


/* =========================
   REGISTER
========================= */

.l-register {
    margin: 0;

    text-align: center;

    color: #777786;

    font-size: 13px;
}

.l-register a {
    color: #a78bfa;

    text-decoration: none;

    font-weight: 600;

    transition: color 0.2s ease;
}

.l-register a:hover {
    color: #c4b5fd;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 480px) {

    .l-container {
        padding: 15px;
    }

    .l-card {
        padding: 35px 24px;

        border-radius: 15px;
    }

    .l-logo {
        font-size: 30px;
    }

    .l-heading h1 {
        font-size: 22px;
    }
}
