* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background-color: #2c3e50;
    color: #fff;
    padding: 20px 0;
    height: 100vh;
    position: fixed;
}

.sidebar-header {
    padding: 0 30px 15px;
    border-bottom: 1px solid #34495e;
    margin-bottom: 20px;
}

.sidebar-header h1 {
    font-size: 2.rem;
    color: #ecf0f1;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 5px;
}

.sidebar-menu a {
    display: block;
    padding: 12px 20px;
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s;
}

.sidebar-menu a:hover, .sidebar-menu a.active {
    background-color: #34495e;
    color: #ecf0f1;
    border-left: 4px solid #3498db;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 250px;
    padding: 20px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-info span {
    margin-right: 10px;
}

.btn-logout {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}

/* Dashboard Cards */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.card-title {
    font-size: 1rem;
    color: #7f8c8d;
}

.card-icon {
    font-size: 1.5rem;
    color: #3498db;
}

.card-value {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
}

/* Charts */
.charts {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.chart-container {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.chart-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* Tables */
.table-container {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow-x: auto;
}

.table-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th, table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

table tr:hover {
    background-color: #f5f5f5;
}

/* Forms */
.form-container {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.btn {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #3498db;
    color: white;
}

.btn-danger {
    background-color: #e74c3c;
    color: white;
}

.btn-success {
    background-color: #2ecc71;
    color: white;
}

/* Alerts */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Login Page */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f5f5f5;
}

.login-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.login-form h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #2c3e50;
}
/* Gaya untuk Sidebar */
.sidebar {
    width: 250px;
    background-color: #2c3e50; /* Warna latar belakang gelap */
    color: #ecf0f1;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    padding-top: 20px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

/* Header Sidebar */
.sidebar-header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #34495e;
    margin-bottom: 30px;
}

.sidebar-title {
    font-size: 1.2em;
    font-weight: 600;
    margin: 0;
}

.sidebar-subtitle {
    font-size: 0.8em;
    color: #bdc3c7;
    margin: 5px 0 0;
}

/* Menu Navigasi */
.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1; /* Membuat menu mengambil ruang yang tersedia */
}

.sidebar-menu .menu-item a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #ecf0f1;
    text-decoration: none;
    font-size: 0.95em;
    transition: background-color 0.3s, color 0.3s;
    border-left: 3px solid transparent; /* Garis aktif yang awalnya transparan */
}

.sidebar-menu .menu-item a:hover {
    background-color: #34495e; /* Warna latar belakang saat hover */
    color: #3498db; /* Warna teks saat hover */
}

.sidebar-menu .menu-item a.active {
    background-color: #34495e;
    border-left: 3px solid #3498db; /* Garis biru untuk menu aktif */
    color: #3498db;
    font-weight: bold;
}

.sidebar-menu .menu-item a .icon {
    width: 25px; /* Lebar tetap untuk ikon */
    text-align: center;
    margin-right: 10px;
    font-size: 1.1em;
}

/* Footer Sidebar (Logout) */
.sidebar-footer {
    padding: 20px;
    border-top: 1px solid #34495e;
}

.sidebar-footer .btn-logout {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #e74c3c; /* Warna merah untuk tombol logout */
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.btn-blue {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
}
 /* Tombol Edit - Warna Biru */
        .btn-edit {
            background-color: #17a2b8;
            color: white;
            border: none;
            padding: 6px 12px;
            border-radius: 4px;
            cursor: pointer;
            text-decoration: none;
            display: inline-block;
            font-size: 14px;
            transition: background-color 0.3s;
        }
        .btn.btn-blue {
    background-color: #007bff; /* Warna biru */
    color: #fff; /* Warna teks putih */
}
.btn.btn-blue:hover {
    background-color: #0056b3; /* Warna biru yang lebih gelap saat di-hover */
}
.btn-blue:hover {
    background-color: #0069d9;
    border-color: #0062cc;
    color: white;
}
.sidebar-footer .btn-logout:hover {
    background-color: #c0392b;
}

.sidebar-footer .btn-logout i {
    margin-right: 8px;
}
/* Gaya Utama Sidebar */
.sidebar {
    width: 250px;
    background-color: #2c3e50; /* Warna latar belakang utama */
    color: #ecf0f1;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease-in-out;
}

/* Header Aplikasi */
.sidebar-header {
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #34495e;
    padding-bottom: 15px;
}
.sidebar-title {
    font-size: 1.2em;
    font-weight: 600;
    margin: 0;
}
.sidebar-subtitle {
    font-size: 0.8em;
    color: #bdc3c7;
    margin: 5px 0 0;
}

/* Gaya Profil Pengguna */
.user-profile {
    display: flex;
    align-items: center;
    padding: 10px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #34495e;
    
}
.profile-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid #3498db;
    object-fit: cover;
}
.profile-info {
    display: flex;
    flex-direction: column;
}
.profile-name {
    font-size: 1em;
    font-weight: bold;
}
.profile-role {
    font-size: 0.8em;
    color: #bdc3c7;
}

/* Menu Navigasi */
.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}
.sidebar-menu .menu-item a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #ecf0f1;
    text-decoration: none;
    font-size: 0.95em;
    transition: background-color 0.3s, color 0.3s, padding-left 0.3s;
    border-left: 3px solid transparent;
}
.sidebar-menu .menu-item a:hover {
    background-color: #34495e;
    color: #3498db;
    padding-left: 25px; /* Efek visual saat hover */
}
.sidebar-menu .menu-item a.active {
    background-color: #34495e;
    border-left: 3px solid #3498db;
    color: #3498db;
    font-weight: bold;
}
.sidebar-menu .menu-item a .icon {
    width: 25px;
    text-align: center;
    margin-right: 10px;
    font-size: 1.1em;
}

/* Footer Sidebar (Versi & Logout) */
.sidebar-footer {
    padding-top: 20px;
    border-top: 1px solid #34495e;
    text-align: center;
}
.sidebar-version {
    font-size: 0.8em;
    color: #95a5a6;
    margin-bottom: 15px;
}
.btn-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px;
    background-color: #e74c3c;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.btn-logout:hover {
    background-color: #c0392b;
}
.btn-logout i {
    margin-right: 8px;
}
/* Gaya Utama Sidebar */
.sidebar {
    width: 250px;
    background-color: #2c3e50;
    color: #ecf0f1;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease-in-out;
    /* Perbaikan 1: Izinkan sidebar untuk di-scroll */
    overflow-y: auto;
}

/* Footer Sidebar (Versi & Logout) */
.sidebar-footer {
    /* Perbaikan 2: Dorong footer ke bagian bawah sidebar */
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    text-align: center;
}

/* Gaya Versi */
.sidebar-version {
    font-size: 0.8em;
    color: #95a5a6;
    margin-bottom: 15px;
}
/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    border-radius: 5px;
}

.header h1 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin: 0;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info span {
    color: #7f8c8d;
    font-weight: 500;
}

.btn-logout {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.btn-logout:hover {
    background-color: #c0392b;
}

/* Sidebar Styles */
.sidebar {
    width: 250px;
    background-color: #2c3e50;
    color: #fff;
    padding: 20px 0;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    overflow-y: auto;
}

.sidebar-header {
    padding: 0 20px 20px;
    border-bottom: 1px solid #34495e;
    margin-bottom: 20px;
}

.sidebar-header h2 {
    font-size: 1.5rem;
    color: #ecf0f1;
    margin-bottom: 5px;
}

.sidebar-header p {
    font-size: 0.9rem;
    color: #bdc3c7;
    margin: 0;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 5px;
}

.sidebar-menu a {
    display: block;
    padding: 12px 20px;
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.sidebar-menu a:hover, .sidebar-menu a.active {
    background-color: #34495e;
    color: #ecf0f1;
    border-left: 4px solid #3498db;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 250px;
    padding: 20px;
    background-color: #f5f5f5;
    min-height: 100vh;
}

/* Container */
.container {
    display: flex;
    min-height: 100vh;
}

/* Content Area */
.content {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
/* Styling untuk Kartu Dashboard */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.card-title {
    font-size: 1.1rem;
    color: #555;
    font-weight: 500;
}

.card-icon {
    font-size: 2rem;
    opacity: 0.7;
}

.card-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
    text-align: right;
}

/* Styling untuk Grafik dan Peringatan */
.charts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .charts {
        grid-template-columns: repeat(2, 1fr);
    }
}

.chart-container {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 25px;
}

.chart-title {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 10px;
}

/* Styling untuk Alerts */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
}

.alert-danger {
    background-color: #fcebeb;
    color: #c0392b;
    border: 1px solid #e74c3c;
}

.alert-success {
    background-color: #e8f5e9;
    color: #27ae60;
    border: 1px solid #2ecc71;
}

/* Styling untuk Tabel */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

table th, table td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

table thead th {
    background-color: #f5f5f5;
    color: #333;
}
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --text-color: #333;
    --light-text-color: #ecf0f1;
    --bg-light: #f4f7f9;
    --bg-card: #ffffff;
    --border-color: #e9ecef;
    --danger-color: #e74c3c;
    --success-color: #2ecc71;
    --font-family: 'Poppins', sans-serif;
}

/* Base and Layout */
body, html {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    background-color: var(--bg-light);
    color: var(--text-color);
}

.main-container {
    display: flex;
    min-height: 100vh;
}

.main-content {
    flex-grow: 1;
    padding: 30px;
    margin-left: 250px; /* Jarak untuk sidebar */
    transition: margin-left 0.3s ease;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background-color: var(--secondary-color);
    color: var(--light-text-color);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    padding: 20px 0;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    z-index: 100;
}

.sidebar-header {
    text-align: center;
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-title {
    font-size: 1.5em;
    font-weight: 700;
    margin: 0;
}

.sidebar-subtitle {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.6);
    margin: 5px 0 0;
}

.user-profile {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid var(--primary-color);
    object-fit: cover;
}

.profile-name {
    font-weight: 600;
}

.profile-role {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.6);
    text-transform: capitalize;
}

.sidebar-menu {
    list-style: none;
    padding: 20px 0;
    margin: 0;
    flex-grow: 1;
}

.sidebar-menu .menu-item a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--light-text-color);
    text-decoration: none;
    font-size: 0.95em;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
    border-left: 4px solid transparent;
}

.sidebar-menu .menu-item a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}

.sidebar-menu .menu-item a.active {
    background-color: rgba(255, 255, 255, 0.15);
    border-left: 4px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.sidebar-menu .menu-item a .icon {
    width: 25px;
    text-align: center;
    margin-right: 15px;
    font-size: 1.1em;
}

.sidebar-footer {
    padding: 20px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.sidebar-version {
    font-size: 0.7em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 10px;
}

.btn-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px;
    background-color: var(--danger-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.btn-logout:hover {
    background-color: #c0392b;
}

/* Header Utama */
.page-header {
    background-color: var(--bg-card);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: var(--secondary-color);
}
/* Perbaikan untuk kontainer grafik */
.charts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

/* Untuk tampilan desktop, atur menjadi dua kolom */
@media (min-width: 768px) {
    .charts {
        grid-template-columns: repeat(2, 1fr);
    }
}

.chart-container {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 25px;
    /* Tambahkan tinggi maksimum untuk mencegah grafik terlalu tinggi */
    height: 400px;
    position: relative;
}

/* Pastikan kanvas mengisi kontainer dengan baik */
.chart-container canvas {
    max-width: 100%;
    max-height: 100%;
}
/* Modal (Kotak Pop-up) */
.modal {
    display: none; /* Sembunyikan secara default */
    position: fixed; /* Tetap di layar */
    z-index: 1000; /* Letakkan di atas elemen lain */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5); /* Latar belakang transparan */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    padding: 20px;
    width: 90%;
    max-width: 500px;
    animation: fadeIn 0.3s;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.modal-header h3 {
    margin: 0;
}

.modal-body {
    position: relative;
}

.close-btn {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover,
.close-btn:focus {
    color: #333;
}

.btn.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn.btn-secondary:hover {
    background-color: #5a6268;
}

.input-group {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.input-group .form-control {
    flex-grow: 1;
}
body {
    background-image: url('img/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.login-container {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    background-color: #f4f7f9;
    color: #333;
}

.main-content {
    padding: 20px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header h1 {
    margin: 0;
    font-size: 24px;
    color: #2c3e50;
}

.user-info {
    font-size: 14px;
}

.btn-logout {
    text-decoration: none;
    color: #e74c3c;
    margin-left: 10px;
    padding: 8px 12px;
    border: 1px solid #e74c3c;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.btn-logout:hover {
    background-color: #e74c3c;
    color: #fff;
}

/* Pencarian */
.search-container {
    margin-bottom: 20px;
}

.search-container form {
    display: flex;
    gap: 10px;
}

.search-container input[type="text"] {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.btn {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    color: #fff;
}

.btn-search {
    background-color: #3498db;
}

.btn-reset {
    background-color: #95a5a6;
}

.btn-tambah {
    background-color: #2ecc71;
    display: inline-block; /* Agar bisa di-align dengan benar */
}

/* Tabel */
.table-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.table-header h3 {
    margin: 0;
    font-size: 20px;
    color: #2c3e50;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th, table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table thead tr {
    background-color: #f8f9fa;
    color: #555;
    text-transform: uppercase;
    font-size: 12px;
}

table tbody tr:hover {
    background-color: #f1f1f1;
}

.btn-primary {
    background-color: #3498db;
}

.btn-danger {
    background-color: #e74c3c;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

