/* style.css */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7f6;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Styling Form Login */
#login-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #f4f7f6;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.login-box {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    text-align: center;
    width: 300px;
}

input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 15px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.btn-login {
    background-color: #2c3e50;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    font-weight: bold;
}

/* Dashboard Container */
#dashboard-content {
    display: none; 
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    max-width: 1000px; /* Diperlebar agar bagan leluasa */
    width: 90%;
    margin: 20px;
}

h2 { color: #333; margin-bottom: 0.5rem; }

/* Grid Layout */
.dashboard-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
    align-items: flex-start;
}

.menu-section {
    flex: 1;
    min-width: 250px;
}

.chart-section {
    flex: 2;
    min-width: 300px;
    padding: 15px;
    background: #fafafa;
    border-radius: 10px;
    border: 1px dashed #ccc;
}

/* Tombol Menu */
.btn {
    display: block;
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: transform 0.2s, opacity 0.2s;
    box-sizing: border-box;
}

.btn:active { transform: scale(0.98); }
.btn:hover { opacity: 0.9; }

.btn-butcher { background-color: #e74c3c; }
.btn-waste-organic { background-color: #27ae60; }
.btn-waste-leaf { background-color: #f39c12; }

/* Image Styling */
.org-chart-img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    cursor: zoom-in;
    transition: 0.3s;
}

.org-chart-img:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.footer {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: #888;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .dashboard-grid {
        flex-direction: column;
    }
    .chart-section {
        width: 100%;
        box-sizing: border-box;
    }
}

/* style.css */

/* ... (kode sebelumnya tetap ada) ... */

.logo-container {
    margin-bottom: 20px;
    text-align: center;
}

.logo-img {
    max-width: 150px; /* Ukuran logo di login */
    height: auto;
}

.logo-dashboard {
    max-width: 120px; /* Ukuran logo di dalam dashboard */
    height: auto;
    margin-bottom: 10px;
}

/* Mempercantik tampilan header dashboard */
.dashboard-header {
    border-bottom: 2px solid #f4f7f6;
    padding-bottom: 20px;
    margin-bottom: 20px;
}