/* assets/css/theme-light.css — Tema terang bergaya "Atlantis" (light admin dashboard),
   dipakai bersama oleh dashboard.php & ekstraksi.php (pengganti theme-dark.css). */

:root {
    --bg-page: #f1f4fb;
    --card-bg: #ffffff;
    --card-border: #e8ecf5;
    --sidebar-bg: #ffffff;
    --accent-blue: #3b6ef0;
    --accent-blue-dark: #2a53c7;
    --accent-purple: #8b6ae0;
    --accent-emerald: #16c995;
    --accent-amber: #f5a524;
    --accent-rose: #f54180;
    --text-main: #26324a;
    --text-muted: #8a93a6;
    --hero-grad: linear-gradient(120deg, #3f6cf5 0%, #5a7ff8 55%, #7b93fa 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-page);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--card-border);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 24px rgba(38, 50, 74, 0.04);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 24px;
}

.brand-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    box-shadow: 0 6px 16px rgba(59, 110, 240, 0.35);
}

.brand-title {
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    color: var(--text-main);
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nav-link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.nav-link-item:hover {
    color: var(--accent-blue);
    background: rgba(59, 110, 240, 0.08);
}

.nav-link-item.active {
    color: #ffffff;
    background: var(--accent-blue);
    box-shadow: 0 8px 18px rgba(59, 110, 240, 0.35);
}

.nav-link-item.active i { color: #ffffff; }

/* Main content */
.main-wrapper {
    margin-left: 260px;
    padding: 28px 36px;
}

/* Hero (blue gradient header band) */
.page-hero {
    background: var(--hero-grad);
    border-radius: 20px;
    padding: 30px 32px 64px;
    margin-bottom: -40px;
    box-shadow: 0 16px 32px rgba(59, 110, 240, 0.25);
}

.page-hero .page-title h2 { color: #ffffff; }
.page-hero .page-title p { color: rgba(255, 255, 255, 0.85); }

.page-hero .btn-hero {
    background: #ffffff;
    color: var(--accent-blue-dark);
    border: none;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.page-hero .btn-hero:hover { color: var(--accent-blue-dark); opacity: 0.92; }

/* Cards */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(38, 50, 74, 0.06);
    margin-bottom: 28px;
    scroll-margin-top: 24px;
}

.card-header-clean {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--card-border);
}

.card-header-clean h5 {
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Forms */
.form-control-dark, .form-select-dark {
    background: #f6f8fd;
    border: 1px solid var(--card-border);
    color: var(--text-main);
    border-radius: 10px;
    padding: 10px 14px;
}

.form-control-dark:focus, .form-select-dark:focus {
    background: #ffffff;
    color: var(--text-main);
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 110, 240, 0.15);
}

/* Live status indicator */
.live-dot {
    width: 10px;
    height: 10px;
    background-color: var(--accent-emerald);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(22, 201, 149, 0.6);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 201, 149, 0.6); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(22, 201, 149, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 201, 149, 0); }
}
