/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 1200px;
    margin: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
    color: #333;
}

/* Navigation Buttons */
.navigation {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

.navigation button {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    flex: 1;
    background-color: #28a745;
    color: white;
}

.navigation button:hover {
    background-color: #218838;
}

/* Record List */
.record-list {
    margin-top: 20px;
}

.record-list h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #333;
}

table tr:hover {
    background-color: #f1f1f1;
    cursor: pointer;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navigation {
        flex-direction: column;
    }

    .navigation button {
        width: 100%;
    }

    table th,
    table td {
        padding: 8px;
    }
}