.custom-date-picker {
    font-family: 'Montserrat';
    position: relative;
    display: inline-block;
    width: 100%;
}

#customDate {
    cursor: pointer;
}

/* Calendar Popup */
.calendar-popup {
    display: none;
    opacity: 0;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 100%;
    left: 0;
    width: 300px;
    height: 332px;
    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;
}

/* Header */
.calendar-header {
    font-family: 'Montserrat';
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    margin-bottom: 10px;
    height: 40px;
    width: 100%;
    flex-shrink: 0;
    background-color: #f0f0f0;
}

.chevron-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 5px;
    margin-top: 7px;
}

/* Weekday Row */
.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: bold;
    margin-bottom: 5px;
    width: calc(100% - 20px);
    font-family: 'Montserrat';
}

.calendar-weekdays div {
    padding: 5px;
    font-size: 14px;
}


/* Calendar Grid */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
    width: calc(100% - 20px);
}

.calendar-grid button {
    font-family: 'Montserrat';
    aspect-ratio: 1;
    border: none;
    background-color: #f0f0f0;
    cursor: pointer;
    font-size: 14px;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.calendar-grid button:hover {
    background: #007bff;
    color: white;
}

/* Disable past dates */
.past-date {
    color: #ccc;
    pointer-events: none;
}