/* OneRestau demo booking — styles limités au composant .odb */
.odb-frame {
	container-type: inline-size;
	container-name: odb;
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
}
.odb {
	--odb-title: #014557;
	--odb-cyan: #22bbee;
	--odb-green: #01c21e;
	--odb-deep: #063b48;
	--odb-brand: #0d5549;
	--odb-pale: #f4f9f9;
	--odb-line: rgba(1, 69, 87, 0.12);
	box-sizing: border-box;
	padding: 32px;
	background: #fff;
	color: var(--odb-deep);
	border: 1px solid var(--odb-line);
	border-radius: 24px;
	box-shadow: 0 18px 40px rgba(1, 69, 87, 0.06);
	font-family: inherit;
	line-height: 1.45;
}
.odb *,
.odb *::before,
.odb *::after { box-sizing: border-box; }
.odb__eyebrow {
	margin: 0 0 8px;
	color: var(--odb-brand);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.odb__title {
	margin: 0 0 10px;
	color: var(--odb-title);
	font-size: 1.7rem;
	line-height: 1.25;
	font-weight: 700;
}
.odb__lead { margin: 0 0 24px; color: #3d5c63; font-size: 1.02rem; }
.odb__modes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.odb__mode { display: block; cursor: pointer; }
.odb__mode-input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}
.odb__mode-body {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 88px;
	padding: 16px;
	background: var(--odb-pale);
	border: 2px solid transparent;
	border-radius: 16px;
	transition: border-color 0.15s ease, background 0.15s ease;
}
.odb__mode:hover .odb__mode-body { border-color: rgba(34, 187, 238, 0.7); }
.odb__mode-input:focus-visible + .odb__mode-body { outline: 3px solid var(--odb-cyan); outline-offset: 2px; }
.odb__mode-input:checked + .odb__mode-body {
	background: #fff;
	border-color: var(--odb-title);
	box-shadow: inset 0 0 0 1px var(--odb-title);
}
.odb__icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	color: var(--odb-title);
	background: #fff;
	border-radius: 12px;
}
.odb__mode-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.odb__mode-label { color: var(--odb-title); font-weight: 700; }
.odb__mode-text { color: #3d5c63; font-size: 0.92rem; }
.odb__mode-check { margin-left: auto; color: transparent; }
.odb__mode-input:checked + .odb__mode-body .odb__mode-check { color: var(--odb-brand); }
.odb__availability { margin-top: 22px; }
.odb__scarcity { margin: 0 0 4px; color: var(--odb-title); font-weight: 700; }
.odb__next { margin: 0 0 14px; color: #3d5c63; }
.odb__days { display: grid; gap: 14px; }
.odb__day-head { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.odb__day-name { color: var(--odb-title); font-weight: 700; }
.odb__badge {
	padding: 2px 8px;
	color: var(--odb-brand);
	background: #e7f6f2;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
}
.odb__slots { display: flex; flex-wrap: wrap; gap: 8px; }
.odb__slot {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 76px;
	min-height: 44px;
	padding: 8px 14px;
	color: var(--odb-title);
	background: #fff;
	border: 1px solid var(--odb-line);
	border-radius: 12px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
.odb__slot:hover { border-color: var(--odb-cyan); }
.odb__slot:focus-visible { outline: 3px solid var(--odb-cyan); outline-offset: 2px; }
.odb__slot[aria-pressed="true"] {
	color: #fff;
	background: var(--odb-title);
	border-color: var(--odb-title);
}
.odb__slot-check { display: none; }
.odb__slot[aria-pressed="true"] .odb__slot-check { display: inline-flex; }
.odb__more, .odb__submit {
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
.odb__more {
	margin-top: 14px;
	padding: 0;
	color: var(--odb-brand);
	background: none;
	border: 0;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.odb__more:focus-visible, .odb__submit:focus-visible, .odb__privacy:focus-visible { outline: 3px solid var(--odb-cyan); outline-offset: 2px; }
.odb__form { margin-top: 22px; }
.odb__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.odb__field { display: flex; flex-direction: column; gap: 6px; color: var(--odb-title); font-weight: 650; font-weight: 600; }
.odb__field--wide { grid-column: 1 / -1; }
.odb__field input, .odb__field textarea {
	width: 100%;
	padding: 12px 14px;
	color: var(--odb-deep);
	background: #fff;
	border: 1px solid var(--odb-line);
	border-radius: 12px;
	font: inherit;
	font-weight: 450;
}
.odb__field input:focus-visible, .odb__field textarea:focus-visible { outline: 3px solid var(--odb-cyan); outline-offset: 1px; }
.odb__consent { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; color: var(--odb-deep); }
.odb__consent input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 18px; }
.odb__privacy { color: var(--odb-brand); }
.odb__recap {
	margin: 0 0 12px;
	padding: 12px 14px;
	color: var(--odb-title);
	background: var(--odb-pale);
	border-radius: 12px;
	font-weight: 700;
}
.odb__submit {
	width: 100%;
	min-height: 52px;
	color: #fff;
	background: var(--odb-brand);
	border: 0;
	border-radius: 14px;
}
.odb__submit:hover { background: var(--odb-deep); }
.odb__submit:disabled { opacity: 0.65; cursor: progress; }
.odb__alert { margin: 0 0 12px; color: #8a2c45; font-weight: 650; font-weight: 600; }
.odb__empty-title { margin: 0 0 4px; color: var(--odb-title); font-weight: 700; }
.odb__success { margin-top: 8px; text-align: center; }
.odb__success-icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin: 0 auto 12px;
	color: #fff;
	background: var(--odb-brand);
	border-radius: 50%;
}
.odb__success h3 { margin: 0 0 8px; color: var(--odb-title); font-size: 1.4rem; }
.odb__success p { margin: 0 0 8px; }
.odb__home {
	display: inline-block;
	margin-top: 8px;
	color: var(--odb-brand);
	font-weight: 700;
}
.odb__hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.odb [hidden] { display: none !important; }
.odb__skeleton:not([hidden]) { display: grid; gap: 8px; min-height: 132px; }
.odb__skeleton span {
	display: block;
	height: 36px;
	background: linear-gradient(90deg, var(--odb-pale), #fff, var(--odb-pale));
	border-radius: 12px;
}
.odb__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}
@container odb (max-width: 680px) {
	.odb {
		padding: 4px 0;
		background: transparent;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}
	.odb__modes, .odb__grid { grid-template-columns: 1fr; }
	.odb__title { font-size: 1.4rem; }
}
