/**
 * fx-datepicker.css — popover de fechas del formulario de reserva.
 * Mismo ancho que el campo de fecha; estilo de la propuesta 1 de diseño.
 * @package Flexostay
 */

.fx-dp-field {
	color: var(--fx-p-text, #1c130a);
}
.fx-dp-field::placeholder {
	color: var(--fx-p-muted, #444);
	opacity: .7;
}
.fx-dp-field.is-active {
	border-color: var(--fx-p-border, #383028);
}

.fx-dp {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	z-index: 50;
	box-sizing: border-box;
	padding: 18px 16px 14px;
	background: #fffdf9;
	border: 1px solid var(--fx-p-border, #383028);
	border-radius: var(--fx-p-radius-md, 14px);
	box-shadow: 0 22px 48px -18px rgba(56, 48, 40, .5);
	font-family: 'AUTHENTIC Sans', sans-serif;
	color: var(--fx-p-text, #1c130a);
	user-select: none;
}
.fx-dp[hidden] {
	display: none;
}

.fx-dp__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}
.fx-dp__title {
	font-family: 'Georgia Pro', Georgia, serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 1.2;
	text-transform: capitalize;
}
.fx-dp__nav {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1.5px solid var(--fx-p-border, #383028);
	border-radius: 50%;
	background: transparent;
	color: var(--fx-p-border, #383028);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}
.fx-dp__nav:hover:not(:disabled) {
	background: #ecebd3;
}
.fx-dp__nav:disabled {
	opacity: .25;
	cursor: not-allowed;
}

.fx-dp__grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	grid-auto-rows: 42px;
	row-gap: 2px;
}
.fx-dp__wd {
	display: grid;
	place-items: center;
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--fx-p-muted, #444);
}
.fx-dp__d {
	position: relative;
	display: grid;
	place-items: center;
	padding: 0;
	border: 0;
	background: transparent;
	font-family: inherit;
	font-size: 16px;
	color: var(--fx-p-text, #1c130a);
	cursor: pointer;
}
.fx-dp__d:disabled {
	color: #c2b8aa;
	cursor: not-allowed;
	text-decoration: line-through;
	text-decoration-color: #d9cfc1;
}
.fx-dp__d.is-today::after {
	content: '';
	position: absolute;
	bottom: 5px;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #8c9058;
}
.fx-dp__d.is-in {
	background: #ecebd3;
}
.fx-dp__d.is-start,
.fx-dp__d.is-end {
	z-index: 1;
	border-radius: 50%;
	background: var(--fx-p-border, #383028);
	color: #f9f2ea;
}
.fx-dp__d.is-preview {
	border-radius: 50%;
	box-shadow: inset 0 0 0 2px var(--fx-p-border, #383028);
}
.fx-dp__d:not(:disabled):not(.is-start):not(.is-end):hover {
	border-radius: 50%;
	box-shadow: inset 0 0 0 2px var(--fx-p-accent, #b3b77e);
}
.fx-dp__d:focus-visible {
	outline: 2px solid var(--fx-p-accent, #b3b77e);
	outline-offset: -2px;
	border-radius: 50%;
}

.fx-dp__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--fx-p-line, #eee);
	font-size: 13px;
	color: var(--fx-p-muted, #444);
}
.fx-dp__clear {
	flex-shrink: 0;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	color: var(--fx-p-muted, #444);
	text-decoration: underline;
	cursor: pointer;
}
