/* Global Styles for Auth Pages (Login, Register, Forgot Password, Recovery) */
body.login-page, body.register-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-family: 'Poppins', sans-serif;
}

.login-box, .register-box {
    width: 400px;
}

.card {
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    border: none;
    overflow: hidden;
}

.card-header {
    background: transparent;
    border-bottom: none;
    padding-top: 30px;
}

.card-header h1 b, .card-header .h1 b, .card-header .h1 {
    color: #764ba2;
}

.btn-primary {
    background: linear-gradient(to right, #667eea, #764ba2);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s;
    padding: 10px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(118, 75, 162, 0.4);
}

.form-control {
    border-radius: 50px;
    height: 45px;
    padding-left: 20px;
    border-right: none;
}

.input-group-text {
    border-radius: 0 50px 50px 0;
    background: #fff;
    border-left: none;
    padding-right: 20px;
}

.input-group > .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.login-card-body, .register-card-body {
    padding: 30px 40px 40px;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .login-box, .register-box {
        margin-top: .5rem;
        width: 90%;
    }
}

/* --- Profile Page Styles --- */
body.profile-page {
    min-height: 100vh;
}

/* Glassmorphism Container */
.glass-container {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.18);
    max-width: 680px;
    width: 95%;
    margin: 20px auto;
}

.profile-img { 
    width: 110px; height: 110px; 
    object-fit: cover; 
    border-radius: 50%; 
    border: 4px solid #fff; 
    box-shadow: 0 8px 16px rgba(0,0,0,0.15); 
    transition: transform 0.3s;
}
.profile-img:hover { transform: scale(1.05); }

.link-card { 
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); 
    border: none; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); 
    position: relative;
    overflow: hidden;
}
.link-card:hover { 
    transform: translateY(-4px); 
    filter: brightness(95%); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Modal Passcode */
.passcode-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); z-index: 9999;
    display: none; align-items: center; justify-content: center;
}
.passcode-content {
    background: #fff; padding: 30px; border-radius: 20px;
    text-align: center; width: 90%; max-width: 400px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.pin-container {
    display: flex; gap: 10px; justify-content: center; margin: 20px 0;
}
.pin-box {
    width: 45px; height: 55px; font-size: 24px; text-align: center;
    border: 2px solid #ddd; border-radius: 10px;
    font-weight: bold; color: #333;
}
.pin-box:focus { border-color: #0d6efd; outline: none; }

/* Animasi Fade In */
.fade-in-up { animation: fadeInUp 0.8s ease-out; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Landing Page Styles --- */
body.landing-page { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
.hero-section { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
    color: white; 
    padding: 120px 0 100px; 
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}
.feature-icon { font-size: 3rem; color: #764ba2; margin-bottom: 1rem; }
.stat-card { border: none; transition: transform 0.3s; }
.stat-card:hover { transform: translateY(-10px); }
.user-avatar-sm { width: 60px; height: 60px; object-fit: cover; border: 3px solid #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.accordion-button:not(.collapsed) { color: #764ba2; background-color: #e9ecef; }
.btn-glow { box-shadow: 0 0 15px rgba(255, 255, 255, 0.5); }
