/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}

header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

h1 {
    margin: 0;
    font-size: 1.8rem;
}

main {
    padding: 1.5rem;
}

/* Filter Section */
#filters {
    margin-bottom: 1.5rem;
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

select {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    font-size: 1rem;
}

/* Records Display Section */
#records-display {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive Table */
.table-container {
    overflow-x: auto;
}

#records-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#records-table thead th {
    background-color: #333;
    color: white;
    text-align: left;
    padding: 10px;
    font-size: 1rem;
}

#records-table tbody td {
    padding: 10px;
    font-size: 0.9rem;
    border-bottom: 1px solid #ddd;
}

#records-table tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    main {
        padding: 1rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    #filters, #records-display {
        padding: 0.8rem;
    }

    select {
        font-size: 0.9rem;
    }

    #records-table thead th {
        font-size: 0.85rem;
        padding: 8px;
    }

    #records-table tbody td {
        font-size: 0.85rem;
        padding: 8px;
    }
}
