body {
    background-color: #f2f2f2;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Header Style with background image */
.header-box {
    position: relative;
    background-image: url('img/header-bg.webp');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
    padding: 10px 20px;
    text-align: center;
    overflow: hidden;
}

.header-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.3); /* overlay putih semi transparan */
    z-index: 0;
}

.header-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.header-content img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.header-text {
    border-left: 2px solid #ccc;
    padding-left: 15px;
}

.header-text h1 {
    margin: 0;
    font-size: 20px;
    font-weight: normal;
    color: #333;
}

.header-text p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background-color: #007bff;
    color: #fff;
}

th,
td {
    padding: 12px;
    text-align: left;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

button {
    padding: 6px 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

/* Loading Spinner */
.loading {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
