/* assets/css/auth-glow.css */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0a;
    min-height: 100vh; /* Gunakan min-height */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto; /* Izinkan scroll vertikal jika form kepanjangan */
    color: #fff;
    position: relative;
    padding: 20px 0; /* Beri sedikit jarak atas bawah */
}

/* --- DEKORASI CAHAYA (BACKGROUND) --- */
.background-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1; /* Di belakang form */
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px); /* KUNCI RAHASIA: Blur tinggi bikin efek glowing */
    opacity: 0.6;
    animation: float 10s infinite alternate;
}

/* Bola Pink (Warna Brand Dr. Shoes) */
.shape-1 {
    width: 300px;
    height: 300px;
    background: #ff009d;
    top: -50px;
    left: -50px;
}

/* Bola Biru (Warna Brand Dr. Shoes) */
.shape-2 {
    width: 400px;
    height: 400px;
    background: #00b0ff;
    bottom: -100px;
    right: -100px;
    animation-delay: -5s; /* Biar gerakannya tidak barengan */
}

/* Animasi Gerak Halus */
@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 50px); }
}

/* --- FORM LOGIN --- */
.login-wrapper {
    z-index: 2; /* Di depan cahaya */
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.login-card {
    width: 100%;
    max-width: 400px;
    background: rgba(25, 25, 25, 0.6); /* Semi transparan gelap */
    backdrop-filter: blur(20px); /* Efek kaca buram di atas cahaya */
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* TYPOGRAPHY */
.header { text-align: center; margin-bottom: 2.5rem; }
.brand {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.8rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}
.brand span { color: #ff009d; }
.header p { color: #888; font-size: 0.95rem; }
/* --- LOGO STYLING --- */
.login-logo {
    width: 100px;         /* Ukuran logo */
    height: 100px;        /* Pastikan sama dengan width agar bulat sempurna */
    object-fit: cover;    /* Agar gambar tidak gepeng */
    border-radius: 50%;   /* Membuatnya jadi lingkaran */
    border: 3px solid rgba(255, 255, 255, 0.2); /* Border tipis transparan */
    margin-bottom: 1rem;  /* Jarak ke teks bawahnya */
    
    /* Efek Bayangan/Glow pada Logo */
    box-shadow: 0 0 20px rgba(0, 176, 255, 0.3); 
    transition: transform 0.3s ease;
}

/* Efek saat logo di-hover (sedikit membesar) */
.login-logo:hover {
    transform: scale(1.05) rotate(5deg);
    border-color: #00b0ff;
    box-shadow: 0 0 30px rgba(0, 176, 255, 0.6);
}

.header { text-align: center; margin-bottom: 2rem; }

.brand {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem; /* Sedikit dikecilkan karena sudah ada logo */
    letter-spacing: 2px;
    margin-bottom: 0.2rem;
    line-height: 1;
}

/* INPUTS */
.input-box { margin-bottom: 1.5rem; }
.input-box label {
    display: block;
    font-size: 0.85rem;
    color: #ccc;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.input-box input, .input-box textarea {
    width: 100%;
    padding: 14px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    transition: 0.3s;
    font-family: inherit;
}
.input-box input:focus, .input-box textarea:focus {
    outline: none;
    border-color: #00b0ff;
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 15px rgba(0, 176, 255, 0.2);
}

/* BUTTON */
.btn-glow {
    width: 100%;
    padding: 15px;
    margin-top: 1rem;
    background: linear-gradient(90deg, #00b0ff, #0081cb);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-glow:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(0, 176, 255, 0.4);
}

/* FOOTER & LINKS */
.footer {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}
.footer a { text-decoration: none; transition: 0.2s; }
.back-link { color: #666; }
.back-link:hover { color: #fff; }
.register-link { color: #ff009d; font-weight: 600; }
.register-link:hover { color: #ff5cc3; }

/* ALERTS */
.alert { padding: 12px; border-radius: 8px; margin-bottom: 20px; font-size: 0.9rem; text-align: center; }
.alert-error { background: rgba(255, 68, 68, 0.15); color: #ff5555; border: 1px solid #ff4444; }
.alert-success { background: rgba(46, 204, 113, 0.15); color: #2ecc71; border: 1px solid #2ecc71; }