* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #E8F5E9;
    color: #2b3340;
    line-height: 1.6;
}

.topbar {
    background: linear-gradient(135deg, #2E7D32, #4CAF50);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
    flex-wrap: wrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.logo-section h2 {
    font-size: 20px;
}

.logo-section p {
    font-size: 12px;
    opacity: 0.9;
}

.menu {
    display: flex;
    gap: 20px;
}

.menu a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    transition: 0.3s;
}

.menu a:hover {
    opacity: 0.8;
}

.hero {
    text-align: center;
    padding: 50px 20px 25px;
}

.hero-text h1 {
    font-size: 34px;
    color: #1B1B1B;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 15px;
    color: #555;
}

.container {
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 15px;
}

.card-box,
.form-container,
.table-container {
    background: white;
    border-radius: 15px;
    border: 1px solid #dcdcdc;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 25px;
    margin-bottom: 20px;
    transition: 0.25s;
}

.card-box:hover,
.form-container:hover,
.table-container:hover {
    transform: translateY(-3px);
}

.section-title h2 {
    color: #1B1B1B;
    margin-bottom: 5px;
}

.section-title p {
    color: #666;
    margin-bottom: 15px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.stat-card {
    background: linear-gradient(135deg, #E8F5E9, #F1F8E9);
    border: 1px solid #c8e6c9;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.stat-card h3 {
    font-size: 26px;
    color: #2E7D32;
}

.stat-card p {
    color: #555;
    font-size: 13px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.form-grid input {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    background: #f9f9f9;
    transition: 0.2s;
}

.form-grid input:focus {
    border-color: #4CAF50;
    background: white;
}

.button-group {
    display: flex;
    gap: 10px;
}

button {
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

#tambah {
    background: #4CAF50;
    color: white;
}

#tambah:hover {
    background: #388E3C;
}

#update {
    background: #fff3cd;
    color: #856404;
}

#update:hover {
    background: #ffe69c;
}

.menunggu {
    color: orange;
    font-weight: bold;
}

.dipanggil {
    color: green;
    font-weight: bold;
}

.selesai {
    color: gray;
    font-weight: bold;
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: linear-gradient(135deg, #2E7D32, #66BB6A);
}

thead th {
    color: white;
    padding: 12px;
    font-size: 14px;
}

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

tbody tr:hover {
    background: #e8f5e9;
}

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

.aksi {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.proses-btn {
    background: #c8e6c9;
    color: #1b5e20;
    padding: 6px 10px;
    border-radius: 6px;
}

.proses-btn:hover {
    background: #a5d6a7;
}

.edit-btn {
    background: #bbdefb;
    color: #0d47a1;
    padding: 6px 10px;
    border-radius: 6px;
}

.edit-btn:hover {
    background: #90caf9;
}

.hapus-btn {
    background: #ff0019;
    color: #b71c1c;
    padding: 6px 10px;
    border-radius: 6px;
}

.hapus-btn:hover {
    background: #ef9a9a;
}

@media (max-width: 768px) {
    .topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .menu {
        flex-wrap: wrap;
    }

    .button-group {
        flex-direction: column;
    }

    button {
        width: 100%;
    }
}