* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: linear-gradient(135deg, #e9eef8, #f7f9fc);
}

.container {
    min-height: 100vh;
    display: flex;
}

/* LEFT PANEL */
.left-box {
    position: relative;
}

.left-box .content {
    margin-bottom: 100px;
    margin-right: 30px;
    color: #1e1e2f;
    z-index: 2;
}

.illustration {
    height: 80%;
    margin: 0 0 0 80px;
    position: absolute;
    opacity: 0.95;
}

.left-box {
    width: 60%;
    /* background: linear-gradient(250deg, #0bd71c55, #003cffa0); */
    color: white;
    padding: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.left-box::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    top: -60px;
    right: -60px;
}

.left-box h1 {
    font-size: 70px;
    margin: 0 0 10px;
    letter-spacing: 2px;
}

.left-box p {
    font-size: 16px;
    max-width: 420px;
    line-height: 1.7;
    opacity: 0.9;
}

/* RIGHT PANEL */
.right-box {
    background: linear-gradient(90deg, #f5f5f6d9, #0951d684);
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    width: 90%;
    max-width: 380px;
    padding: 35px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
    animation: fadeUp 0.6s ease;
}

.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo img {
    width: 90px;
    max-width: 100%;
    margin-bottom: 10px;
}

.login-logo p {
    margin: 0;
    font-size: 20px;
    color: #6e6e6e;
    font-weight: 500;
    letter-spacing: 1px;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    margin-bottom: 25px;
    font-size: 30px;
    font-weight: 600;
    color: #1e1e2f;
    text-align: center;
}

label {
    font-size: 13px;
    font-weight: 500;
    color: #555;
}

input {
    width: 100%;
    padding: 13px 14px;
    border-radius: 12px;
    border: 1px solid #dfe3f0;
    margin: 6px 0 18px;
    font-size: 14px;
    transition: 0.25s;
}

input:focus {
    border-color: #005bff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 91, 255, 0.15);
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #005bff, #003cff);
    border: none;
    color: white;
    font-size: 15px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 91, 255, 0.4);
}

.sub {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: #7a7a7a;
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 14px;
    top: 40%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #7a7a7a;
    user-select: none;
    transition: 0.2s;
}

.toggle-password:hover {
    color: #005bff;
}

.toggle-password i {
    transition: 0.2s;
}

.toggle-password:hover i {
    transform: scale(1.1);
}

/* Container toggle + label */
.role-toggle {
    display: flex;
    align-items: center;
    /* sejajar vertikal */
    gap: 8px;
    /* jarak antara switch dan label */
    margin-bottom: 10px;
}

/* Toggle switch mini */
.switch {
    width: 40px;
    height: 20px;
    position: relative;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 20px;
    transition: 0.4s;
}

.slider:before {
    content: "";
    position: absolute;
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    border-radius: 50%;
    transition: 0.4s;
}

input:checked+.slider {
    background-color: #0d6efd;
}

input:checked+.slider:before {
    transform: translateX(20px);
}

/* Label tulisan kecil */
.role-toggle span#roleLabel {
    font-size: 12px;
}

/* MOBILE */
@media (max-width: 900px) {
    .left-box {
        display: none;
    }

    .right-box {
        width: 100%;
    }
}