:root {
    --ocean: #0a1680;
    --sky: #93b2f8;
    --yellow: #fbedb0;
    --orange: #f1b94c;
    --white-soft: #fcfdff;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body {
    min-height: 100vh;
    font-family: 'Overlock', cursive;
    background: linear-gradient(135deg, var(--ocean), #060c40);
    color: var(--white-soft);
}

/* WRAPPER */
.login-wrapper {
    display: flex;
    min-height: 100vh;
}

/* ================= LEFT ================= */
.login-left {
    width: 50%;
    padding: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(
        160deg,
        rgba(147,178,248,0.15),
        rgba(10,22,128,0.6)
    );
}

/* BADGE */
.badge {
    background: var(--yellow);
    color: var(--ocean);
    padding: 10px 28px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    width: fit-content;
    margin-bottom: 3rem;
}

/* TITLE */
.title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 2px;
    margin-bottom: 2.8rem;
}

.title span {
    color: var(--sky);
}

/* FORM */
.login-form {
    width: 100%;
    max-width: 380px;
}

/* INPUT */
.login-form input {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 18px;
    border-radius: 30px;
    border: 2px solid rgba(147,178,248,0.4);
    background: rgba(252,253,255,0.95);
    color: #111;
    font-size: 14px;
    outline: none;
    transition: 0.3s ease;
}

.login-form input::placeholder {
    color: #777;
    letter-spacing: 1px;
}

.login-form input:focus {
    border-color: var(--orange);
}

/* BUTTON */
.login-form button {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    background: linear-gradient(
        135deg,
        var(--orange),
        var(--yellow)
    );
    color: var(--ocean);
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s ease;
}

.login-form button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* ERROR */
.error {
    color: var(--orange);
    margin-bottom: 16px;
    font-size: 13px;
}

/* COPYRIGHT */
.copyright {
    margin-top: 3rem;
    padding: 10px 34px;
    border: 2px solid var(--sky);
    border-radius: 30px;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--sky);
    width: fit-content;
}

/* ================= RIGHT ================= */
.login-right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        180deg,
        var(--sky),
        var(--white-soft)
    );
}

.login-right img {
    width: 80%;
    max-width: 520px;
    border-radius: 32px;
    object-fit: cover;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
    .login-wrapper {
        flex-direction: column;
    }

    .login-right {
        display: none;
    }

    .login-left {
        width: 100%;
        padding: 3rem 2rem;
        align-items: center;
        text-align: center;
    }

    .title {
        font-size: 3rem;
    }

    .login-form {
        max-width: 100%;
    }
}