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

body {
    background-color: #f0f2f5;
    color: #333333;
    line-height: 1.6;
    padding: 25px 15px;
}

.wrapper {
    max-width: 960px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.header img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.navbar {
    display: flex;
    background-color: #2f556d;
}

.navbar a {
    flex: 1;
    padding: 12px 10px;
    color: #ffffff;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    transition: background-color 0.2s;
}

.navbar a:last-child {
    border-right: none;
}

.navbar a:hover {
    background-color: #203a4c;
}

.content {
    display: flex;
    min-height: 420px;
}

.konten-kiri {
    width: 25%;
    padding: 20px;
    background-color: #f8fafc;
    border-right: 1px solid #e2e8f0;
    font-size: 14px;
}

.konten-kiri h3 {
    color: #2f556d;
    font-size: 15px;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid #e2e8f0;
}

.konten-kiri p {
    color: #555555;
    line-height: 1.5;
    margin-bottom: 12px;
}

.konten-kiri ul {
    padding-left: 20px;
    color: #555555;
}

.konten-kiri li {
    margin-bottom: 6px;
}

.konten-utama {
    width: 75%;
    padding: 20px 25px;
}

.konten-utama h2 {
    color: #2f556d;
    font-size: 20px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #2f556d;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

form table td {
    padding: 8px 6px;
    border: none;
    vertical-align: middle;
}

form table td:first-child {
    width: 140px;
    font-weight: 500;
    color: #444444;
}

.tabel-data {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.tabel-data th,
.tabel-data td {
    border: 1px solid #e2e8f0;
    padding: 10px 12px;
    text-align: left;
    font-size: 14px;
}

.tabel-data th {
    background-color: #2f556d;
    color: #ffffff;
    font-weight: 600;
}

.tabel-data tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

.tabel-data tbody tr:hover {
    background-color: #eef3f7;
}

.tabel-data td a {
    color: #2f556d;
    text-decoration: none;
    font-weight: 500;
}

.tabel-data td a:hover {
    text-decoration: underline;
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="file"],
select,
textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 14px;
    color: #333333;
    background-color: #ffffff;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    border-color: #2f556d;
    outline: none;
}

.dataTables_filter input {
    width: auto;
    display: inline-block;
    margin-left: 6px;
}

.dataTables_length select {
    width: auto;
    display: inline-block;
    margin: 0 6px;
}

button,
input[type="submit"] {
    background-color: #2f556d;
    color: #ffffff;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s;
}

button:hover,
input[type="submit"]:hover {
    background-color: #203a4c;
}

button a {
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
}

.login-box {
    max-width: 420px;
    margin: 35px auto;
    padding: 30px 25px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.login-box h2 {
    color: #2f556d;
    font-size: 20px;
}

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

.table-login td {
    padding: 8px 4px;
    border: none;
}

.table-login td:first-child {
    width: 90px;
    font-weight: 500;
    color: #444444;
}

.table-login input[type="submit"] {
    width: 100%;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 15px;
    font-size: 13px;
}

.alert-success {
    background-color: #dcfce7;
    color: #166534;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 15px;
    font-size: 13px;
}

.alert-warning {
    background-color: #fef3c7;
    color: #92400e;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 15px;
    font-size: 13px;
}

.footer {
    background-color: #2f556d;
    color: #ffffff;
    text-align: center;
    padding: 14px;
    font-size: 13px;
}

.text-center {
    text-align: center;
    margin-bottom: 15px;
}

.btn-spacing {
    margin-left: 10px;
}

@media screen and (max-width: 768px) {
    .navbar,
    .content {
        flex-direction: column;
    }

    .navbar a {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .konten-kiri,
    .konten-utama {
        width: 100%;
    }

    .konten-kiri {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
}