/* Modal Styles */


#timeSlots {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    width: calc(100% - 20px);
    justify-items: center;
    gap: 10px;
    overflow: auto;
    scrollbar-width: none;
    margin-top: 10px;
    margin-bottom: 10px;
}

#timeInput {
    cursor: pointer;
}

.unavailable {
    cursor: not-allowed;
    background-color: #cbc8c8 !important;
    color: #9d9d9d !important;
    pointer-events: none;
}

/* time Popup */
.time-popup {
    display: none;
    opacity: 0;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 300px;
    height: 320px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 100;
    overflow: hidden;
    transition: opacity 0.25s;
}


.time-header {
    font-family: 'Geologica Light';
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    width: 100%;
    height: 40px;
    margin: 0;
    flex-shrink: 0;
    position: relative;
    background-color: #f0f0f0;  
}

.time-header-title {
    margin: 0;
    position: absolute;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
}


.time-slot {
    font-family: 'Geologica Light';
    height: 40px;
    width: 100%;
    border: none;
    background-color: #f0f0f0;
    cursor: pointer;
    font-size: 14px;
    border-radius: 10px;
    transition: background-color 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.time-slot:hover {
    background: #007bff;
    color: white;
}

.selected {
    background-color: #4CAF50;
    color: white;
}

/* Close button */
.time-header-close {
    display: flex;
    color: #aaa;
    float: right;
    cursor: pointer;
    right: 10px;
    text-align: right !important;
    position: absolute;
    transition: transform 0.4s, color 0.3s;
}

.time-header-close:hover {
    color: black;
    transform: rotate(90deg);
}
