/* ===============================
   LOGIN MODERN (SAFE VERSION)
   Tidak bentrok dengan dashboard
=================================*/

/* Background khusus halaman login saja */
.login-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('/cdn/website/demogameshop-topup-game-murah.jpg') center center / cover no-repeat;
    background-size: cover;
    padding: 20px;
}

/* Container utama */
.login-container {
    width: 1100px;
    max-width: 95%;
    display: flex;
    border-radius: 25px;
    overflow: hidden;
    backdrop-filter: blur(25px);
    background: rgba(15, 23, 42, 0.75);
    box-shadow: 0 0 50px rgba(0,0,0,0.6);
}

/* Kiri */
.login-left {
    width: 50%;
    position: relative;
    background: url('/cdn/website/demogameshop-topup-game-murah.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow: hidden;
}

/* Blur layer */
.login-left::before {
    content: "";
    position: absolute;
    inset: 0;
    background: inherit;
    filter: blur(12px);
    transform: scale(1.1);
    z-index: 1;
}

/* Dark overlay biar elegan */
.login-left::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2;
}

/* Logo tetap tajam */
.login-left img {
    position: relative;
    z-index: 3;
    max-width: 400px;
    width: 100%;
}

/* Kanan */
.login-right {
    width: 50%;
    padding: 60px;
    color: white;
}

/* Branding */
.login-right .brand h2 {
    color: #a78bfa;
    font-weight: 700;
    letter-spacing: 3px;
}

.login-right .brand h5 {
    margin-top: 15px;
}

.login-right .brand p {
    font-size: 14px;
    color: #cbd5e1;
}

/* Input group */
.login-right .custom-group {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    overflow: hidden;
}

/* Input khusus login */
.login-right .custom-input {
    background: transparent !important;
    border: none !important;
    color: white !important;
    padding: 14px;
}

.login-right .custom-input::placeholder {
    color: #94a3b8;
}

.login-right .custom-input:focus {
    box-shadow: none !important;
    background: transparent !important;
    color: white !important;
}

/* Icon input */
.login-right .input-group-text {
    background: transparent !important;
    border: none !important;
    color: #94a3b8;
}

.login-right .eye-toggle {
    cursor: pointer;
}

/* Tombol login */
.login-right .btn-login {
    background: linear-gradient(90deg, #7c3aed, #a78bfa);
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    color: white;
    transition: 0.3s;
}

.login-right .btn-login:hover {
    opacity: 0.9;
}

/* Link */
.login-right .link-text {
    color: #a78bfa;
    text-decoration: none;
}

.login-right .link-text:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }

    .login-left,
    .login-right {
        width: 100%;
    }

    .login-right {
        padding: 40px;
    }
}
/* Login Animation */
.animate-login {
    animation: fadeSlide 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-input {
    background: #2a2d31;
    border: 1px solid #3a3f44;
    color: #fff;
}

.login-input:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 0.1rem rgba(124, 58, 237, 0.4);
}
.login-animate {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    animation: loginFade 0.7s cubic-bezier(.2,.8,.2,1) forwards;
}

@keyframes loginFade {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

