/* Update these variables in your :root section */
:root {
    /* --- NEW NAVBAR AND FOOTER COLORS (Navy Blue) --- */
    --navbar-bg-color: #000080; /* A standard navy blue color */
    --text-light: #FFFFFF;      /* White text for visibility on navy blue */
    --text-hover-light: #E0E0E0; /* Slightly dimmer white on hover */
    --accent-color: #ADD8E6;    /* Keep your light blue accent for underlines/buttons */
    --shadow-color-dark: rgba(0, 0, 0, 0.4); /* Adjusted shadow for darker background */
    --border-color-dark: rgba(255, 255, 255, 0.1); /* Subtle light border for definition */

    /* --- DROPDOWN MENUS (Adjusted for dark background) --- */
    --dropdown-bg-color: #000066; /* Slightly darker navy for dropdown background */
    --dropdown-bg-hover: rgba(255, 255, 255, 0.1); /* Subtle white transparent hover on dark dropdown */
    --dropdown-text-hover: #F0F8FF; /* Off-white for text on dropdown item hover */
    --dropdown-border: rgba(255, 255, 255, 0.2); /* Clearer dropdown border on dark background */
    --dropdown-shadow: rgba(0, 0, 0, 0.4); /* Stronger dropdown shadow */

    /* Rest of your existing variables can remain, adjust as needed for overall theme */
    --pure-white: #FFFFFF;
    --secondary-black: #343A40;
    --primary-black: #000000;
    --accent-grey: #6C757D;
    --primary-blue-elegant: #ADD8E6;
    --dark-blue-accent: #5F9EA0;
    --light-blue-bg: #F0F8FF;

    /* And the rest of your colors... */
    --primary-blue: #A9D1DF;
    --light-blue: #E8F0F5;
    --medium-blue: #7FB0CC;
    --dark-blue: #4A7A96;
    --deep-blue: #2A4C62;

    --footer-bg-color: #000066; /* Matching dark navy for footer */
    --text-color: #555555; /* General text color for body */
    --danger-red: #DC3545;
    --warning-orange: #FFC107;
    --success-green: #28A745;
    --shadow-light: rgba(0, 0, 0, 0.06);
    --shadow-medium: rgba(0, 0, 0, 0.12);
    --shadow-strong: rgba(0, 0, 0, 0.20);

    --grey-dark: #343a40; /* Assuming this exists from your previous code */
}

/* --- Global Body & Container Styles --- */
body {
    background-color: var(--light-blue-bg); /* Very light blue background for the body */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 70px; /* Add padding for fixed-top navbar */
}
/* --- Media query for smaller screens --- */
@media (max-width: 991.98px) {
    /* ... kode CSS lainnya untuk mobile ... */

    /* Pastikan ikon hamburger terlihat */
    .navbar-toggler {
        border-color: rgba(255, 255, 255, 0.5) !important; /* Tambahkan border putih tipis */
    }

    .navbar-toggler-icon {
        /* Memaksa ikon hamburger menjadi putih */
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }
}
.container {
    flex-grow: 1; /* Allows the container to take up available space */
    margin-top: 30px; /* Spacing from navbar */
    margin-bottom: 30px; /* Spacing to footer */
}

/* --- Card Styles --- */
.card {
    border: 1px solid var(--primary-blue-elegant); /* Light blue border */
    border-radius: 15px; /* More rounded corners */
    box-shadow: 0 6px 20px var(--shadow-light); /* Using custom shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for hover */
    background-color: var(--pure-white); /* White background for cards */
    height: 100%; /* Ensure cards in a row have same height */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Space out content vertically */
}

.card:hover {
    transform: translateY(-5px); /* Lift card slightly on hover */
    box-shadow: 0 10px 30px var(--shadow-medium); /* Enhanced shadow on hover */
}

.card h5 {
    color: var(--grey-dark); /* Dark text for headings */
    font-weight: 600;
    margin-bottom: 15px; /* Spacing below title */
}

.card img {
    max-width: 100%;
    height: auto; /* Keep aspect ratio */
    border-radius: 10px; /* Slightly rounded images */
    margin-bottom: 10px; /* Spacing below image */
    object-fit: cover; /* Ensures image covers area without distortion */
    flex-grow: 1; /* Allows image to fill available height in card */
}

.container.mt-5.mb-5.py-5.text-center {
    background-color: var(--primary-blue-elegant); /* Light blue background */
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow-light); /* Using custom shadow */
    padding: 40px !important; /* Override default padding */
    margin-top: 40px !important;
    margin-bottom: 40px !important;
}


/* Custom CSS untuk tabel biru dongker data penjualan baru/data pejualan ekonomis/data penjualan yang sudah di arsip */
    .bg-navy-blue {
    background-color: var(--navbar-bg-color) !important;
}
.bg-navy-blue h5, .bg-navy-blue .card-title {
    color: var(--text-light) !important;
}



/* Custom CSS untuk tabel hitam */
.table-dark-custom tbody,
.table-dark-custom .table-striped > tbody > tr:nth-of-type(odd) {
    background-color: var(--dark-blue); /* Gunakan warna biru dongker Anda atau #212529 untuk hitam pekat */
    color: var(--text-light); /* Warna teks untuk body tabel */
}

/* Mengubah warna border tabel */
.table-dark-custom.table-bordered,
.table-dark-custom.table-bordered th,
.table-dark-custom.table-bordered td {
    border-color: #444 !important; /* Warna border abu-abu gelap */
}

/* Mengubah warna hover */
.table-dark-custom.table-hover tbody tr:hover {
    background-color: #343a40 !important; /* Warna hover sedikit lebih terang dari hitam */
}
