/* File: assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Background Dinamis: Biru muda lembut saat Mode Terang, gelap saat Mode Gelap */
html:not(.dark) body {
    background-color: #f0f4f8; /* Biru muda lembut & elegan */
}

html.dark body {
    background-color: #030712; /* Slate-950 */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}
html.dark ::-webkit-scrollbar-thumb {
    background: #334155;
}

/* Glassmorphism & Card Dinamis */
.glass-card {
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

html:not(.dark) .glass-card {
    background: #ffffff;
    border: 1px solid #d8e2ec;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

html.dark .glass-card {
    background: rgba(30, 41, 59, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(51, 65, 85, 0.7);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.glow-bg {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

/* Pengaturan Modal & Area Scroll agar Tombol Simpan Selalu Muncul */
.modal-container {
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-body-scroll {
    max-height: calc(90vh - 140px);
    overflow-y: auto;
    padding-right: 4px;
}

.modal-body-scroll::-webkit-scrollbar {
    width: 4px;
}
.modal-body-scroll::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 2px;
}