.time-slots {
    display: flex;
    flex-wrap: wrap;
}
.time-slot-button {
    background-color: #f4f7f9;
    color: black;
    border: 1px solid #d2dce5;
    border-radius: 5px;
    padding: 5px 4px;
    margin: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.time-slot-button:hover {
    background-color: #0b0c63;
    transform: scale(1.05);
}
.time-slot-button.selected {
    background-color: #28a745;
    color: white;
}
.time-slot-button.selected::after {
    content: '✓';
    color: white;
    position: absolute;
    right: 44px;
    top: 15px;
    font-size: 1.2em;
}
/* Modal styles */
.modal1 {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
    justify-content: center; /* Center the loader */
    align-items: center; /* Center the loader */
    display: flex; /* Flexbox for centering */
}


/* Loader CSS */
#loader {
    display: none; /* Hide loader initially */
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 40px;
    z-index: 9999;
    text-align: center;
    background: rgba(190, 158, 158, 0.8);
}

.loader-dot {
    display: inline-block;
    color: rgba(11, 126, 233, 0.966);
    font-size: 30px;
    animation: dot 1s infinite;
}

/* Animation for dots */
@keyframes dot {
    0%, 20% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* Animation delays for each dot */
.dot1 { animation-delay: 0s; }
.dot2 { animation-delay: 0.2s; }
.dot3 { animation-delay: 0.4s; }
