/* WRAPPER UTAMA (Background Full Screen) */
.login-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* OVERLAY GRADIENT (Menyamakan dengan Login) */
.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 GLASSMORPHISM */
.glass-card {
    position: relative;
    z-index: 2;
    background: #134784; /* Warna Biru Gelap Identik */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    width: 100%;
    max-width: 450px; /* Ukuran pas untuk satu kolom */
    padding: 40px;
    overflow: hidden;
}

/* FORM GROUP & INPUT */
.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;
    width: 100%;
    font-size: 1rem;
    transition: all 0.3s;
}

.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;
}

/* ICON DI DALAM INPUT */
.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgb(0, 0, 0);
    font-size: 1.1rem;
    pointer-events: none;
}

/* TOMBOL GLOW */
.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;
    cursor: pointer;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(13, 202, 240, 0.6);
}

/* LINK TAMBAHAN */
.auth-link {
    color: #0dcaf0;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.auth-link:hover {
    color: white;
    text-shadow: 0 0 10px #0dcaf0;
}

/* 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;
    transition: 0.3s;
}

.close-button:hover {
    color: #ff4d4d;
    transform: rotate(90deg);
}

/* ANIMASI */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}