.embr-app {
	--embr-accent: #6b1f2a;
	--embr-accent-soft: rgba(107, 31, 42, 0.08);
	--embr-border: #e6e1dc;
	--embr-text: #2b2b2b;
	--embr-muted: #8a8278;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	max-width: 920px;
	margin: 0 auto;
	color: var(--embr-text);
	font-size: 15px;
	line-height: 1.5;
}

@media (max-width: 720px) {
	.embr-app {
		grid-template-columns: 1fr;
	}
}

/* En-tête calendrier */
.embr-cal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}

.embr-cal-title {
	margin: 0;
	font-size: 19px;
	font-weight: 600;
	letter-spacing: 0.2px;
}

.embr-nav {
	background: var(--embr-accent-soft);
	border: none;
	color: var(--embr-accent);
	width: 38px;
	height: 38px;
	border-radius: 50%;
	font-size: 18px;
	cursor: pointer;
	transition: background 0.15s ease;
	line-height: 1;
}

.embr-nav:hover {
	background: var(--embr-accent);
	color: #fff;
}

/* Grille */
.embr-calendar {
	min-height: 320px;
}

.embr-calendar.embr-loading {
	opacity: 0.5;
}

.embr-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 6px;
}

.embr-dow {
	text-align: center;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--embr-muted);
	padding-bottom: 6px;
}

.embr-cell {
	position: relative;
	aspect-ratio: 1 / 1;
	border: 1px solid var(--embr-border);
	border-radius: 8px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	color: var(--embr-text);
	cursor: default;
	padding: 0;
	font-family: inherit;
}

.embr-cell.embr-empty {
	border: none;
	background: transparent;
}

.embr-cell.embr-no-slots {
	color: #c7c0b8;
	background: #faf9f7;
}

.embr-cell.embr-has-slots {
	cursor: pointer;
	border-color: var(--embr-accent);
	background: var(--embr-accent-soft);
	font-weight: 600;
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.embr-cell.embr-has-slots:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.embr-cell.embr-today {
	outline: 2px solid var(--embr-accent);
	outline-offset: -2px;
}

.embr-badge {
	position: absolute;
	top: 4px;
	right: 4px;
	background: var(--embr-accent);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	min-width: 16px;
	height: 16px;
	line-height: 16px;
	border-radius: 8px;
	padding: 0 3px;
}

/* Panneau latéral */
.embr-panel {
	border: 1px solid var(--embr-border);
	border-radius: 12px;
	padding: 22px;
	background: #fff;
}

.embr-hint {
	color: var(--embr-muted);
	margin: 0;
}

.embr-panel-title {
	margin: 0 0 16px;
	font-size: 17px;
	color: var(--embr-accent);
	text-transform: capitalize;
}

.embr-slot-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.embr-slot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid var(--embr-border);
}

.embr-slot:last-child {
	border-bottom: none;
}

.embr-slot-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.embr-slot-time {
	font-size: 17px;
	font-weight: 600;
}

.embr-slot-note {
	font-size: 13px;
	color: var(--embr-muted);
}

.embr-slot-remaining {
	font-size: 12px;
	color: var(--embr-accent);
}

.embr-btn {
	background: var(--embr-accent);
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: opacity 0.15s ease;
	font-family: inherit;
}

.embr-btn:hover {
	opacity: 0.88;
}

.embr-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.embr-reserve {
	padding: 8px 16px;
	white-space: nowrap;
}

/* Formulaire */
.embr-back {
	background: none;
	border: none;
	color: var(--embr-muted);
	cursor: pointer;
	font-size: 13px;
	padding: 0 0 12px;
	font-family: inherit;
}

.embr-back:hover {
	color: var(--embr-accent);
}

.embr-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.embr-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.embr-field-full {
	grid-column: 1 / -1;
}

.embr-field label {
	font-size: 13px;
	font-weight: 600;
	color: var(--embr-muted);
}

.embr-field input,
.embr-field select,
.embr-field textarea {
	border: 1px solid var(--embr-border);
	border-radius: 8px;
	padding: 9px 11px;
	font-size: 15px;
	font-family: inherit;
	color: var(--embr-text);
	background: #fff;
	width: 100%;
	box-sizing: border-box;
}

.embr-field input:focus,
.embr-field select:focus,
.embr-field textarea:focus {
	outline: none;
	border-color: var(--embr-accent);
	box-shadow: 0 0 0 3px var(--embr-accent-soft);
}

.embr-submit {
	grid-column: 1 / -1;
	margin-top: 4px;
}

.embr-form-msg {
	grid-column: 1 / -1;
	font-size: 14px;
}

.embr-msg-error {
	color: #b02a2a;
	background: #fdecec;
	border-radius: 8px;
	padding: 10px 12px;
}

/* Succès */
.embr-success {
	text-align: center;
	padding: 16px 0;
}

.embr-success-icon {
	width: 56px;
	height: 56px;
	line-height: 56px;
	border-radius: 50%;
	background: #2e7d32;
	color: #fff;
	font-size: 28px;
	margin: 0 auto 16px;
}

.embr-error {
	color: #b02a2a;
}
