/* =========================================================================
   STYLE UTAMA PORTAL REKSA - PN MARISA
   ========================================================================= */
:root { 
    --primary-color: #1a4d2e; 
    --primary-dark: #11331e; 
    --sidebar-text: #e2e8f0;
}

body { font-family: 'Inter', sans-serif; background-color: #f4f7f6; margin: 0; overflow: hidden; }
.wrapper { display: flex; height: 100vh; width: 100vw; }

/* Sidebar */
.sidebar { 
    width: 280px; background: var(--primary-color); padding: 40px 24px;
    display: flex; flex-direction: column; justify-content: space-between;
    z-index: 10; position: relative;
}
.sidebar::before {
    content: ""; position: absolute; inset: 0; opacity: 0.15; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='1.5' d='M14 0 L28 8 L28 24 L14 32 L0 24 L0 8 Z M0 49 L14 41 L28 49 M14 32 L14 41'/%3E%3C/svg%3E");
}
.brand-section { text-align: center; position: relative; z-index: 2; }
.brand-logo { width: 75px; margin-bottom: 15px; filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.2)); }
.brand-name { font-weight: 700; color: #ffffff; font-size: 1.2rem; margin: 0; letter-spacing: 0.5px; }
.sidebar-footer { position: relative; z-index: 2; color: var(--sidebar-text); }

/* Main Content */
.main-content { 
    flex-grow: 1; position: relative;
    background-image: url('../img/baground.jpg');
    background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center; padding: 20px; 
}
.main-content::before {
    /* Hapus atau nonaktifkan ini untuk dashboard */
    /* backdrop-filter: blur(1px); */ 
    /* background: linear-gradient(...); */
}

/* Card & Form */
.login-card { 
    position: relative; z-index: 2; background: rgba(255, 255, 255, 0.95); 
    border-radius: 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); 
    width: 100%; max-width: 400px; padding: 35px 30px; 
}
.form-label { font-weight: 600; color: #4a5568; font-size: 0.85rem; }

/* Input Group & Control */
.input-group-text { border-radius: 10px 0 0 10px; border: 1px solid #cbd5e1; border-right: none; background: #fff; color: #64748b; }
.form-control { 
    padding: 12px 15px; border-radius: 0 10px 10px 0; 
    border: 1px solid #cbd5e1; background-color: #f8fafc; 
}
.form-control:focus { box-shadow: 0 0 0 3px rgba(26, 77, 46, 0.15); border-color: var(--primary-color); outline: none; }

/* Tombol dengan Prioritas Tinggi (Menimpa Bootstrap) */
.btn-submit, button.btn-submit, a.btn-submit { 
    display: block !important; 
    width: 100% !important; 
    background-color: var(--primary-color) !important; 
    color: #ffffff !important; 
    border: none !important; 
    padding: 13px 20px !important; 
    font-weight: 600 !important; 
    border-radius: 10px !important; 
    transition: all 0.3s ease !important; 
    margin-top: 15px !important; 
    cursor: pointer !important;
    text-align: center !important;
    text-decoration: none !important;
}

.btn-submit:hover { 
    background-color: var(--primary-dark) !important; 
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 77, 46, 0.3);
}

.auth-link { color: var(--primary-color); font-weight: 700; text-decoration: none; }
.auth-link:hover { text-decoration: underline; }

@media (max-width: 992px) { .sidebar { display: none; } .main-content { width: 100vw; } }

/* Tambahkan aturan khusus untuk Dashboard agar tidak buram */
.dashboard-page .main-content::before {
    display: none !important;
}

/* Paksa background card menjadi putih solid agar tidak blur */
    .dashboard-card { 
        width: 100%; 
        max-width: 900px; 
        background: #ffffff !important; /* Putih Solid */
        border-radius: 20px; 
        padding: 40px; 
        box-shadow: 0 10px 25px rgba(0,0,0,0.1); 
        opacity: 1 !important; /* Pastikan tidak transparan */
    }

    /* Warna teks harus gelap agar kontras dengan background putih */
    .text-muted { color: #6c757d !important; }
    h3, h6 { color: #212529 !important; }

    /* Card Statistik */
    .stat-card { 
        background: #f8f9fa !important; 
        border: 1px solid #e9ecef;
        padding: 20px;
        border-radius: 15px;
    }