/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
    color: #333;
    text-align: center;
}

h1, h2 {
    color: #007bff;
    margin: 20px 0;
    font-weight: bold;
}

a {
    text-decoration: none;
}

/* Department List */
.department-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

.department-list a {
    display: inline-block;
    padding: 12px 25px;
    background-color: #007bff;
    color: white;
    font-size: 16px;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.department-list a:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}

/* Poll List */
.poll-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px 0;
    gap: 10px;
}

.poll-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #28a745;
    color: white;
    font-size: 16px;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 300px; /* Adjust width for a consistent button size */
    text-align: center;
}

.poll-button:hover {
    background-color: #218838;
    transform: translateY(-3px);
}

/* No Polls Message */
.poll-list p {
    color: #6c757d;
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .department-list, .poll-list {
        flex-direction: column;
        gap: 10px;
    }

    .department-list a, .poll-button {
        width: 90%; /* Full-width on smaller screens */
    }
}
