:root {
	--blue: #195eaa;
	--blue-dark: #0c4077;
	--red: #d83a45;
	--text: #172033;
	--muted: #627086;
	--line: #dfe6ef;
	--bg: #f6f8fb;
	--soft-blue: #eef5fc;
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	min-height: 100%;
	font-family: Arial, Helvetica, sans-serif;
	color: var(--text);
	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: 18px 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.brand {
	flex: 0 0 auto;
}

.brand img {
	display: block;
	width: 99px;
	height: 48px;
	object-fit: contain;
	image-rendering: auto;
}

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

.clinic-info div {
	min-width: 0;
}

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

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

.clinic-info a {
	color: var(--blue);
}

.page-shell {
	min-height: calc(100vh - 85px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 34px 18px;
	background:
		linear-gradient(180deg, rgba(25, 94, 170, .08), rgba(255, 255, 255, 0) 42%),
		linear-gradient(135deg, rgba(216, 58, 69, .08), rgba(25, 94, 170, .06));
}

.confirm-panel {
	width: min(100%, 560px);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: 0 22px 55px rgba(23, 32, 51, .13);
	padding: 38px;
	text-align: center;
}

.eyebrow {
	margin: 0 0 12px;
	color: var(--red);
	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(--blue);
}

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

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

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

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

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

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

.message.error {
	background: #fff0f1;
	color: #a01f2a;
}

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

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

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

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

	.page-shell {
		min-height: calc(100vh - 118px);
		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;
	}

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