/**
 * Bookit confirmation dialog.
 *
 * Loaded in wp-admin and on the front-end manager page, so every rule is
 * scoped under .bookit-ask and nothing inherits from either context.
 */

.bookit-ask {
	position: fixed;
	inset: 0;
	z-index: 100100; /* above wp-admin's own modals */
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(22, 24, 26, 0.55);
}

.bookit-ask__box {
	box-sizing: border-box;
	width: 100%;
	max-width: 420px;
	background: #ffffff;
	border-radius: 6px;
	border: 1px solid #e2e1dd;
	padding: 24px;
	font-family: "filson-pro", "Filson Pro", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	color: #16181a;
	text-align: left;
}

.bookit-ask__title {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	color: #16181a;
}

.bookit-ask__message {
	margin: 0 0 20px;
	font-size: 15px;
	line-height: 1.5;
	color: #3f4442;
}

.bookit-ask__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
}

.bookit-ask__btn {
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	padding: 10px 16px;
	border-radius: 3px;
	background: #ffffff;
	border: 1px solid #d9d8d4;
	color: #16181a;
	cursor: pointer;
}

.bookit-ask__btn:hover {
	border-color: #16181a;
}

/* The destructive choice is the one that looks destructive. */
.bookit-ask__btn--danger {
	background: #e8552f;
	border-color: #e8552f;
	color: #ffffff;
}

.bookit-ask__btn--danger:hover {
	background: #cf4520;
	border-color: #cf4520;
}

.bookit-ask__btn:focus-visible {
	outline: 2px solid #16181a;
	outline-offset: 2px;
}
