/* Variabel Light Mode (Default) */
:root {
    --bg-color: #f8f9fa;
    --text-color: #212529;
    --card-bg: #ffffff;
    --navbar-bg: #ffffff;
    --border-color: #dee2e6;
    --primary-color: #0d6efd;
    --text-muted: #6c757d;
}

/* Variabel Dark Mode */
[data-theme="dark"] {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --card-bg: #1e1e1e;
    --navbar-bg: #1f1f1f;
    --border-color: #333333;
    --primary-color: #3f8cff;
    --text-muted: #9ca3af;
}

/* Transisi Halus & Aplikasi Warna Global */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Kustomisasi Komponen Bootstrap ke Variabel Tema */
.navbar {
    background-color: var(--navbar-bg) !important;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.nav-link, .navbar-brand {
    color: var(--text-color) !important;
}

.card {
    background-color: var(--card-bg);
    border-color: var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.text-muted {
    color: var(--text-muted) !important;
}