:root {
	--teal: #008c95;
	--teal-dark: #006d77;
	--rose: #c2455a;
	--ink: #1d2a33;
	--muted: #65747d;
	--line: #dce5e8;
	--bg: #f5f8f8;
	--soft: #edf7f8;
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	min-height: 100%;
	font-family: Arial, Helvetica, sans-serif;
	color: var(--ink);
	background: var(--bg);
}

body {
	min-height: 100vh;
}

.site-header {
	background: #fff;
	border-bottom: 1px solid var(--line);
}

.header-inner {
	width: min(100%, 980px);
	margin: 0 auto;
	padding: 14px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 26px;
}

.brand {
	display: block;
	flex: 0 1 auto;
}

.brand img {
	display: block;
	width: 214px;
	max-width: 46vw;
	height: auto;
	object-fit: contain;
	image-rendering: auto;
}

.clinic-info {
	display: grid;
	grid-template-columns: repeat(2, auto);
	gap: 24px;
	align-items: center;
	text-align: left;
}

.clinic-info span {
	display: block;
	margin-bottom: 3px;
	color: var(--muted);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.clinic-info a {
	color: var(--teal-dark);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.page-shell {
	min-height: calc(100vh - 95px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 34px 18px;
	background:
		linear-gradient(180deg, rgba(0, 140, 149, .08), rgba(255, 255, 255, 0) 48%),
		linear-gradient(135deg, rgba(194, 69, 90, .08), rgba(0, 140, 149, .07));
}

.confirm-panel {
	width: min(100%, 560px);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: 0 20px 52px rgba(29, 42, 51, .12);
	padding: 36px;
	text-align: center;
}

.eyebrow {
	margin: 0 0 12px;
	color: var(--rose);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
}

h1 {
	margin: 0;
	font-size: 30px;
	line-height: 1.16;
	letter-spacing: 0;
}

.copy {
	margin: 16px auto 22px;
	max-width: 430px;
	color: var(--muted);
	font-size: 16px;
	line-height: 1.45;
}

.actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-top: 18px;
}

.btn {
	min-height: 52px;
	border: 0;
	border-radius: 6px;
	padding: 12px 14px;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}

.btn:disabled {
	cursor: wait;
	opacity: .72;
}

.btn-confirm {
	background: var(--teal);
}

.btn-confirm:hover {
	background: var(--teal-dark);
}

.btn-cancel {
	background: var(--rose);
}

.btn-cancel:hover {
	background: #a83247;
}

.message {
	margin: 14px 0 0;
	border-radius: 6px;
	padding: 18px;
	font-size: 18px;
	line-height: 1.35;
}

.message.info {
	background: var(--soft);
	color: var(--teal-dark);
}

.message.success {
	background: #edf8f0;
	color: #17652d;
}

.message.error {
	background: #fff0f2;
	color: #9d2335;
}

@media (max-width: 760px) {
	.header-inner {
		padding: 12px 14px;
		align-items: flex-start;
		gap: 14px;
	}

	.clinic-info {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.clinic-info span {
		margin-bottom: 1px;
		font-size: 11px;
	}

	.clinic-info a {
		white-space: normal;
		font-size: 13px;
	}

	.page-shell {
		min-height: calc(100vh - 112px);
		align-items: flex-start;
		padding: 18px 12px;
	}

	.confirm-panel {
		padding: 24px 18px;
	}

	h1 {
		font-size: 22px;
	}

	.copy {
		font-size: 15px;
		margin-bottom: 16px;
	}

	.actions {
		grid-template-columns: 1fr;
	}

	.btn {
		min-height: 48px;
		font-size: 15px;
	}
}

@media (max-width: 390px) {
	.header-inner {
		display: block;
	}

	.brand img {
		max-width: 190px;
	}

	.clinic-info {
		margin-top: 10px;
	}
}
