* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f0f2f5;
    padding-top: 80px;
}
/*navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0; width: 100%; z-index: 1000;
}

.logo { 
    font-weight: 700; 
    font-size: 1.5rem; 
    color: #1a4d33; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.nav-links { 
    display: flex; 
    gap: 20px; 
    list-style: none; 
}

.nav-links a { 
    color: #333; 
    text-decoration: none; 
    font-weight: 600; 
    transition: 0.3s; 
}
.nav-links a:hover { 
    color: #2e7d32; 
}

header {
    margin: 10px;
    padding: 10px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* layout */
.main-container {
    display: flex;
    gap: 20px;
    padding: 20px 5%;
    max-width: 1400px;
    margin: 0 auto;
    align-items: flex-start;
    flex-wrap: wrap;
}
.grafik-section {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.kolom-kanan {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* card */
.card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    width: 100%; 
    margin-bottom: 10px;

}

h2 { 
    font-size: 18px; 
    margin-bottom: 10px; 
    color: #222; 
}

p { 
    font-size: 13px; 
    color: #888; 
    margin-bottom: 15px; 
}

/* form */
form { 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
}

label { 
    font-size: 12px; 
    font-weight: 600; 
    color: #555; 
}

input, textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
}

input:focus { border-color: #2e7d32; }

/* tabel */
.section-tabel { 
    padding: 0; 
    max-width: 1400px; 
    margin: 0 auto; 
    width: 100%;
    margin-top: 20px;
}

.section-tabel .card {
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

#laporan { 
    display: none; 
    margin-top: 20px; 
}

#laporan.show { 
    display: block; 
}

table { 
    width: 100%; 
    border-collapse: collapse; 
    margin-top: 15px; 
    font-size: 13px; 
}

th { 
    background: #2e7d32; 
    color: white; 
    padding: 12px; 
}

td { 
    border: 1px solid #eee; 
    padding: 10px; 
    text-align: center; 
}

tr:nth-child(even) { 
    background: #f9f9f9; 
}

.chart-container { 
    width: 100%; 
    height: 350px; 
}

/* Responsive */
@media (max-width: 900px) {
    .main-container { 
        flex-direction: column; 
    }
    .grafik-section, .kolom-kanan { 
        width: 100%; 
    }
}

.form-angkut-bawah {
    margin-top: 20px;
}

/* button */
.btn-green {
    background-color: #2e7d32;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.3s;
}
.btn-green:hover {
    background-color: #1b4d1b;
}

.btn-edit {
    background: #2196f3;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 7px;
    cursor: pointer;
}

/* /hapus */ 
.btn-hapus {
    background: #e53935;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 7px;
    cursor: pointer;
}

.btn-edit, .btn-hapus {
    font-size: 12px;
    margin: 0 2px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}   
