body.loading .overlay {
display: block;
}
.overlay {
display: none;
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 9999;
background: rgba(255, 255, 255, 0.7);
backdrop-filter: blur(2px);
}
.overlay::after {
content: "";
display: block;
position: absolute;
top: 50%;
left: 50%;
width: 50px;
height: 50px;
margin-top: -25px;
margin-left: -25px;
border: 4px solid #f3f3f3;
border-radius: 50%;
border-top: 4px solid var(--ensuite-primary-color, #a11239);
animation: spin 1s linear infinite;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.mbsc-calendar-table {
margin-left: 10%;
margin-right: 10%;
}
@media only screen and (max-device-width: 480px) {
.mbsc-calendar-table {
margin-left: 0;
margin-right: 0;
}
}
.mbsc-ios.mbsc-datepicker-inline {
border-color: #fff;
}
.mbsc-ios.mbsc-calendar-controls {
padding: 2px;
align-items: center;
justify-content: center;
}
.mbsc-ios.mbsc-timegrid-item.mbsc-selected,
.mbsc-ios.mbsc-timegrid-item:focus,
.mbsc-ios.mbsc-timegrid-item:hover {
font-size: .875em;
}
.mbsc-ios.mbsc-calendar-week-day {
font-weight: 500;
font-size: 1em;
}
.mbsc-calendar-label-text {
line-height: 1.1em;
}
.mbsc-datepicker-tab-time {
background-color: var(--base-color-background);
margin-top: 52px;
margin-bottom: 10px;
}
.mbsc-ios.mbsc-scroller-pointer .mbsc-scroller-wheel-item.mbsc-selected {
color: var(--ensuite-primary-color);
}
.md-calendar-booking .mbsc-timegrid-item {
margin-top: 0.2em !important;
margin-bottom: 0.2em !important;
}
.md-calendar-booking .mbsc-calendar-text {
text-align: center;
}
.md-calendar-booking .booking-datetime .mbsc-datepicker-tab-calendar {
flex: 1 1 0;
min-width: 300px;
}
.md-calendar-booking .mbsc-timegrid-item {
margin-top: 1.5em;
margin-bottom: 1.5em;
}
.md-calendar-booking .mbsc-timegrid-container {
top: 30px;
}
.mbsc-ios.mbsc-calendar-button.mbsc-button {
color: var(--ensuite-primary-color);
}
.mbsc-font {
font-family: 'PT Sans', Helvetica, Arial, Lucida, sans-serif;
font-weight: 600;
}
.mbsc-ios.mbsc-selected .mbsc-calendar-cell-text {
border-color: var(--ensuite-primary-color);
background: var(--ensuite-primary-color);
color: #fff;
}
.mbsc-ios.mbsc-timegrid-item.mbsc-selected {
background: var(--ensuite-primary-color);
color: #fff;
}
.mbsc-ios.mbsc-hover .mbsc-calendar-cell-text {
background-color: rgba(var(--ensuite-primary-color-rgb), 0.4);
}
.mbsc-ios.mbsc-timegrid-item:focus,
.mbsc-ios.mbsc-timegrid-item:hover {
background: rgba(var(--ensuite-primary-color-rgb), 0.4);
}
.mbsc-datepicker .mbsc-calendar {
height: 102%;
max-width: 102%;
}
div.mbsc-datepicker-tab:nth-child(1) {
width: 70%;
}
.mbsc-calendar-label-text {
color: #666 !important;
font-size: 0.85em;
text-align: center;
line-height: 1.2em;
font-weight: 500;
}
.ensuite-button {
background-color: #88e038;
color: white;
border: none;
padding: 10px 20px;
font-size: 16px;
border-radius: 6px;
cursor: pointer;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
transition: background-color 0.3s ease;
text-align: center;
}
.ensuite-button:disabled {
background-color: #c5e5a3;
cursor: not-allowed;
}
.ensuite-time-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
gap: .5rem;
margin-top: 1rem;
}
.ensuite-time-btn {
padding: .6rem .75rem;
border: 2px solid var(--ensuite-primary, #88e038); border-radius: .5rem;
background: #fff; color: #333; font-weight: 600;
cursor: pointer;
text-align: center;
transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
}
.ensuite-time-btn:hover {
background: rgba(136, 224, 56, 0.1); }
.ensuite-time-btn.is-selected {
background: var(--ensuite-primary, #88e038); color: #fff; border-color: var(--ensuite-primary, #88e038);
font-weight: 700;
}
.ensuite-time-btn[disabled],
.ensuite-time-btn[aria-disabled="true"] {
opacity: .5;
cursor: not-allowed;
}