* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6fb;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.kepala {
    height: 220px;
    width: 100%;
    background: linear-gradient(135deg, #FDE2E4 0%, #FFCAD4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.kepala img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.menu {
    height: auto;
    width: 100%;
    background: linear-gradient(90deg, #FFCAD4 0%, #FDCBCC 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0 20px;
    flex-wrap: wrap;
}

.menu ul li {
    padding: 0;
}

.menu ul li a {
    display: block;
    padding: 18px 24px;
    color: #5a3e42;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    border-radius: 0;
    transition: all 0.3s ease;
}

.menu ul li a:hover {
    background-color: rgba(255, 255, 255, 0.5);
    color: #b23a48;
    transform: translateY(-1px);
}

.bungkus {
    display: flex;
    min-height: 500px;
    gap: 0;
}

.sisikiri {
    width: 220px;
    min-height: 500px;
    background: linear-gradient(180deg, #BEE1E6 0%, #A8D5DB 100%);
    padding: 25px 20px;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
}

.sisikiri a {
    display: block;
    padding: 10px 12px;
    margin-bottom: 6px;
    color: #2c5c63;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.25s ease;
}

.sisikiri a:hover {
    background-color: rgba(255, 255, 255, 0.6);
    transform: translateX(4px);
}

.konten {
    flex: 1;
    background-color: #f9fafc;
    padding: 30px 35px;
    min-height: 500px;
    overflow-x: auto;
}

.konten h1 {
    font-size: 26px;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid #FFCAD4;
    display: inline-block;
}

.konten h2 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FFCAD4;
    display: inline-block;
}

button,
input[type="submit"],
input[type="button"] {
    background: linear-gradient(135deg, #FFB6C1 0%, #FF9AA8 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(255, 154, 168, 0.4);
}

button:hover,
input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 154, 168, 0.6);
}

button a {
    color: white;
    display: block;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    margin-top: 15px;
    font-size: 14px;
}

table thead {
    background: linear-gradient(135deg, #FFCAD4 0%, #FDCBCC 100%);
}

table thead td,
table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 700;
    color: #5a3e42;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

table tbody tr {
    border-bottom: 1px solid #eef0f3;
    transition: background-color 0.2s ease;
}

table tbody tr:hover {
    background-color: #fdf3f4;
}

table tbody tr:last-child {
    border-bottom: none;
}

table tbody td {
    padding: 12px 16px;
    color: #444;
    vertical-align: middle;
    border: none;
}

table img {
    border-radius: 6px;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

table tbody td a {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    margin-right: 4px;
}

table tbody td a[href*="edit"] {
    background-color: #4dabf7;
}

table tbody td a[href*="edit"]:hover {
    background-color: #339af0;
    transform: translateY(-1px);
}

table tbody td a[href*="delete"] {
    background-color: #ff6b6b;
}

table tbody td a[href*="delete"]:hover {
    background-color: #fa5252;
    transform: translateY(-1px);
}

form table {
    box-shadow: none;
    background-color: transparent;
    max-width: 600px;
}

form table td {
    padding: 10px 12px;
    border: none;
    background-color: transparent;
}

form input[type="text"],
form input[type="number"],
form input[type="password"],
form input[type="file"],
form select,
form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.25s ease;
    background-color: white;
}

form input:focus,
form select:focus,
form textarea:focus {
    outline: none;
    border-color: #FF9AA8;
    box-shadow: 0 0 0 4px rgba(255, 154, 168, 0.15);
}

.dataTables_wrapper {
    margin-top: 15px;
}

.dataTables_filter input,
.dataTables_length select {
    padding: 6px 10px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 13px;
}

.dataTables_filter input:focus,
.dataTables_length select:focus {
    outline: none;
    border-color: #FF9AA8;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 6px 12px;
    margin: 2px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    background-color: white;
    color: #444;
    cursor: pointer;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: linear-gradient(135deg, #FFCAD4 0%, #FDCBCC 100%);
    color: #5a3e42;
    border-color: transparent;
    font-weight: 700;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: #fdf3f4;
    color: #b23a48;
}

.footer {
    height: auto;
    width: 100%;
    background: linear-gradient(135deg, #FDE2E4 0%, #FFCAD4 100%);
    padding: 20px;
    text-align: center;
    color: #5a3e42;
    font-size: 13px;
    margin-top: 0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .bungkus {
        flex-direction: column;
    }

    .sisikiri {
        width: 100%;
        min-height: auto;
        padding: 15px;
    }

    .konten {
        width: 100%;
        padding: 20px;
    }

    .menu ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .menu ul li a {
        padding: 12px 16px;
        font-size: 13px;
    }
}