* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f2f6f5;
    color: #24312d;
    line-height: 1.6;
}
.navbar {
    background: #0f6e56;
    padding: 14px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.navbar a {
    color: #fff;
    text-decoration: none;
    margin-right: 18px;
    font-size: 15px;
}
.navbar a:hover { text-decoration: underline; }
.navbar .brand { font-size: 19px; font-weight: bold; display: flex; align-items: center; gap: 10px; }
.navbar .brand img { height: 40px; width: 40px; object-fit: contain; }

.container {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px;
}

.card {
    background: #fff;
    border-radius: 10px;
    padding: 25px 30px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

h1 { font-size: 26px; margin-bottom: 10px; color: #0f6e56; }
h2 { font-size: 20px; margin-bottom: 12px; color: #0f6e56; }
p { margin-bottom: 10px; }

.grid-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
}
.menu-item {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: #24312d;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    transition: transform 0.15s;
}
.menu-item:hover { transform: translateY(-3px); }
.menu-item .icon { font-size: 30px; margin-bottom: 8px; }

label { display: block; margin: 14px 0 6px; font-weight: 600; }
input[type=text], input[type=password], select, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
}
textarea { resize: vertical; min-height: 90px; }

.btn {
    display: inline-block;
    background: #0f6e56;
    color: #fff;
    border: none;
    padding: 11px 22px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    margin-top: 16px;
    text-decoration: none;
}
.btn:hover { background: #0a5744; }

.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
}
.alert-success { background: #d9f2e3; color: #0f6e3a; }
.alert-error { background: #fbe1de; color: #a3271a; }

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
table thead, table tbody, table tr { display: table; width: 100%; table-layout: fixed; }
th, td {
    text-align: left;
    padding: 10px;
    border-bottom: 1px solid #e2e2e2;
    font-size: 14px;
}
th { background: #f0f4f3; }

/* ===== Responsif untuk tablet & HP ===== */
@media (max-width: 768px) {
    .navbar {
        padding: 12px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .navbar > div:last-child {
        display: flex;
        flex-wrap: wrap;
        gap: 4px 14px;
        width: 100%;
    }
    .navbar a { margin-right: 0; font-size: 14px; }
    .navbar .brand { font-size: 17px; }
    .navbar .brand img { height: 32px; width: 32px; }

    .container { margin: 16px auto; padding: 0 12px; }
    .card { padding: 18px 16px; margin-bottom: 14px; }

    h1 { font-size: 21px; }
    h2 { font-size: 18px; }

    .grid-menu { grid-template-columns: 1fr; gap: 12px; }

    table thead, table tbody, table tr { table-layout: auto; }
    th, td { padding: 8px; font-size: 13px; }

    .btn { width: 100%; text-align: center; }
    form .btn { display: block; }
}

@media (max-width: 420px) {
    .navbar .brand { font-size: 15px; }
    h1 { font-size: 19px; }
    .card { padding: 14px 12px; }
}

.checklist-group { margin-bottom: 20px; }
.checklist-group h3 { color: #0f6e56; margin-bottom: 8px; font-size: 16px; }
.checklist-item { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 6px; }
.checklist-item input { margin-top: 4px; }

footer {
    text-align: center;
    padding: 20px;
    color: #6b7a75;
    font-size: 13px;
}
