/* General Styling */
body {
    font-family: sans-serif;
    background-color: #f0f2f5;
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%239C92AC' fill-opacity='0.1'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
    color: #333;
    margin: 0;
    padding: 20px;
}

#app {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Header */
header {
    background: #6a11cb;
    background: -webkit-linear-gradient(to right, #2575fc, #6a11cb);
    background: linear-gradient(to right, #2575fc, #6a11cb);
    padding: 20px;
    border-radius: 16px 16px 0 0;
    text-align: center;
    color: white;
}

h1 {
    margin: 0;
    font-size: 2.5em;
    font-weight: bold;
}

/* Main Content */
main {
    padding: 20px;
}

/* Calendar */
#calendar-container h2 {
    text-align: center;
    font-size: 1.8em;
    color: #333;
}

#calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.calendar-day {
    padding: 15px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.calendar-day:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.calendar-day.selected {
    background-color: #2575fc;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 117, 252, 0.5);
}

/* Details Container */
.hidden {
    display: none;
}

#details-container {
    margin-top: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#details-container h2 {
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.time-input, .polling {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.time-input label, .polling label {
    font-size: 1.1em;
}

input[type="time"], input[type="checkbox"] {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    box-shadow: 0 0 0 2px rgba(37, 117, 252, 0);
    transition: box-shadow 0.3s ease;
}

input[type="checkbox"]:checked {
    box-shadow: 0 0 0 3px rgba(37, 117, 252, 0.5);
}


/* Responsive */
@media (max-width: 600px) {
    #calendar {
        grid-template-columns: 1fr;
    }
    .time-input, .polling {
        flex-direction: column;
    }
}
