/* Center the calendar */
.calendar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.calendar-wrapper-container {
    display: flex;
    justify-content: center;
    height: max-content;
}

/* Remove default border */
.react-calendar {
    width: 320px;
    border: none !important;
    font-family: sans-serif !important;
    border: 1px solid #F0F0F0 !important;
    border-radius: 12px;
    box-shadow: #0000000A 0px 0px 4px 0px;
    margin-top: 3em !important;
}

.react-calendar__navigation__next-button {
    font-size: 25px !important;
}

.react-calendar__navigation__prev-button {
    font-size: 20px !important;
}

.small-calendar {
    max-width: 247px !important;
    font-size: 14px !important;

}

/* Navigation (Month & Arrows) */
.react-calendar__navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: unset !important;
    border-bottom: 1px solid #F0F0F0;
}

.react-calendar__tile {
    height: 35px !important;
}

/* Navigation arrows */
.react-calendar__navigation button {
    background: none !important;
    border: none;
    font-size: 15px;
    cursor: pointer;
    padding: 5px 10px;
    font-weight: bold;
}

/* Weekday headers */
.react-calendar__month-view__weekdays {
    text-transform: capitalize;
    font-weight: bold;
    color: #555;
    text-align: center;
    text-decoration: none;
    font-size: 0.85em !important;
    font-weight: bold !important;
    margin-bottom: 0.45em !important;
}

.react-calendar__month-view__weekdays abbr {
    text-decoration: none;
}

/* Day tiles (Selectable dates bold) */
.react-calendar__tile {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 25%;
    font-size: 14px;
    font-weight: bold !important;
    cursor: pointer;
    transition: 0.3s;
    background: none;
    border: none;
    color: black;
}

/* Today's date */
.react-calendar__tile--now {
    background: transparent;
    font-weight: bold;
    color: black;
}

/* Selected date */
.react-calendar__tile--active {
    background: #002b62;
    /* Dark blue */
    color: white !important;
    font-weight: bold;
}

/* Hover effect */
.react-calendar__tile:hover {
    background: rgba(0, 43, 98, 0.2);
    color: black;
}

/* Dates from the previous or next month */
.react-calendar__month-view__days__day--neighboringMonth {
    color: #9c9999 !important;
}



.react-calendar__tile--now {
    background: none !important;
}

.react-calendar__tile--now:enabled:hover,
.react-calendar__tile--now:enabled:focus {
    background: none !important;
    ;
}

.react-calendar__tile--hasActive {
    background: #76baff !important;
}

.react-calendar__tile--hasActive:enabled:hover,
.react-calendar__tile--hasActive:enabled:focus {
    background: #a9d4ff !important;
}

.react-calendar__tile--active {
    background: #01367a !important;
    color: white !important;
}

.react-calendar__tile--active:enabled:hover,
.react-calendar__tile--active:enabled:focus {
    background: #01367a !important;
}

.react-calendar--selectRange .react-calendar__tile--hover {
    background-color: #e6e6e6 !important;
}

.react-calendar__tile:disabled {
    background-color: unset !important;
    color: #ababab !important;
}

@media (max-width: 576px) {
    .calendar-wrapper-container {
        margin: 20px 0px;
    }
}