.btn-register-glow {
        background: linear-gradient(90deg, #198754, #20c997);
        border: none;
        padding: 14px;
        border-radius: 10px;
        color: white;
        font-weight: 700;
        width: 100%;
        letter-spacing: 1px;
        margin-top: 10px;
        box-shadow: 0 4px 15px rgba(25, 135, 84, 0.4);
        transition: all 0.3s;
}
.btn-register-glow:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 25px rgba(32, 201, 151, 0.6);
        color: white;
}

/* WRAPPER UTAMA */
.login-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* OVERLAY GELAP TRANSPARAN */
.login-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 20, 45, 0.85), rgba(13, 110, 253, 0.4));
    backdrop-filter: blur(4px);
    z-index: 1;
}

/* KARTU LOGIN (GLASSMORPHISM) */
.glass-card {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: row;
    background: #134784;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid #134784;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    width: 100%;
    max-width: 900px;
    overflow: hidden;
    min-height: 500px;
}

/* BAGIAN KIRI (LOGO) */
.login-left {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    color: white;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.login-left img {
    width: 120px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.4));
    transition: transform 0.5s;
}

.login-left img:hover {
    transform: scale(1.1) rotate(5deg);
}

.login-left h3 {
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.login-left p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.6;
}

/* BAGIAN KANAN (FORM) */
.login-right {
    flex: 1.2;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* INPUT FIELD DENGAN ICON */
.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-control-glass {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 10px;
    padding: 14px 15px 14px 50px; /* Padding kiri lebih besar untuk icon */
    width: 100%;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control-glass::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-control-glass:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #0dcaf0;
    box-shadow: 0 0 15px rgba(13, 202, 240, 0.4);
    outline: none;
    color: white;
}

/* STYLE UNTUK ICON DALAM INPUT */
.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgb(0, 0, 0); /* Sedikit disesuaikan agar lebih terang di dark mode */
    font-size: 1.2rem;
    transition: 0.3s;
    pointer-events: none;
}

.form-control-glass:focus + .input-icon {
    color: #0dcaf0;
}

/* TOMBOL */
.btn-glow {
    background: linear-gradient(90deg, #0d6efd, #0dcaf0);
    border: none;
    padding: 14px;
    border-radius: 10px;
    color: white;
    font-weight: 700;
    width: 100%;
    letter-spacing: 1px;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.4);
    transition: all 0.3s;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(13, 202, 240, 0.6);
}

.auth-link {
    color: #0dcaf0;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}
.auth-link:hover {
    color: white;
    text-shadow: 0 0 10px #0dcaf0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .glass-card {
        flex-direction: column;
        max-width: 400px;
    }
    .login-left {
        padding: 30px;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .login-left img { width: 80px; }
    .login-right { padding: 30px; }
}

.fade-in-up { animation: fadeInUp 0.8s ease-out; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Custom warna tombol & link khusus halaman register agar sedikit beda (Hijau/Toska) */
    .btn-register-glow {
        background: linear-gradient(90deg, #198754, #20c997);
        border: none;
        padding: 14px;
        border-radius: 10px;
        color: white;
        font-weight: 700;
        width: 100%;
        letter-spacing: 1px;
        margin-top: 10px;
        box-shadow: 0 4px 15px rgba(25, 135, 84, 0.4);
        transition: all 0.3s;
    }
    .btn-register-glow:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 25px rgba(32, 201, 151, 0.6);
        color: white;
    }

    /* TOMBOL CLOSE (SILANG) */
.close-button {
    position: absolute;
    top: 20px;
    right: 25px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    text-decoration: none;
    z-index: 10;
    transition: all 0.3s ease;
    line-height: 1;
}

.close-button:hover {
    color: #ff4d4d; /* Berubah jadi merah saat di-hover */
    transform: rotate(90deg) scale(1.2);
    text-shadow: 0 0 10px rgba(255, 77, 77, 0.5);
}

/* Penyesuaian untuk tampilan mobile */
@media (max-width: 768px) {
    .close-button {
        top: 15px;
        right: 15px;
        color: white; /* Lebih terang di mobile agar terlihat */
    }
}