.calendar {
}

.calendar > .header {
    height: 50px;
    display: flex;
    align-items: center;
    column-gap: 5px;
    padding: 0 10px;
    color: #fff;
    background-color: #9a785c;
    border-color: #f6f6f4;
}

.calendar > .header .panel-title {
    font-weight: 400;
    text-align: center;
    flex-grow: 1;
}

.calendar > .header button {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
}
.calendar > .header button i {
    font-size: 18px;
}
.calendar > .header button:hover i {
    font-weight: bold;
}

.calendar > .header > span {
    white-space: nowrap !important;
}

.calendar .week.names > span {
    color: #604c3b;
    background-color: #f5eee8;
}

.calendar .week {
    overflow: hidden;
}

.calendar .week:last-child {
    border-bottom: solid 1px #eeede9;
}



.calendar .day {
    background: white;
    border-left: solid 1px #eeede9 !important;
    border-top: #eeede9 solid 1px;
    box-sizing: border-box;
    color: black;
    cursor: pointer;
    display: inline-block;
    float: left;
    font-size: 15px !important;
    height: 40px;
    line-height: 40px !important;
    text-align: center;
    vertical-align: middle;
    width: 14.285714285714286%;
}

.calendar .day:first-child {
    border-left: none;
}

.calendar .day:last-child {
    border-right: 1px solid #eeede9;
}

.calendar .day.today {
    background: #E3F2FF;
}

.calendar .day.different-month {
    color: #666;
}

.calendar .day.selected {
    background: #cdae87;
    color: white;
}

.calendar .day a {
    color: #4c4c4c;
}

.calendar .day.unavailable {
    color: #ccc;
    cursor: not-allowed;
}

.calendar .day.unavailable.bookable {
    color: #ccc !important;
    background: #f6f6f4 !important;
}

.calendar .closed {
    background: #4c4c4c !important;
    color: #fff !important;
}

.calendar .booked {
    background: #65888d !important;
    color: #fff !important;
}

.calendar .provisional {
    background: #ddb624 !important;
    color: #fff !important;
}

.calendar .event {
    width: 100%;
    display: inline-block;
    cursor: pointer;
}

.calendar .prev-next-buttons {
    margin-bottom: 10px;
}

.calendar .pastEvent {
    color: #C0C0C0 !important;
}

.calendar .tooltip-inner {
    background: #fff;
    border: 1px solid #333;
    color: #333;
    font-size: 16px;
    max-width: 8em;
    padding: 1em 2em;
}

.calendar .title-date {
    margin-top: 0;
}

.calendar .old-price {
    color: red;
    text-decoration: line-through;
}

/* Loading spinner */
.calendar .loading-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #9a785c;
}

.calendar .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f5eee8;
    border-top-color: #9a785c;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.calendar .loading-text {
    margin-top: 12px;
    font-size: 14px;
}
