* {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
}
.auth-wrapper {
    display: flex;
    min-height: 100vh;
    justify-content: center;
    align-items: center;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(163, 201, 255, 0.35),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 15%,
            rgba(125, 182, 255, 0.18),
            transparent 35%
        ),
        radial-gradient(
            circle at 75% 85%,
            rgba(195, 225, 255, 0.22),
            transparent 32%
        ),
        linear-gradient(135deg, #f5faff, #eef7ff, #e6f2ff);
}

.illustration {
    width: 100%;
    height: 200px; /* sesuaikan */
    overflow: hidden;
}

.illustration img {
    width: 90%;

    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }
}

.brand img {
    transition: 0.35s;
}

.brand img:hover {
    transform: scale(1.03);
}

/* LEFT */
.auth-left {
    flex: 1;

    display: flex;

    flex-direction: column;

    padding: 40px;

    border-right: 1px solid rgba(215, 210, 210, 0.7);

    backdrop-filter: blur(20px);

    -webkit-backdrop-filter: blur(20px);

    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.35);
}

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

    margin-bottom: 60px;
}

.auth-left .illustration {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
}

.auth-left img {
    max-width: 100%;
}

/* RIGHT */
.auth-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    width: 100%;

    max-width: 520px;

    padding: 42px;

    border-radius: 24px;

    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.58),
        rgba(255, 255, 255, 0.28)
    );

    border: 1px solid rgba(255, 255, 255, 0.72);

    backdrop-filter: blur(24px);

    -webkit-backdrop-filter: blur(24px);

    box-shadow:
        0 20px 45px rgba(63, 106, 165, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.auth-card .title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 0;
}

.small-placeholder::placeholder {
    font-size: 0.95rem;
    opacity: 0.6;
}

/* FORM */
.form-control {
    background: rgba(255, 255, 255, 0.42);

    border: 1px solid rgba(255, 255, 255, 0.8);

    border-radius: 14px;

    padding: 14px 16px;

    backdrop-filter: blur(10px);

    transition: 0.25s;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.7);

    border-color: #6ea8fe;

    box-shadow: 0 0 0 0.18rem rgba(77, 144, 254, 0.18);
}

.btn-login {
    height: 54px;

    border: none;

    border-radius: 14px;

    font-weight: 600;

    background: linear-gradient(135deg, #3c86d9, #69aeff);

    box-shadow: 0 14px 28px rgba(56, 125, 203, 0.25);

    transition: 0.25s;
}

.btn-login:hover {
    transform: translateY(-2px);

    box-shadow: 0 18px 32px rgba(56, 125, 203, 0.32);
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);

    width: 40px;
    height: 40px;

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

    padding: 0;
    border: 0;
    background: transparent;

    color: #6c757d;
    cursor: pointer;
    z-index: 5;
}

.password-toggle i {
    font-size: 1.2rem;
    line-height: 1;
}

.password-toggle:hover {
    color: #0d6efd;
}

.password-toggle:hover {
    color: #0d6efd;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .auth-left {
        display: none;
    }

    .auth-right {
        flex: 1;
    }
}

/* =================================================
   TABLET & MOBILE (CENTER ALL)
================================================= */
@media (max-width: 992px) {
    .auth-wrapper {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
    }

    .auth-left .illustration {
        display: none;
    }

    .auth-left {
        flex: none;
        background: transparent;
        border: none;
        padding: 0;

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

    .auth-left .brand {
        margin-top: 0;
        margin-bottom: 12px;
        text-align: center;
    }

    .auth-left .brand img {
        height: 130px;
    }

    .auth-right {
        width: 100%;
        justify-content: center;
    }

    .auth-card {
        max-width: 420px;
        padding: 0 20px;
        text-align: center;
    }

    .auth-card .title {
        margin-top: 0;
        margin-bottom: 6px;
    }

    .auth-card form {
        text-align: left;
    }
}
