.booking-calendar-block {
    text-align: center;
    padding: 20px;
}
.booking-calendar-block a{
	color:  #1d556d;
}
.booking-calendar-block h2 {
    margin-bottom: 10px;
}
.calendar-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
	margin-top: 30px;
}

.calendar-wrapper .day{
	color: #1d556d;
    font-weight: 500;
    font-size: 10px;
    height: 20px !important;
}

	

.calendar-month {
    background: #fff;
    padding: 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}
.calendar-title {
    font-weight: bold;
    margin-bottom: 5px;
}
.calendar-month table {
    border-collapse: collapse;
    width: 100%;
}
.calendar-month th, .calendar-month td {
    border: 1px solid #ccc;
    padding: 3px;
     width: 55px;
    height: 55px;
}
.calendar-month td.empty {
    background: #f9f9f9;
}
.calendar-nav {
    margin-top: 10px;
}

.cell-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.week-number {
    position: absolute;
    top: -3px;
    left: 2px;
    font-size: 10px;
	font-weight: 300;
    color: #1d556d;
	background: #eee;
    padding: 0px 4px;
	margin-left: -5px;
	line-height: 17px;
}

.day-number {
    position: absolute;
    top: -4px;
    right: 2px;
    font-size: 10px;
    font-weight: 300;
    color: #1d556d;
}


.pb_button {
    font-size: 15px;
    font-weight: 300;
    padding: 2px 10px;
	color: white;
    line-height: 1.7em !important;
    background-color: #1d556d;
    border: 2px solid #1d556d;
    border-radius: 3px;
    -webkit-transition-duration: .2s;
    transition-duration: .2s;
    -webkit-transition-property: all !important;
    transition-property: all !important;
	cursor: pointer;
}

.pb_button.book{
	font-weight: 500;
	background-color: #1A772F;
    border: 2px solid #1A772F;
}

.pb_button.book:hover{
	background-color: #21913C;
	border: 2px solid #21913C;
}

.pb_button:hover{
	background-color: #083951;
}

.cell-inner.start,
.cell-inner.end {
	background: transparent;
	position: relative;
}

.cell-inner.start::before,
.cell-inner.end::before {
	content: '';
	position: absolute;
	top: 16px;
    right: 12px;
	width: 20px;
	height: 20px;
	background-color: #21913C;
	border-radius: 50%;
	z-index: 0;
}


.cell-inner.in-range::before {
    content: '';
    position: absolute;
    top: 16px;
    right: 12px;
    width: 20px;
    height: 20px;
    background-color: #21913C;
    border-radius: 50%;
    z-index: 0;
}


.cell-inner.selected {
	font-weight: bold;
}

.cell-inner.disabled {
	cursor: auto;
}

.cell-inner{
	cursor: pointer;
}


.cell-inner .rented {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  line-height: 20px;
  background-color: #d9534f;
  color: white;
  padding: 0px 5px;
  border-radius: 0;
  max-width: 115%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  box-sizing: border-box;
    width: 115%;
}

.institution-available {
    background-color: #a5d6a7;
    color: #000;
    font-size: 11px;
    text-align: center;
    border-radius: 4px;
    padding: 2px 4px;
    display: block;
    margin-top: 4px;
	max-width: 115%;
	overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
	box-sizing: border-box;
    width: 115%;
}

.renter-name {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px; 
  font-weight: normal;
}


.out-of-range{
	opacity: 0.5;
	background: #f9f9f9;
}

.cell-inner.holiday {
	background-color: #fde2e4;
}

.catering-choice-row .catering-choice-label {
	display: block;
	font-weight: bold;
	margin-bottom: 4px;
}

.catering-choice-row .required-asterisk {
	color: #d9534f;
	margin-left: 2px;
}

.catering-choice-row .catering-choice-hint {
	margin: 0 0 10px 0;
	font-size: 13px;
	color: #555;
}

.catering-choice-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: stretch;
}

.catering-card {
	flex: 1 1 180px;
	min-width: 180px;
	border: 2px solid #cfd8dc;
	border-radius: 6px;
	padding: 14px 16px;
	cursor: pointer;
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
	font-weight: 600;
	color: #1d556d;
	font-size: 15px;
	text-align: center;
	user-select: none;
}

.catering-card:hover {
	border-color: #1d556d;
	box-shadow: 0 2px 6px rgba(29, 85, 109, 0.15);
}

.catering-card.selected {
	border-color: #1A772F;
	background-color: #eef7ef;
	box-shadow: 0 2px 6px rgba(26, 119, 47, 0.2);
}

.catering-choice-wrap.error .catering-card {
	border-color: #d9534f;
	box-shadow: 0 0 0 1px #d9534f;
}

.hold-countdown {
	background: #fff8e1;
	border: 1px solid #f0ad4e;
	border-left: 4px solid #f0ad4e;
	padding: 12px 16px;
	border-radius: 4px;
	margin: 16px 0 24px 0;
	color: #5a4100;
	font-size: 14px;
	line-height: 1.5;
}

.hold-countdown strong {
	display: block;
	color: #8a5a00;
	margin-bottom: 2px;
}

.hold-countdown #hold-countdown-timer {
	font-weight: 700;
	color: #b26500;
	font-variant-numeric: tabular-nums;
}

.hold-countdown.expired {
	background: #fdecea;
	border-color: #d9534f;
	border-left-color: #d9534f;
	color: #7a1f1b;
}

.hold-countdown.expired strong {
	color: #a02622;
}

.page-template-tmp-hidden-booking .confirm-selection-wrapper{
	display:none !important;
	height: 1px;
}


.calendar-loader {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.7);
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.calendar-loader .spinner {
	width: 40px;
	height: 40px;
	border: 4px solid #ccc;
	border-top-color: #1d556d;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}



#custom-tooltip{
	display: none;
        position: absolute;
        background: #1b2d48;
        color: white;
        padding: 6px 10px;
        font-size: 12px;
        border-radius: 4px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.3);
        z-index: 9999;
        pointer-events: none;
        max-width: 260px;
        white-space: normal;
        word-wrap: break-word;
		transition: opacity 0.2s ease;
}



.rented-cap{
  position:absolute; 
  top:0; 
  height:22px; 
  width:50%; 
  background: var(--booking-color, currentColor);
  color: #fff;
  font-size: 9px;
  line-height: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-sizing: border-box;
  padding: 0 4px;
}
.rented-cap.cap-left{
    left: -6%;
    margin-top: 23px;
    width: 60%;
    border-radius: 0 4px 4px 0;
	height: 20px;  
}

.rented-cap.cap-right{ 
    left: 23px;
    margin-top: 23px;
    width: 60%;
    border-radius: 4px 0 0 4px;
	height: 20px;  
}


