:root {
	--cc-navy: #071f35;
	--cc-blue: #1261a0;
	--cc-cyan: #36aeea;
	--cc-teal: #0f766e;
	--cc-ink: #142333;
	--cc-muted: #657586;
	--cc-line: #dce5ed;
	--cc-bg: #f4f8fb;
	--cc-white: #fff;
	--cc-danger: #b42318;
	--cc-shadow: 0 28px 70px rgba(7, 31, 53, 0.16);
}

.convergenix-calendar-page {
	margin: 0;
	background: radial-gradient(circle at 8% 8%, #ddecf8 0, transparent 34%), var(--cc-bg);
	color: var(--cc-ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.convergenix-calendar-page .page-content-wrapper,
.convergenix-calendar-page .page_content {
	margin: 0 !important;
	padding: 0 !important;
	max-width: none !important;
}

.cc-shell,
.cc-shell * {
	box-sizing: border-box;
}

.cc-shell {
	width: min(1120px, calc(100% - 32px));
	min-height: 720px;
	margin: clamp(20px, 5vh, 56px) auto;
	display: grid;
	grid-template-columns: minmax(300px, 0.82fr) minmax(460px, 1.18fr);
	background: var(--cc-white);
	border: 1px solid rgba(7, 31, 53, 0.08);
	border-radius: 28px;
	overflow: hidden;
	box-shadow: var(--cc-shadow);
}

.cc-brand-panel {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-width: 0;
	gap: 48px;
	padding: clamp(36px, 5vw, 64px);
	color: #fff;
	background:
		linear-gradient(145deg, rgba(54, 174, 234, 0.13), transparent 35%),
		radial-gradient(circle at 100% 100%, rgba(54, 174, 234, 0.22), transparent 42%),
		var(--cc-navy);
}

.cc-brand-panel::after {
	content: "";
	position: absolute;
	right: -80px;
	bottom: -100px;
	width: 280px;
	height: 280px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	box-shadow: 0 0 0 50px rgba(255, 255, 255, 0.025), 0 0 0 100px rgba(255, 255, 255, 0.02);
	pointer-events: none;
}

.cc-brand {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	max-width: 100%;
	padding: 10px 14px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
	text-decoration: none !important;
}

.cc-brand-logo {
	display: block;
	width: 180px;
	max-width: 100%;
	height: auto;
}

.cc-eyebrow,
.cc-step-label {
	margin: 48px 0 12px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.16em;
	color: var(--cc-cyan);
}

.cc-brand-panel h1 {
	margin: 0;
	max-width: 430px;
	color: #fff !important;
	font-size: clamp(34px, 4vw, 50px);
	line-height: 1.08;
	letter-spacing: -0.045em;
	overflow-wrap: anywhere;
}

.cc-brand-copy {
	max-width: 430px;
	margin: 22px 0 0;
	color: #bed1df;
	font-size: 16px;
	line-height: 1.7;
}

.cc-trust-list {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 18px;
}

.cc-trust-list > div {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.cc-trust-list span {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 25px;
	height: 25px;
	border-radius: 50%;
	background: rgba(54, 174, 234, 0.18);
	color: #78d0fb;
	font-weight: 800;
}

.cc-trust-list p {
	margin: 0;
	color: #a9c0d1;
	font-size: 13px;
	line-height: 1.5;
}

.cc-trust-list strong { color: #fff; font-size: 14px; }

.cc-booking-panel {
	position: relative;
	min-width: 0;
	padding: clamp(34px, 5vw, 64px);
	background: #fff;
}

.cc-progress {
	display: grid;
	grid-template-columns: auto 1fr auto 1fr auto;
	align-items: center;
	gap: 10px;
	margin-bottom: 38px;
}

.cc-progress span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	white-space: nowrap;
	color: #9aa8b5;
	font-size: 12px;
	font-weight: 700;
}

.cc-progress span::first-letter {
	border-radius: 50%;
}

.cc-progress span.is-active { color: var(--cc-blue); }
.cc-progress small { font-size: inherit; }
.cc-progress i { height: 1px; background: var(--cc-line); }

.cc-step[hidden], .cc-alert[hidden], .cc-loading[hidden] { display: none !important; }
.cc-step h2 { outline: none; }

.cc-step-label {
	margin: 0 0 10px;
	color: var(--cc-blue);
}

.cc-step h2 {
	margin: 0;
	font-size: clamp(28px, 3vw, 38px);
	line-height: 1.18;
	letter-spacing: -0.035em;
	color: var(--cc-navy);
	overflow-wrap: anywhere;
}

.cc-subtitle, .cc-timezone, .cc-privacy, .cc-slot-status {
	color: var(--cc-muted);
}

.cc-subtitle { margin: 10px 0 28px; }
.cc-timezone { margin: 10px 0 20px; font-size: 13px; }
.cc-slot-status { min-height: 24px; margin-bottom: 8px; font-size: 13px; }

.cc-event-list { display: grid; gap: 13px; }

.cc-event-card {
	--event-color: var(--cc-blue);
	width: 100%;
	display: grid;
	grid-template-columns: 5px 1fr auto;
	align-items: center;
	gap: 18px;
	padding: 20px;
	border: 1px solid var(--cc-line);
	border-radius: 16px;
	background: #fff;
	color: var(--cc-ink);
	text-align: left;
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.cc-event-card:hover,
.cc-event-card:focus-visible {
	transform: translateY(-2px);
	border-color: color-mix(in srgb, var(--event-color) 55%, #fff);
	box-shadow: 0 12px 30px rgba(7, 31, 53, 0.09);
	outline: none;
}

.cc-event-marker { align-self: stretch; border-radius: 9px; background: var(--event-color); }
.cc-event-copy { display: grid; min-width: 0; gap: 5px; }
.cc-event-copy strong { font-size: 16px; color: var(--cc-navy); }
.cc-event-copy > span { color: var(--cc-muted); font-size: 13px; line-height: 1.45; }
.cc-event-copy small { color: var(--cc-blue); font-weight: 700; }
.cc-event-arrow { color: var(--event-color); font-size: 24px; }

.cc-back {
	margin: -8px 0 26px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--cc-blue);
	font-size: 13px;
	font-weight: 700;
}

.cc-selection-summary {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 30px;
	padding: 14px 16px;
	border-radius: 12px;
	background: #f3f8fc;
	color: var(--cc-muted);
	font-size: 13px;
	line-height: 1.5;
}

.cc-selection-summary i { width: 9px; height: 40px; border-radius: 8px; }
.cc-selection-summary strong { color: var(--cc-navy); }

.cc-field-label,
.cc-booking-panel form label {
	display: grid;
	gap: 7px;
	margin-top: 22px;
	color: var(--cc-navy);
	font-size: 13px;
	font-weight: 700;
}

.cc-date,
.cc-booking-panel input,
.cc-booking-panel textarea {
	width: 100%;
	min-height: 46px;
	padding: 11px 13px;
	border: 1px solid #ccd8e2;
	border-radius: 10px;
	background: #fff;
	color: var(--cc-ink);
	font: inherit;
	font-size: 14px;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.cc-booking-panel textarea { resize: vertical; }
.cc-booking-panel input:focus,
.cc-booking-panel textarea:focus,
.cc-date:focus {
	border-color: var(--cc-blue);
	box-shadow: 0 0 0 3px rgba(18, 97, 160, 0.13);
	outline: none;
}

.cc-slot-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	max-height: 320px;
	overflow: auto;
	padding-right: 4px;
}

.cc-slot {
	min-height: 46px;
	border: 1px solid #b9d3e7;
	border-radius: 10px;
	background: #f8fcff;
	color: var(--cc-blue);
	font-weight: 750;
}

.cc-slot:hover, .cc-slot:focus-visible {
	border-color: var(--cc-blue);
	background: var(--cc-blue);
	color: #fff;
	outline: none;
}

.cc-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.cc-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; overflow: hidden; }

.cc-primary, .cc-secondary, .cc-danger {
	width: 100%;
	min-height: 50px;
	margin-top: 24px;
	border: 0;
	border-radius: 11px;
	font-weight: 800;
	transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.cc-primary { background: linear-gradient(135deg, var(--cc-blue), #1679bd); color: #fff; box-shadow: 0 10px 22px rgba(18, 97, 160, 0.22); }
.cc-secondary { border: 1px solid var(--cc-line); background: #fff; color: var(--cc-blue); }
.cc-danger { border: 1px solid #f3c7c3; background: #fff5f4; color: var(--cc-danger); }
.cc-primary:hover, .cc-secondary:hover, .cc-danger:hover { transform: translateY(-1px); }
.cc-primary:disabled, .cc-danger:disabled { opacity: 0.6; transform: none; }
.cc-privacy { margin: 13px 0 0; font-size: 11px; text-align: center; }

.cc-alert {
	margin-bottom: 20px;
	padding: 12px 14px;
	border: 1px solid #f1c1bc;
	border-radius: 10px;
	background: #fff3f2;
	color: #8f1d14;
	font-size: 13px;
}

.cc-alert[data-kind="success"] { border-color: #a7dfc4; background: #effcf5; color: #137044; }
.cc-loading { display: flex; align-items: center; gap: 10px; color: var(--cc-muted); }
.cc-spinner { width: 18px; height: 18px; border: 2px solid var(--cc-line); border-top-color: var(--cc-blue); border-radius: 50%; animation: cc-spin 0.75s linear infinite; }
@keyframes cc-spin { to { transform: rotate(360deg); } }

.cc-confirmation, .cc-manage { text-align: center; }
.cc-success-mark { display: grid; place-items: center; width: 66px; height: 66px; margin: 12px auto 22px; border-radius: 50%; background: #e4f8ee; color: #168354; font-size: 32px; font-weight: 900; }
.cc-confirmation > p:not(.cc-step-label) { color: var(--cc-muted); }
.cc-confirmation-card { margin-top: 24px; padding: 10px 20px; border: 1px solid var(--cc-line); border-radius: 15px; background: #fbfdff; text-align: left; }
.cc-confirmation-card > div { display: grid; grid-template-columns: 105px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid #e8eef3; font-size: 13px; }
.cc-confirmation-card > div:last-child { border-bottom: 0; }
.cc-confirmation-card span { color: var(--cc-muted); }
.cc-confirmation-card strong { overflow-wrap: anywhere; color: var(--cc-navy); }
.cc-link { display: inline-block; margin-top: 20px; color: var(--cc-blue) !important; font-weight: 700; }
.cc-noscript { max-width: 720px; margin: 30px auto; padding: 20px; text-align: center; }
.cc-empty { padding: 24px; border: 1px dashed var(--cc-line); border-radius: 12px; color: var(--cc-muted); text-align: center; }

@media (max-width: 850px) {
	.cc-shell { grid-template-columns: 1fr; margin: 0 auto; width: 100%; min-height: 100vh; border: 0; border-radius: 0; }
	.cc-brand-panel { min-height: auto; padding: 30px 26px; gap: 28px; }
	.cc-brand-panel h1 { font-size: 34px; }
	.cc-eyebrow { margin-top: 28px; }
	.cc-trust-list { display: none; }
	.cc-booking-panel { min-height: 620px; padding: 32px 24px 50px; }
}

@media (max-width: 560px) {
	.cc-brand-panel h1 { font-size: 30px; }
	.cc-brand-copy { font-size: 14px; }
	.cc-progress small { display: none; }
	.cc-slot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cc-form-grid { grid-template-columns: 1fr; }
	.cc-confirmation-card > div { grid-template-columns: 82px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation-duration: 0.01ms !important; }
}
