/* Swiss Design 2026 - Modern Calendar */

.hb-datepick-popup-wrapper,
.hb-datepick-wrapper {
	border-radius: 24px;
	margin: 16px 0;
	position: relative;
}

.hb-datepick-popup {
	position: relative;
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(40px) saturate(200%);
	border: 1.5px solid rgba(0, 0, 0, 0.08);
	border-radius: 24px;
	box-shadow: 0 20px 80px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.04);
	overflow: hidden;
}

.hb-datepick-popup-wrapper {
	display: none;
	position: absolute;
	z-index: 99999;
	animation: hb-calendar-enter 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes hb-calendar-enter {
	from {
		opacity: 0;
		transform: translateY(-12px) scale(0.95);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.hb-dp-rtl .hb-dp-month {
	float: right;
}

.hb-dp-month {
	float: left;
	padding: 16px 20px 20px;
	width: 320px;
	font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Helvetica Neue', sans-serif;
}

.hb-dp-month-header {
	font-size: 18px;
	font-weight: 600;
	line-height: 70px;
	text-align: center;
	letter-spacing: -0.02em;
	color: #1a1a1a;
	background: linear-gradient(180deg, rgba(248, 250, 252, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
	margin: -16px -20px 12px;
	padding: 0 20px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.hb-dp-week-header div,
.hb-dp-day {
	box-sizing: border-box;
	float: left;
	height: 44px;
	line-height: 44px;
	padding: 2px;
	text-align: center;
	width: 14.2%;
}

.hb-dp-day-check-in,
.hb-dp-day-check-out {
	font-weight: 600;
	background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
	color: #ffffff !important;
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0, 102, 255, 0.3);
	position: relative;
	z-index: 2;
}

.hb-dp-day > a,
.hb-dp-day > span {
	display: block;
	height: 100%;
	border-radius: 12px;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	font-weight: 500;
	font-size: 14px;
	position: relative;
}

.hb-dp-day > a:hover {
	background: rgba(0, 102, 255, 0.08);
	color: #0066ff;
	transform: scale(1.08);
}

.hb-dp-day > a:active {
	transform: scale(0.95);
}

.hb-dp-day > span {
	cursor: default;
	color: rgba(0, 0, 0, 0.3);
}

.hb-dp-week-header {
	font-size: 11px;
	font-weight: 700;
	margin-top: 0;
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(0, 0, 0, 0.5);
}

.hb-dp-week-header div {
	height: 32px;
	line-height: 32px;
}

.hb-dp-cmd-wrapper a {
	border-bottom: 0;
	box-shadow: none;
	border-radius: 12px;
	font-size: 20px;
	font-weight: 600;
	height: 40px;
	line-height: 40px;
	outline: none;
	position: absolute;
	text-align: center;
	text-decoration: none;
	top: 15px;
	width: 40px;
	background: rgba(0, 102, 255, 0.06);
	color: #0066ff;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	border: 1px solid rgba(0, 102, 255, 0.12);
}

.hb-dp-cmd-wrapper a:hover {
	background: rgba(0, 102, 255, 0.12);
	border-color: rgba(0, 102, 255, 0.2);
	transform: scale(1.05);
}

.hb-dp-cmd-wrapper a:active {
	transform: scale(0.95);
}

.hb-dp-cmd-wrapper a.hb-dp-disabled {
	cursor: default;
	opacity: 0.3;
	pointer-events: none;
}

.hb-dp-cmd-prev {
	left: 16px;
	text-indent: -1px;
}

.hb-dp-cmd-next {
	right: 16px;
	text-indent: 1px;
}

.hb-dp-cmd-close {
	border-radius: 12px;
	display: none;
	font-size: 16px;
	font-weight: 600;
	line-height: 32px;
	position: absolute;
	right: 12px;
	text-decoration: none;
	top: 12px;
	width: 32px;
	height: 32px;
	background: rgba(0, 0, 0, 0.04);
	color: rgba(0, 0, 0, 0.6);
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	border: 1px solid rgba(0, 0, 0, 0.08);
}

.hb-dp-cmd-close:hover {
	background: rgba(255, 59, 48, 0.1);
	color: #ff3b30;
	border-color: rgba(255, 59, 48, 0.2);
	transform: scale(1.05);
}

.hb-dp-cmd-close:active {
	transform: scale(0.95);
}

.hb-dp-rtl .hb-dp-cmd-prev {
	left: auto;
	right: 12px;
}

.hb-dp-rtl .hb-dp-cmd-next {
	left: 12px;
	right: auto;
}

.hb-dp-multi .hb-dp-month:not(.first) {
	border-left-style: solid;
	border-left-width: 1px;
}

.hb-dp-month-row + .hb-dp-month-row {
	border-top-style: solid;
	border-top-width: 1px;
}

.hb-datepick-legend {
	border-bottom-style: solid;
	border-bottom-width: 1.5px;
	border-bottom-color: rgba(0, 0, 0, 0.06);
	line-height: 36px;
	padding: 16px 48px 16px 24px;
	position: relative;
	text-align: center;
	background: linear-gradient(180deg, rgba(248, 250, 252, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
	font-weight: 500;
	font-size: 13px;
	letter-spacing: -0.01em;
	color: rgba(0, 0, 0, 0.7);
}

.hb-dp-rtl {
	direction: rtl;
}

.hb-dp-rtl .hb-dp-week-header div,
.hb-dp-rtl .hb-dp-day {
	float: right;
}

.hb-availability-calendar {
	margin-bottom: 20px;
}

.hb-day-taken-start,
.hb-day-taken-end {
	overflow: hidden;
	position: relative;
	background: rgba(255, 59, 48, 0.04) !important;
	border: 1px solid rgba(255, 59, 48, 0.15) !important;
}

.hb-day-taken-start:before,
.hb-day-taken-end:before,
.hb-day-taken-content {
	position: relative;
}

.hb-day-taken-start:before {
	content: '';
	height: 50px;
	left: 0;
	position: absolute;
	top: 10px;
	width: 70px;
	-ms-transform: rotate(-40deg);
	transform: rotate(-40deg);
	background: linear-gradient(135deg, rgba(255, 59, 48, 0.15) 0%, rgba(255, 59, 48, 0.08) 100%);
}

.hb-day-taken-end:before {
	content: '';
	height: 50px;
	left: -25px;
	position: absolute;
	top: -33px;
	width: 70px;
	-ms-transform: rotate(-40deg);
	transform: rotate(-40deg);
	background: linear-gradient(135deg, rgba(255, 59, 48, 0.15) 0%, rgba(255, 59, 48, 0.08) 100%);
}

.hb-availability-calendar-centered {
	margin: 0 auto;
}

.hb-avail-caption-wrapper {
	line-height: 32px;
	font-size: 13px;
	font-weight: 500;
}

.hb-avail-caption-wrapper span {
	display: inline-block;
	float: left;
	height: 32px;
}

.hb-avail-caption {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), inset 0px 0px 0px 1.5px rgba(0,0,0,0.1);
	margin-right: 12px;
	width: 32px;
	border-radius: 8px;
	transition: all 0.2s ease;
}

.hb-avail-caption:hover {
	transform: scale(1.08);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), inset 0px 0px 0px 1.5px rgba(0,0,0,0.15);
}

.hb-avail-caption-text-available {
	margin-right: 48px;
}

.hb-avail-line-break {
	display: none;
	line-height: 39px;
}

@media screen and (max-width: 480px) {
	.hb-avail-line-break {
		display: block;
	}
}

.hb-dp-clearfix:after {
	content: "";
	display: table;
	clear: both;
}