/* Global styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    margin: 0;
    padding: 0;
    background-color: #f4f7fb;
    color: #333;
}

h1, h2 {
    color: #333;
    text-align: center;
    font-weight: bold;
}

/* Form Styles */
#filterForm {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#filterForm label {
    font-weight: bold;
    color: #555;
}

#filterForm input {
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

#filterForm button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    border-radius: 4px;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

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

/* Table Styles */
#reportTable {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: none; /* Tampilkan tabel setelah data dimuat */
}

#reportTable th, #reportTable td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
}

#reportTable th {
    background-color: #007bff;
    color: #fff;
    font-size: 14px;
}

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

#reportTable tbody tr:hover {
    background-color: #f1f1f1;
}

/* Table Content Styling */
#reportTable td {
    color: #555;
    font-size: 14px;
}

/* Report Container */
#reportContainer {
    max-width: 900px;
    margin: 20px auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    #filterForm {
        max-width: 100%;
        padding: 10px;
    }

    #filterForm button {
        padding: 12px;
        font-size: 14px;
    }

    #reportTable {
        font-size: 12px;
    }

    #reportTable th, #reportTable td {
        padding: 8px;
    }
}
