/* Reset some default styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Container styling */
.container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
    animation: slideIn 0.5s ease-in-out;
}

/* Animation for container entrance */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form styling */
form {
    margin-bottom: 20px;
}

form label {
    font-size: 1.1em;
    color: #333;
}

select, button {
    padding: 10px 15px;
    font-size: 1em;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 10px 0;
}

select {
    width: 100%;
    max-width: 250px;
}

button {
    background-color: #007bff;
    color: white;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

button:active {
    transform: scale(1);
}

/* Table styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

table th, table td {
    padding: 12px;
    text-align: center;
    font-size: 0.9em;
    color: #333;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: #007bff;
    color: white;
    font-weight: bold;
}

table tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Button styling for PDF download */
button.download {
    margin-top: 15px;
    background-color: #28a745;
}

button.download:hover {
    background-color: #218838;
    transform: scale(1.05);
}

button.download:active {
    transform: scale(1);
}

/* Responsive design */
@media (max-width: 600px) {
    .container {
        padding: 15px;
    }

    table th, table td {
        font-size: 0.8em;
        padding: 10px;
    }

    form label {
        font-size: 1em;
    }

    select, button {
        font-size: 0.9em;
        padding: 8px 12px;
    }
}

/* Placeholder styling */
select:focus, button:focus {
    outline: none;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
}
