* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Baloo 2', cursive;
}

body {
    background: #f2e8dc; /* soft cream */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 50px;
    font-family: 'Baloo 2', cursive;
}

.container {
    width: 90%;             /* container guna 90% dari viewport */
    max-width: 1200px;      /* had maksimum untuk desktop besar */
    background: linear-gradient(145deg, #fff8ed, #faeacf);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    padding: 35px 45px;
    margin-left: auto;
    margin-right: auto;     /* center container */
}

/* Mobile Adjustment */
@media (max-width: 1024px) {
    .container {
        width: 95%;           /* lebih sesuai untuk tablet */
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .container {
        width: 98%;           /* untuk phone */
        padding: 25px 15px;
    }
}

.logo {
    display: block;
    margin: 0 auto 20px;
    max-width: 380px;
    height: auto;
}

h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
}

.search-form {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.search-form input {
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #d4af37;
    font-size: 15px;
    width: 240px;
    transition: 0.3s;
}

.search-form input:focus {
    outline: none;
    border-color: #b8962e;
    box-shadow: 0 0 8px rgba(212,175,55,0.4);
}

.search-form button {
    padding: 14px 30px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #d4af37, #b8962e);
    color: #000;
    font-weight: 700;
    cursor: pointer;
    transition: 0.4s;
    box-shadow: 0 0 8px rgba(212,175,55,0.5);
}

.search-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(212,175,55,0.7);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 14px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

table th {
    background: linear-gradient(90deg, #fdf3d4, #f9eac4);
    font-weight: 700;
    padding: 14px 15px;
}

table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

table tr:hover td {
    background: #fff8e1;
}

.no-record {
    text-align: center;
    margin-top: 25px;
    color: #b8962e;
    font-weight: 600;
    font-size: 15px;
}

@media (max-width: 768px) {
    .search-form input {
        width: 100%;
        max-width: 300px;
    }

    table th, table td {
        font-size: 13px;
        padding: 10px 8px;
    }
}

.table-responsive {
    overflow-x: auto;       /* aktifkan horizontal scroll */
    -webkit-overflow-scrolling: touch; /* smooth scroll iOS */
    margin-top: 15px;
}

/* Optional: hide scrollbar tapi tetap scrollable */
.table-responsive::-webkit-scrollbar {
    height: 20px;
}
.table-responsive::-webkit-scrollbar-thumb {
    background: rgba(46, 39, 14, 0.5);
    border-radius: 3px;
}

