@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap");

/* Frontend booking calendar */
:root {
	--bc-primary: #1a73e8;
	--bc-primary-soft: #d3e3ff;
	--bc-text: #1f2933;
	--bc-muted: #6b7280;
	--bc-bg: #eef3fb;
	--bc-white: #ffffff;
	--bc-border: #d9e1ec;
	--bc-font-family: "Inter", "Noto Sans", system-ui, sans-serif;
	--bc-heading-family: "Playfair Display", Georgia, serif;
}

html {
	background: var(--bc-bg);
}

body.booking-calendar-standalone {
	margin: 0;
	min-height: 100vh;
	background:
		radial-gradient(circle at top left, rgba(26, 115, 232, 0.08), transparent 30%),
		linear-gradient(180deg, #eef3fb 0%, #f7faff 100%);
}

.booking-calendar-public-page {
	min-height: 100vh;
}

.bc-calendar {
	max-width: 1200px;
	margin: 0 auto;
	color: var(--bc-text);
	padding: 8px 0 24px;
}

.bc-calendar-page-shell,
.bc-auth-gate,
.bc-calendar {
	font-family: var(--bc-font-family);
}

.bc-calendar-page-shell {
	width: 100%;
	max-width: none;
	padding: 24px clamp(12px, 3vw, 40px);
	display: flex;
	justify-content: center;
}

.bc-calendar-page-shell .bc-calendar {
	max-width: 1320px;
	width: min(1320px, 100%);
	padding: 0;
}

.bc-calendar-page {
	max-width: 1320px;
	width: 100%;
}

.bc-calendar-page__header {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 14px;
	background: #fff;
	border: 1px solid var(--bc-border);
	border-radius: 12px;
	padding: 14px 16px;
	box-shadow: 0 8px 28px rgba(16, 30, 54, 0.05);
}

.bc-calendar-page__header h2 {
	margin: 0;
	font-size: 1.35rem;
}

.bc-calendar-page__header p {
	margin: 0;
	color: var(--bc-muted);
}

.bc-auth-shell {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(320px, 480px);
	gap: 22px;
	align-items: stretch;
}

.bc-auth-shell--registration-only {
	grid-template-columns: minmax(0, 560px);
	justify-content: center;
	width: 100%;
	padding: clamp(12px, 3vw, 28px) 0;
}

.bc-auth-shell__card--registration-only {
	width: 100%;
	position: relative;
	overflow: hidden;
	border-radius: 14px;
	border: 1px solid #d7dee8;
	background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
	box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
}

.bc-auth-shell__card--registration-only::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 4px;
	background: linear-gradient(90deg, #0369a1 0%, #0f766e 100%);
}

.bc-auth-shell--registration-only,
.bc-auth-shell--registration-only * {
	box-sizing: border-box;
}

.bc-auth-shell--registration-only .bc-auth-shell__card {
	padding: clamp(22px, 4vw, 32px);
}

.bc-auth-shell--registration-only .bc-auth-shell__tabs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px;
	width: 100%;
	margin: 0 0 20px;
	padding: 4px;
	border: 1px solid #d7dee8;
	border-radius: 10px;
	background: #f1f5f9;
}

.bc-auth-shell--registration-only .bc-auth-shell__tab {
	min-height: 42px;
	border-radius: 8px;
	color: #475569;
	font-weight: 700;
	cursor: pointer;
}

.bc-auth-shell--registration-only .bc-auth-shell__tab.is-active {
	background: #ffffff;
	color: #0f172a;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.bc-auth-shell--registration-only .bc-auth-shell__panel {
	width: 100%;
	padding: 0;
}

.bc-auth-shell--registration-only .bc-auth-shell__panel h3 {
	margin: 0 0 8px;
	color: #0f172a;
	font-size: clamp(1.35rem, 2.4vw, 1.7rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
}

.bc-auth-shell--registration-only .bc-auth-shell__panel p {
	max-width: 38rem;
	margin: 0 0 22px;
	color: #475569;
	font-size: 0.98rem;
	line-height: 1.55;
}

.bc-auth-shell--registration-only .bc-auth-form {
	width: 100%;
	margin: 0;
	display: grid;
	gap: 14px;
}

.bc-auth-shell--registration-only .bc-field {
	width: 100%;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.bc-auth-shell--registration-only .bc-field--split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.bc-auth-shell--registration-only .bc-field--split > div {
	min-width: 0;
}

.bc-auth-shell--registration-only .bc-field label,
.bc-auth-shell--registration-only .bc-field--split label {
	display: block;
	width: 100%;
	margin: 0;
	color: #0f172a;
	font-size: 0.9rem;
	font-weight: 650;
	line-height: 1.35;
	text-align: left;
}

.bc-auth-shell--registration-only .bc-field input {
	display: block;
	width: 100%;
	max-width: none;
	min-height: 46px;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #ffffff;
	color: #0f172a;
	font-size: 0.98rem;
	line-height: 1.4;
	box-shadow: 0 1px 1px rgba(15, 23, 42, 0.03);
	transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.bc-auth-shell--registration-only .bc-field input:hover {
	border-color: #94a3b8;
	background: #f8fafc;
}

.bc-auth-shell--registration-only .bc-field input:focus {
	border-color: #0369a1;
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.16);
	outline: none;
}

.bc-auth-shell--registration-only .bc-auth-form__remember {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	width: fit-content;
	margin: 0;
	color: #475569;
	font-size: 0.94rem;
}

.bc-auth-shell--registration-only .bc-auth-form__remember input {
	width: 18px;
	height: 18px;
	margin: 0;
}

.bc-auth-shell--registration-only .bc-auth-form__actions {
	display: grid;
	grid-template-columns: 1fr;
	width: 100%;
	margin: 8px 0 0;
}

.bc-auth-shell--registration-only .bc-auth-form__actions .button {
	width: 100%;
	min-height: 46px;
	border: 1px solid #0369a1;
	border-radius: 8px;
	background: #0369a1;
	color: #ffffff;
	font-weight: 700;
	line-height: 1.3;
	cursor: pointer;
	box-shadow: 0 10px 22px rgba(3, 105, 161, 0.18);
	transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.bc-auth-shell--registration-only .bc-auth-form__actions .button:hover,
.bc-auth-shell--registration-only .bc-auth-form__actions .button:focus {
	border-color: #075985;
	background: #075985;
	color: #ffffff;
	box-shadow: 0 12px 26px rgba(7, 89, 133, 0.22);
	outline: none;
}

.bc-auth-shell__hero,
.bc-auth-shell__card,
.bc-portal-shell__header,
.bc-portal-shell__stage,
.bc-portal-shell__calendar {
	background: #fff;
	border: 1px solid var(--bc-border);
	box-shadow: 0 12px 34px rgba(16, 30, 54, 0.08);
}

.bc-auth-shell__hero {
	border-radius: 28px;
	padding: clamp(28px, 5vw, 44px);
	background:
		radial-gradient(circle at top right, rgba(26, 115, 232, 0.16), transparent 32%),
		linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.bc-auth-shell__eyebrow,
.bc-portal-shell__eyebrow,
.bc-portal-shell__stage-label {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--bc-primary-soft);
	color: var(--bc-primary);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.bc-auth-shell__hero h2,
.bc-portal-shell__intro h2 {
	margin: 16px 0 12px;
	font-size: clamp(2rem, 4vw, 3.1rem);
	line-height: 0.98;
	letter-spacing: -0.04em;
}

.bc-auth-shell__hero p,
.bc-portal-shell__intro p,
.bc-portal-shell__stage p {
	margin: 0;
	color: var(--bc-muted);
	font-size: 1rem;
	line-height: 1.65;
}

.bc-auth-shell__feature-list {
	list-style: none;
	padding: 0;
	margin: 26px 0 0;
	display: grid;
	gap: 10px;
}

.bc-auth-shell__feature-list li {
	padding: 12px 14px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(26, 115, 232, 0.12);
	font-weight: 600;
}

.bc-auth-shell__card {
	border-radius: 28px;
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.bc-auth-shell__tabs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	padding: 8px;
	border-radius: 20px;
	background: #f3f6fb;
}

.bc-auth-shell__tab,
.bc-auth-link {
	border: 0;
	background: transparent;
	cursor: pointer;
}

.bc-auth-shell__tab {
	min-height: 44px;
	border-radius: 14px;
	font-weight: 700;
	color: var(--bc-muted);
	transition: all 0.2s ease;
}

.bc-auth-shell__tab.is-active {
	background: #fff;
	color: var(--bc-text);
	box-shadow: 0 8px 24px rgba(16, 30, 54, 0.08);
}

.bc-auth-shell__message {
	border-radius: 16px;
	padding: 14px 16px;
	font-weight: 600;
}

.bc-auth-shell__message--error {
	background: #fff3f2;
	color: #b42318;
	border: 1px solid #f3c0ba;
}

.bc-auth-shell__message--success {
	background: #eefbf3;
	color: #0b6b3a;
	border: 1px solid #b9e5c9;
}

.bc-auth-shell__panel {
	padding: 10px 6px 4px;
}

.bc-auth-shell__panel h3 {
	margin: 0 0 8px;
	font-size: 1.35rem;
}

.bc-auth-shell__panel p {
	margin: 0 0 18px;
	color: var(--bc-muted);
}

.bc-auth-form {
	display: grid;
	gap: 14px;
}

.bc-field label {
	font-size: 0.92rem;
	font-weight: 600;
	margin-bottom: 6px;
}

.bc-field--split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.bc-field--split > div {
	display: flex;
	flex-direction: column;
}

.bc-field input,
.bc-field select,
.bc-field textarea {
	border: 1px solid var(--bc-border);
	border-radius: 14px;
	padding: 12px 14px;
	background: #fbfdff;
}

.bc-field input:focus,
.bc-field select:focus,
.bc-field textarea:focus {
	outline: 2px solid rgba(26, 115, 232, 0.18);
	border-color: var(--bc-primary);
}

.bc-auth-form__remember {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 0.95rem;
	color: var(--bc-muted);
}

.bc-auth-form__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.bc-auth-link {
	padding: 0;
	color: var(--bc-primary);
	font-weight: 700;
}

.bc-portal-shell {
	display: grid;
	gap: 16px;
}

.bc-portal-shell__header {
	border-radius: 24px;
	padding: clamp(20px, 4vw, 30px);
	display: flex;
	justify-content: space-between;
	gap: 18px;
	align-items: flex-start;
	background:
		radial-gradient(circle at top right, rgba(52, 168, 83, 0.12), transparent 28%),
		linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.bc-portal-shell__meta {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: flex-end;
}

.bc-portal-shell__chip {
	display: grid;
	gap: 4px;
	padding: 12px 14px;
	border-radius: 18px;
	background: #f5f8fd;
	border: 1px solid var(--bc-border);
	min-width: 220px;
}

.bc-portal-shell__chip span {
	color: var(--bc-muted);
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.bc-portal-shell__chip strong {
	font-size: 0.98rem;
}

.bc-portal-shell__body {
	display: grid;
	grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
	gap: 16px;
	align-items: start;
}

.bc-portal-shell__sidebar {
	display: grid;
	gap: 16px;
}

.bc-bookings-panel,
.bc-portal-shell__stage,
.bc-portal-shell__calendar {
	border-radius: 22px;
	padding: 20px;
}

.bc-bookings-panel {
	background: #fff;
	border: 1px solid var(--bc-border);
	box-shadow: 0 12px 34px rgba(16, 30, 54, 0.08);
}

.bc-bookings-panel__header h3 {
	margin: 12px 0 0;
	font-size: 1.08rem;
}

.bc-bookings-list {
	display: grid;
	gap: 10px;
	margin-top: 16px;
}

.bc-booking-card {
	border: 1px solid var(--bc-border);
	border-radius: 18px;
	padding: 15px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 255, 0.96) 100%);
	box-shadow: 0 10px 24px rgba(16, 30, 54, 0.06);
	display: grid;
	gap: 10px;
	position: relative;
	overflow: hidden;
}

.bc-booking-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 4px;
	background: var(--bc-service-color, var(--bc-primary));
}

.bc-booking-card__top,
.bc-booking-card__meta,
.bc-booking-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: space-between;
}

.bc-booking-card__title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.bc-booking-card__swatch {
	width: 12px;
	height: 12px;
	border-radius: 999px;
	background: var(--bc-service-color, var(--bc-primary));
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--bc-service-color, var(--bc-primary)) 18%, #ffffff);
	flex: 0 0 auto;
}

.bc-booking-card__top strong {
	font-size: 1rem;
	line-height: 1.3;
}

.bc-booking-card__status {
	display: inline-flex;
	align-items: center;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
}

.bc-booking-card__status--pending {
	background: #fff7e8;
	color: #a15c00;
}

.bc-booking-card__status--confirmed {
	background: #edf8f1;
	color: #0f7b45;
}

.bc-booking-card__status--cancelled {
	background: #fff1f1;
	color: #b42318;
}

.bc-booking-card__status--completed {
	background: #eff3f8;
	color: #344054;
}

.bc-booking-card__meta {
	color: var(--bc-muted);
	font-size: 0.92rem;
	justify-content: flex-start;
}

.bc-booking-card__actions {
	justify-content: flex-start;
}

.bc-booking-card__actions .button {
	min-height: 36px;
	border-radius: 999px;
}

.bc-booking-card__calendar-links {
	padding-top: 4px;
}

.bc-bookings-empty {
	padding: 12px 2px;
	color: var(--bc-muted);
}

.bc-portal-shell__stage h3 {
	margin: 14px 0 10px;
	font-size: 1.25rem;
}

.bc-portal-shell__calendar {
	padding: 18px;
	background:
		radial-gradient(circle at top left, rgba(26, 115, 232, 0.08), transparent 24%),
		linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
}

.bc-reschedule-state {
	margin-top: 14px;
	padding: 14px 16px;
	border-radius: 18px;
	background: #f3f7ff;
	border: 1px solid rgba(26, 115, 232, 0.18);
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
	font-weight: 600;
}

.bc-reschedule-state .button {
	border-radius: 999px;
}

.bc-auth-gate {
	width: 100%;
	display: flex;
	justify-content: center;
}

.bc-auth-gate__card {
	width: min(560px, 100%);
	background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
	border: 1px solid var(--bc-border);
	border-radius: 20px;
	padding: clamp(24px, 4vw, 36px);
	box-shadow: 0 18px 48px rgba(26, 115, 232, 0.12);
}

.bc-auth-gate__eyebrow {
	display: inline-flex;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--bc-primary-soft);
	color: var(--bc-primary);
	font-size: 0.82rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 14px;
}

.bc-auth-gate__card h2 {
	margin: 0 0 10px;
	font-size: clamp(1.6rem, 4vw, 2rem);
	line-height: 1.1;
}

.bc-auth-gate__card p {
	margin: 0;
	color: var(--bc-muted);
	max-width: 46ch;
}

.bc-auth-gate__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 22px;
}

.bc-auth-gate__actions .button {
	min-height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding-inline: 18px;
	border-radius: 999px;
}

.bc-calendar__toolbar {
	position: sticky;
	top: 8px;
	padding: 12px;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid var(--bc-border);
	border-radius: 18px;
	backdrop-filter: blur(12px);
	box-shadow: 0 14px 34px rgba(16, 30, 54, 0.08);
	z-index: 2;
}

.bc-calendar__toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.bc-calendar__toolbar-actions,
.bc-calendar__toolbar-filters {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.bc-calendar__toolbar button,
.bc-calendar__toolbar select {
	height: 42px;
	border: 1px solid var(--bc-border);
	border-radius: 999px;
	background: var(--bc-white);
	padding: 0 16px;
	cursor: pointer;
	font-weight: 600;
	box-shadow: 0 4px 12px rgba(16, 30, 54, 0.04);
}

.bc-calendar__toolbar button[aria-pressed="true"] {
	background: var(--bc-primary-soft);
	color: var(--bc-primary);
	border-color: var(--bc-primary);
}

.bc-calendar__toolbar-title {
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: -0.03em;
}

.bc-calendar__toolbar-filters {
	gap: 10px;
	align-items: center;
}

.bc-calendar__toolbar-filters span {
	display: inline-flex;
	align-items: center;
}

.bc-calendar__grid {
	background: var(--bc-white);
	border-radius: 22px;
	border: 1px solid var(--bc-border);
	box-shadow: 0 18px 44px rgba(16, 30, 54, 0.08);
	overflow: hidden;
}

.bc-calendar__month,
.bc-calendar__week,
.bc-calendar__day {
	padding: 10px;
}

.bc-calendar__day-headers,
.bc-calendar__week-row,
.bc-calendar__slot-row {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 6px;
}

.bc-calendar__day-cell,
.bc-calendar__hour-cell,
.bc-calendar__day-compact {
	min-height: 118px;
	background: #fcfdff;
	border: 1px solid var(--bc-border);
	border-radius: 16px;
	padding: 10px;
}

.bc-calendar__day-cell {
	position: relative;
}

.bc-calendar__day-cell--today,
.bc-calendar__day-col--today {
	background:
		linear-gradient(180deg, rgba(232, 240, 254, 0.92) 0%, rgba(255, 255, 255, 1) 100%);
	border-color: rgba(26, 115, 232, 0.4);
	box-shadow: inset 0 0 0 1px rgba(26, 115, 232, 0.08);
}

.bc-calendar__day-cell--other {
	background: #f1f4f9;
	color: var(--bc-muted);
}

.bc-calendar__day-cell h4 {
	margin: 0 0 4px;
	font-size: 0.9rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.bc-calendar__day-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	font-size: 0.95rem;
	font-weight: 700;
	background: rgba(26, 115, 232, 0.08);
	color: var(--bc-text);
}

.bc-calendar__day-cell--today .bc-calendar__day-number {
	background: var(--bc-primary);
	color: #fff;
}

.bc-day-count {
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--bc-primary);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.bc-calendar__day-actions {
	display: grid;
	gap: 10px;
	margin-top: 10px;
}

.bc-calendar__day-note {
	font-size: 0.84rem;
	color: var(--bc-muted);
	line-height: 1.4;
}

.bc-calendar__day-book {
	min-height: 42px;
	border: 0;
	border-radius: 14px;
	padding: 0 14px;
	background: linear-gradient(135deg, #1a73e8 0%, #0f5fcb 100%);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 10px 22px rgba(26, 115, 232, 0.22);
}

.bc-calendar__day-book:hover,
.bc-calendar__day-book:focus {
	transform: translateY(-1px);
	box-shadow: 0 14px 28px rgba(26, 115, 232, 0.26);
}

.bc-calendar__day-book--reschedule {
	background: linear-gradient(135deg, #0f9d58 0%, #0b7f47 100%);
	box-shadow: 0 10px 22px rgba(15, 157, 88, 0.18);
}

.bc-calendar__slot {
	margin-top: 6px;
	border: 1px solid transparent;
	border-radius: 999px;
	padding: 6px 10px;
	font-size: 0.74rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--bc-primary-soft);
	color: var(--bc-primary);
	font-weight: 600;
	cursor: pointer;
}

.bc-calendar__slot:hover,
.bc-calendar__slot:focus {
	background: #cfe2ff;
	outline: 2px solid #aac2f4;
}

.bc-calendar__slot:active {
	transform: translateY(1px);
}

.bc-calendar__slot--reschedule {
	background: #e8f0fe;
	border-color: rgba(26, 115, 232, 0.18);
	box-shadow: inset 0 0 0 1px rgba(26, 115, 232, 0.08);
}

.bc-calendar__month-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 10px;
}

.bc-calendar__week-header,
.bc-calendar__month-headers {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	background: var(--bc-bg);
	font-weight: 600;
	padding: 12px 10px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.76rem;
	color: var(--bc-muted);
}

.bc-calendar__week-label {
	padding: 8px 10px;
	border-radius: 999px;
	font-weight: 700;
	color: var(--bc-muted);
}

.bc-calendar__week-label--today {
	background: rgba(26, 115, 232, 0.1);
	color: var(--bc-primary);
}

.bc-calendar__slot-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.bc-calendar__empty {
	padding: 18px;
	color: var(--bc-muted);
}

.bc-calendar__day-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
	font-weight: 600;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(217, 225, 236, 0.75);
}

.bc-calendar__day-header h3 {
	margin: 0;
}

.bc-calendar__day-columns {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 8px;
}

.bc-calendar__day-col {
	border: 1px solid var(--bc-border);
	border-radius: 16px;
	padding: 12px;
	background: rgba(255, 255, 255, 0.9);
}

.bc-calendar__modal {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
	z-index: 9999;
}

.bc-calendar__modal:not([hidden]) {
	display: flex;
}

.bc-calendar__modal[hidden] {
	display: none;
}

.bc-calendar__modal-panel {
	width: min(520px, 100%);
	background: #fff;
	border-radius: 24px;
	padding: 22px;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.45);
	position: relative;
}

.bc-calendar__modal-close {
	position: absolute;
	right: 10px;
	top: 7px;
	font-size: 22px;
	width: 32px;
	height: 32px;
	border-radius: 9px;
	line-height: 28px;
	text-align: center;
	cursor: pointer;
}

.bc-calendar__modal-close:hover,
.bc-calendar__modal-close:focus {
	background: #f0f0f0;
}

.bc-calendar__modal-title {
	margin-bottom: 6px;
	font-weight: 800;
	font-size: 1.35rem;
}

.bc-calendar__modal-subtitle {
	margin-bottom: 14px;
	color: var(--bc-muted);
	font-size: 0.95rem;
}

.bc-calendar__time-picker {
	display: grid;
	gap: 12px;
	padding: 16px;
	margin-bottom: 16px;
	border-radius: 18px;
	background: #f5f8ff;
	border: 1px solid rgba(26, 115, 232, 0.14);
}

.bc-calendar__time-picker-header {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px;
	align-items: center;
}

.bc-calendar__time-picker-header strong {
	font-size: 0.95rem;
}

.bc-calendar__time-picker-header span {
	color: var(--bc-muted);
	font-size: 0.9rem;
}

.bc-calendar__time-picker-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.bc-calendar__time-option {
	min-height: 40px;
	border: 1px solid rgba(26, 115, 232, 0.16);
	border-radius: 999px;
	padding: 0 14px;
	background: #fff;
	color: var(--bc-text);
	font-weight: 700;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.bc-calendar__time-option:hover,
.bc-calendar__time-option:focus {
	border-color: var(--bc-primary);
	color: var(--bc-primary);
}

.bc-calendar__time-option.is-active {
	background: var(--bc-primary);
	border-color: var(--bc-primary);
	color: #fff;
	box-shadow: 0 10px 20px rgba(26, 115, 232, 0.22);
}

.bc-calendar__time-option--reschedule.is-active {
	background: #0f9d58;
	border-color: #0f9d58;
	box-shadow: 0 10px 20px rgba(15, 157, 88, 0.2);
}

.bc-field {
	margin-bottom: 12px;
	display: flex;
	flex-direction: column;
}

.bc-field input,
.bc-field select,
.bc-field textarea {
	border: 1px solid var(--bc-border);
	border-radius: 8px;
	padding: 8px;
}

.bc-actions {
	display: flex;
	flex-direction: row;
	gap: 8px;
}

.bc-calendar__status {
	margin-bottom: 10px;
}

.bc-calendar__status-actions {
	display: grid;
	gap: 8px;
	margin-bottom: 14px;
}

.bc-calendar-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.bc-calendar-links--compact {
	gap: 8px;
}

.bc-calendar-links__google {
	min-height: 42px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 0 18px;
	text-decoration: none;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: #fff;
	background: linear-gradient(135deg, #1a73e8 0%, #0f5fcb 100%);
	box-shadow: 0 12px 28px rgba(26, 115, 232, 0.24);
	transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.bc-calendar-links__google::before {
	content: "+";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
	font-size: 1rem;
	font-weight: 800;
}

.bc-calendar-links__google:hover,
.bc-calendar-links__google:focus {
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 16px 32px rgba(26, 115, 232, 0.28);
	filter: saturate(1.05);
}

.bc-calendar-links__google--compact {
	min-height: 38px;
	padding-inline: 16px;
	font-size: 0.92rem;
}

.bc-calendar-links__google--compact::before {
	width: 22px;
	height: 22px;
}

@media (max-width: 840px) {
	.bc-calendar__toolbar {
		flex-direction: column;
		align-items: flex-start;
	}
	.bc-calendar__toolbar-actions,
	.bc-calendar__toolbar-filters {
		width: 100%;
	}
	.bc-calendar__toolbar button,
	.bc-calendar__toolbar select {
		flex: 1 1 auto;
	}
	.bc-calendar__day-cell {
		min-height: 86px;
	}
	.bc-calendar__time-picker-header {
		flex-direction: column;
		align-items: flex-start;
	}
	.bc-calendar__time-option {
		flex: 1 1 calc(50% - 10px);
		justify-content: center;
	}
	.bc-auth-shell,
	.bc-portal-shell__body {
		grid-template-columns: 1fr;
	}
	.bc-field--split {
		grid-template-columns: 1fr;
	}
	.bc-portal-shell__header {
		flex-direction: column;
	}
	.bc-portal-shell__meta {
		align-items: stretch;
		width: 100%;
	}
	.bc-portal-shell__chip {
		min-width: 0;
	}
	.bc-calendar__month-grid,
	.bc-calendar__week-header,
	.bc-calendar__month-headers,
	.bc-calendar__day-headers,
	.bc-calendar__week-row,
	.bc-calendar__slot-row {
		gap: 6px;
	}
}

/* Premium wellness refresh */
:root {
	--bc-primary: #be185d;
	--bc-primary-soft: #fce7f3;
	--bc-text: #2b1730;
	--bc-muted: #705a72;
	--bc-bg: #fff7fb;
	--bc-white: #ffffff;
	--bc-border: #ead8e8;
	--bc-accent: #7c3aed;
	--bc-sage: #2f7d69;
	--bc-panel-shadow: 0 22px 58px rgba(86, 32, 72, 0.12);
	--bc-card-shadow: 0 12px 30px rgba(86, 32, 72, 0.08);
}

html {
	background:
		linear-gradient(135deg, #fff7fb 0%, #faf5ff 48%, #f0fdfa 100%);
}

body.booking-calendar-standalone {
	background:
		radial-gradient(circle at 10% 0%, rgba(236, 72, 153, 0.13), transparent 28%),
		radial-gradient(circle at 92% 12%, rgba(124, 58, 237, 0.1), transparent 26%),
		linear-gradient(135deg, #fff7fb 0%, #faf5ff 48%, #f0fdfa 100%);
	color: var(--bc-text);
}

.bc-calendar-page-shell {
	padding: clamp(16px, 3vw, 42px);
}

.bc-calendar-page__header,
.bc-auth-shell__hero,
.bc-auth-shell__card,
.bc-portal-shell__header,
.bc-portal-shell__stage,
.bc-portal-shell__calendar,
.bc-bookings-panel,
.bc-auth-gate__card,
.bc-calendar__grid,
.bc-calendar__toolbar,
.bc-calendar__modal-panel {
	border-color: rgba(234, 216, 232, 0.86);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 250, 253, 0.94) 100%);
	box-shadow: var(--bc-panel-shadow);
}

.bc-calendar-page__header,
.bc-auth-shell__hero,
.bc-auth-shell__card,
.bc-portal-shell__header,
.bc-bookings-panel,
.bc-portal-shell__stage,
.bc-portal-shell__calendar,
.bc-auth-gate__card {
	border-radius: 24px;
}

.bc-calendar-page__header {
	position: relative;
	overflow: hidden;
	padding: clamp(18px, 3vw, 28px);
	margin-bottom: 18px;
}

.bc-calendar-page__header::before,
.bc-auth-shell__hero::before,
.bc-portal-shell__header::before,
.bc-auth-gate__card::before {
	content: "";
	display: block;
	height: 5px;
	margin: -28px -28px 18px;
	background: linear-gradient(90deg, var(--bc-primary) 0%, var(--bc-accent) 52%, var(--bc-sage) 100%);
}

.bc-auth-shell__hero,
.bc-portal-shell__header,
.bc-auth-gate__card {
	position: relative;
	overflow: hidden;
}

.bc-auth-shell__hero,
.bc-portal-shell__header {
	background:
		radial-gradient(circle at top right, rgba(236, 72, 153, 0.13), transparent 34%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 247, 251, 0.94) 100%);
}

.bc-calendar-page__header h2,
.bc-auth-shell__hero h2,
.bc-portal-shell__intro h2,
.bc-auth-gate__card h2,
.bc-calendar__modal-title {
	font-family: var(--bc-heading-family);
	color: #831843;
	letter-spacing: 0;
}

.bc-auth-shell__hero h2,
.bc-portal-shell__intro h2 {
	line-height: 1.03;
}

.bc-calendar-page__header p,
.bc-auth-shell__hero p,
.bc-portal-shell__intro p,
.bc-portal-shell__stage p,
.bc-auth-gate__card p,
.bc-calendar__modal-subtitle,
.bc-calendar__day-note,
.bc-booking-card__meta,
.bc-bookings-empty,
.bc-calendar__empty {
	color: var(--bc-muted);
}

.bc-auth-shell__eyebrow,
.bc-portal-shell__eyebrow,
.bc-portal-shell__stage-label,
.bc-auth-gate__eyebrow {
	background: linear-gradient(135deg, #fce7f3 0%, #ede9fe 100%);
	color: #831843;
	box-shadow: inset 0 0 0 1px rgba(190, 24, 93, 0.1);
}

.bc-auth-shell__feature-list li,
.bc-portal-shell__chip,
.bc-calendar__time-picker,
.bc-reschedule-state,
.bc-booking-card,
.bc-calendar__day-cell,
.bc-calendar__hour-cell,
.bc-calendar__day-compact,
.bc-calendar__day-col {
	border-color: rgba(234, 216, 232, 0.86);
	background: rgba(255, 255, 255, 0.88);
	box-shadow: var(--bc-card-shadow);
}

.bc-auth-shell__feature-list li {
	color: var(--bc-text);
}

.bc-auth-shell__tabs {
	background: linear-gradient(135deg, #fff7fb 0%, #f5f3ff 100%);
	border: 1px solid rgba(234, 216, 232, 0.86);
}

.bc-auth-shell__tab,
.bc-auth-link,
.bc-calendar__toolbar button,
.bc-calendar__toolbar select,
.bc-calendar__day-book,
.bc-calendar__slot,
.bc-calendar__time-option,
.bc-calendar-links__google,
.bc-calendar__modal-close,
.bc-auth-gate__actions .button,
.bc-booking-card__actions .button {
	transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, filter 0.18s ease;
}

.bc-auth-shell__tab {
	color: var(--bc-muted);
}

.bc-auth-shell__tab.is-active {
	background: #ffffff;
	color: #831843;
	box-shadow: 0 10px 22px rgba(190, 24, 93, 0.12);
}

.bc-field label,
.bc-auth-form__remember,
.bc-calendar__toolbar-title,
.bc-booking-card__top strong,
.bc-portal-shell__chip strong {
	color: var(--bc-text);
}

.bc-field input,
.bc-field select,
.bc-field textarea {
	min-height: 44px;
	border-color: var(--bc-border);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.96);
	color: var(--bc-text);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.86);
}

.bc-field textarea {
	min-height: 96px;
}

.bc-field input:focus,
.bc-field select:focus,
.bc-field textarea:focus,
.bc-calendar__toolbar button:focus-visible,
.bc-calendar__toolbar select:focus-visible,
.bc-calendar__day-book:focus-visible,
.bc-calendar__slot:focus-visible,
.bc-calendar__time-option:focus-visible,
.bc-auth-shell__tab:focus-visible,
.bc-auth-link:focus-visible,
.bc-calendar-links__google:focus-visible,
.bc-calendar__modal-close:focus-visible,
.bc-auth-gate__actions .button:focus-visible,
.bc-booking-card__actions .button:focus-visible {
	border-color: var(--bc-primary);
	box-shadow: 0 0 0 3px rgba(190, 24, 93, 0.16);
	outline: none;
}

.bc-auth-link {
	color: var(--bc-primary);
}

.bc-auth-link:hover {
	color: #831843;
}

.bc-auth-form__actions .button,
.bc-actions .button,
.bc-auth-gate__actions .button,
.bc-booking-card__actions .button {
	min-height: 42px;
	border-radius: 999px;
	font-weight: 800;
}

.bc-auth-form__actions .button-primary,
.bc-actions .button-primary,
.bc-auth-gate__actions .button-primary,
.bc-calendar__day-book,
.bc-calendar-links__google {
	border: 0;
	background: linear-gradient(135deg, var(--bc-primary) 0%, var(--bc-accent) 100%);
	color: #ffffff;
	box-shadow: 0 14px 30px rgba(190, 24, 93, 0.24);
}

.bc-auth-form__actions .button-primary:hover,
.bc-actions .button-primary:hover,
.bc-auth-gate__actions .button-primary:hover,
.bc-calendar__day-book:hover,
.bc-calendar__day-book:focus,
.bc-calendar-links__google:hover,
.bc-calendar-links__google:focus {
	color: #ffffff;
	transform: translateY(-1px);
	filter: saturate(1.05);
	box-shadow: 0 18px 36px rgba(190, 24, 93, 0.3);
}

.bc-calendar__toolbar {
	top: 12px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(14px);
}

.bc-calendar__toolbar-title {
	font-family: var(--bc-heading-family);
	font-size: clamp(1.35rem, 2vw, 1.8rem);
	font-weight: 700;
	letter-spacing: 0;
}

.bc-calendar__toolbar button,
.bc-calendar__toolbar select {
	border-color: rgba(190, 24, 93, 0.18);
	background: rgba(255, 255, 255, 0.96);
	color: var(--bc-text);
}

.bc-calendar__toolbar button:hover,
.bc-calendar__toolbar select:hover {
	border-color: rgba(190, 24, 93, 0.34);
	background: #fff7fb;
	color: #831843;
}

.bc-calendar__toolbar button[aria-pressed="true"] {
	background: linear-gradient(135deg, #fce7f3 0%, #ede9fe 100%);
	color: #831843;
	border-color: rgba(190, 24, 93, 0.32);
}

.bc-calendar__grid {
	border-radius: 24px;
	overflow: hidden;
}

.bc-calendar__month,
.bc-calendar__week,
.bc-calendar__day {
	padding: clamp(10px, 2vw, 18px);
}

.bc-calendar__month-headers,
.bc-calendar__week-header {
	background: linear-gradient(135deg, #fff7fb 0%, #f5f3ff 100%);
	color: #831843;
}

.bc-calendar__month-grid {
	gap: 10px;
}

.bc-calendar__day-cell,
.bc-calendar__hour-cell,
.bc-calendar__day-compact {
	min-height: 124px;
	border-radius: 18px;
}

.bc-calendar__day-cell--today,
.bc-calendar__day-col--today {
	background:
		linear-gradient(180deg, rgba(252, 231, 243, 0.92) 0%, rgba(255, 255, 255, 0.98) 100%);
	border-color: rgba(190, 24, 93, 0.36);
	box-shadow:
		0 12px 30px rgba(190, 24, 93, 0.12),
		inset 0 0 0 1px rgba(190, 24, 93, 0.08);
}

.bc-calendar__day-cell--other {
	background: rgba(248, 250, 252, 0.78);
	color: var(--bc-muted);
	box-shadow: none;
}

.bc-calendar__day-number {
	background: #fce7f3;
	color: #831843;
}

.bc-calendar__day-cell--today .bc-calendar__day-number {
	background: linear-gradient(135deg, var(--bc-primary) 0%, var(--bc-accent) 100%);
	color: #ffffff;
}

.bc-day-count {
	color: var(--bc-primary);
}

.bc-calendar__day-book--reschedule,
.bc-calendar__time-option--reschedule.is-active {
	background: linear-gradient(135deg, var(--bc-sage) 0%, #176b57 100%);
	box-shadow: 0 14px 30px rgba(47, 125, 105, 0.22);
}

.bc-calendar__slot,
.bc-calendar__time-option {
	border-color: rgba(190, 24, 93, 0.14);
	background: #fff7fb;
	color: #831843;
}

.bc-calendar__slot:hover,
.bc-calendar__slot:focus,
.bc-calendar__time-option:hover,
.bc-calendar__time-option:focus {
	border-color: rgba(190, 24, 93, 0.34);
	background: #fce7f3;
	color: #831843;
	outline: none;
	box-shadow: 0 8px 18px rgba(190, 24, 93, 0.12);
}

.bc-calendar__time-option.is-active {
	background: linear-gradient(135deg, var(--bc-primary) 0%, var(--bc-accent) 100%);
	border-color: transparent;
	color: #ffffff;
	box-shadow: 0 12px 24px rgba(190, 24, 93, 0.24);
}

.bc-calendar__modal {
	background:
		radial-gradient(circle at center, rgba(190, 24, 93, 0.18), transparent 42%),
		rgba(43, 23, 48, 0.5);
	backdrop-filter: blur(5px);
}

.bc-calendar__modal-panel {
	border: 1px solid rgba(234, 216, 232, 0.94);
}

.bc-calendar__modal-close {
	border: 1px solid transparent;
	background: #fff7fb;
	color: #831843;
}

.bc-calendar__modal-close:hover,
.bc-calendar__modal-close:focus {
	background: #fce7f3;
}

.bc-calendar__time-picker,
.bc-reschedule-state {
	background: linear-gradient(135deg, #fff7fb 0%, #f5f3ff 100%);
	border-color: rgba(190, 24, 93, 0.18);
}

.bc-booking-card {
	overflow: hidden;
}

.bc-booking-card::before {
	height: 5px;
	background: linear-gradient(90deg, var(--bc-service-color, var(--bc-primary)) 0%, var(--bc-primary) 100%);
}

.bc-booking-card__swatch {
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--bc-service-color, var(--bc-primary)) 20%, #ffffff);
}

.bc-booking-card__status--pending {
	background: #fff7ed;
	color: #9a3412;
}

.bc-booking-card__status--confirmed {
	background: #ecfdf5;
	color: #047857;
}

.bc-booking-card__status--cancelled {
	background: #fff1f2;
	color: #be123c;
}

.bc-booking-card__status--completed {
	background: #f8fafc;
	color: #475569;
}

.bc-calendar-links__google::before {
	background: rgba(255, 255, 255, 0.2);
}

.bc-actions {
	flex-wrap: wrap;
}

@media (prefers-reduced-motion: reduce) {
	.bc-auth-shell__tab,
	.bc-auth-link,
	.bc-calendar__toolbar button,
	.bc-calendar__toolbar select,
	.bc-calendar__day-book,
	.bc-calendar__slot,
	.bc-calendar__time-option,
	.bc-calendar-links__google,
	.bc-calendar__modal-close,
	.bc-auth-gate__actions .button,
	.bc-booking-card__actions .button {
		transition: none;
	}

	.bc-auth-form__actions .button-primary:hover,
	.bc-actions .button-primary:hover,
	.bc-auth-gate__actions .button-primary:hover,
	.bc-calendar__day-book:hover,
	.bc-calendar__day-book:focus,
	.bc-calendar-links__google:hover,
	.bc-calendar-links__google:focus {
		transform: none;
	}
}

@media (max-width: 840px) {
	.bc-calendar-page-shell {
		padding: 12px;
	}

	.bc-calendar-page__header,
	.bc-auth-shell__hero,
	.bc-auth-shell__card,
	.bc-portal-shell__header,
	.bc-bookings-panel,
	.bc-portal-shell__stage,
	.bc-portal-shell__calendar,
	.bc-auth-gate__card {
		border-radius: 18px;
	}

	.bc-calendar__toolbar {
		position: static;
	}

	.bc-calendar__toolbar-actions,
	.bc-calendar__toolbar-filters,
	.bc-calendar__toolbar button,
	.bc-calendar__toolbar select,
	.bc-auth-form__actions .button,
	.bc-actions .button,
	.bc-auth-gate__actions .button {
		width: 100%;
	}

	.bc-calendar__month-grid,
	.bc-calendar__week-header,
	.bc-calendar__month-headers,
	.bc-calendar__day-headers,
	.bc-calendar__week-row,
	.bc-calendar__slot-row {
		min-width: 720px;
	}

	.bc-calendar__month,
	.bc-calendar__week,
	.bc-calendar__day {
		overflow-x: auto;
	}
}

/* Neutral alignment refresh */
:root {
	--bc-primary: #0369a1;
	--bc-primary-soft: #e0f2fe;
	--bc-text: #0f172a;
	--bc-muted: #475569;
	--bc-bg: #f8fafc;
	--bc-white: #ffffff;
	--bc-border: #d7dee8;
	--bc-accent: #334155;
	--bc-sage: #0f766e;
	--bc-font-family: "Inter", "Noto Sans", system-ui, sans-serif;
	--bc-heading-family: "Inter", "Noto Sans", system-ui, sans-serif;
	--bc-panel-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
	--bc-card-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

html,
body.booking-calendar-standalone {
	background: #f8fafc;
	color: var(--bc-text);
}

.booking-calendar-public-page {
	background: #f8fafc;
}

.bc-calendar-page-shell {
	padding: clamp(14px, 2.2vw, 32px);
}

.bc-calendar-page {
	max-width: 1180px;
}

.bc-calendar-page-shell .bc-calendar,
.bc-calendar {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	color: var(--bc-text);
}

.bc-calendar-page__header,
.bc-auth-shell__hero,
.bc-auth-shell__card,
.bc-portal-shell__header,
.bc-portal-shell__stage,
.bc-portal-shell__calendar,
.bc-bookings-panel,
.bc-auth-gate__card,
.bc-calendar__grid,
.bc-calendar__toolbar,
.bc-calendar__modal-panel {
	border: 1px solid var(--bc-border);
	border-radius: 12px;
	background: #ffffff;
	box-shadow: var(--bc-panel-shadow);
}

.bc-calendar-page__header,
.bc-auth-shell__hero,
.bc-portal-shell__header,
.bc-auth-gate__card {
	position: static;
	overflow: visible;
	padding: 20px;
}

.bc-calendar-page__header::before,
.bc-auth-shell__hero::before,
.bc-portal-shell__header::before,
.bc-auth-gate__card::before {
	display: none;
}

.bc-calendar-page__header {
	gap: 6px;
	margin-bottom: 16px;
}

.bc-calendar-page__header h2,
.bc-auth-shell__hero h2,
.bc-portal-shell__intro h2,
.bc-auth-gate__card h2,
.bc-calendar__modal-title {
	font-family: var(--bc-heading-family);
	color: var(--bc-text);
	letter-spacing: 0;
}

.bc-calendar-page__header h2 {
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	font-weight: 700;
	line-height: 1.2;
}

.bc-calendar-page__header p,
.bc-auth-shell__hero p,
.bc-portal-shell__intro p,
.bc-portal-shell__stage p,
.bc-auth-gate__card p,
.bc-calendar__modal-subtitle,
.bc-calendar__day-note,
.bc-booking-card__meta,
.bc-bookings-empty,
.bc-calendar__empty {
	color: var(--bc-muted);
	line-height: 1.55;
}

.bc-auth-shell,
.bc-portal-shell__body {
	align-items: start;
	gap: 16px;
}

.bc-auth-shell__eyebrow,
.bc-portal-shell__eyebrow,
.bc-portal-shell__stage-label,
.bc-auth-gate__eyebrow {
	background: #e0f2fe;
	color: #075985;
	box-shadow: none;
}

.bc-auth-shell__feature-list li,
.bc-portal-shell__chip,
.bc-calendar__time-picker,
.bc-reschedule-state,
.bc-booking-card,
.bc-calendar__day-cell,
.bc-calendar__hour-cell,
.bc-calendar__day-compact,
.bc-calendar__day-col {
	border: 1px solid var(--bc-border);
	border-radius: 10px;
	background: #ffffff;
	box-shadow: var(--bc-card-shadow);
}

.bc-auth-shell__tabs {
	gap: 4px;
	padding: 4px;
	border: 1px solid var(--bc-border);
	border-radius: 10px;
	background: #f1f5f9;
}

.bc-auth-shell__tab {
	min-height: 40px;
	border-radius: 8px;
	color: var(--bc-muted);
	font-weight: 600;
}

.bc-auth-shell__tab.is-active {
	background: #ffffff;
	color: var(--bc-text);
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.bc-field {
	margin-bottom: 12px;
	gap: 6px;
}

.bc-field label,
.bc-auth-form__remember,
.bc-calendar__toolbar-title,
.bc-booking-card__top strong,
.bc-portal-shell__chip strong {
	color: var(--bc-text);
	font-weight: 600;
}

.bc-field input,
.bc-field select,
.bc-field textarea {
	width: 100%;
	min-height: 42px;
	padding: 9px 12px;
	border: 1px solid var(--bc-border);
	border-radius: 8px;
	background: #ffffff;
	color: var(--bc-text);
	box-shadow: none;
	line-height: 1.4;
}

.bc-field textarea {
	min-height: 96px;
}

.bc-field input:focus,
.bc-field select:focus,
.bc-field textarea:focus,
.bc-calendar__toolbar button:focus-visible,
.bc-calendar__toolbar select:focus-visible,
.bc-calendar__day-book:focus-visible,
.bc-calendar__slot:focus-visible,
.bc-calendar__time-option:focus-visible,
.bc-auth-shell__tab:focus-visible,
.bc-auth-link:focus-visible,
.bc-calendar-links__google:focus-visible,
.bc-calendar__modal-close:focus-visible,
.bc-auth-gate__actions .button:focus-visible,
.bc-booking-card__actions .button:focus-visible {
	border-color: var(--bc-primary);
	box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.18);
	outline: none;
}

.bc-auth-link {
	color: var(--bc-primary);
}

.bc-auth-link:hover {
	color: #075985;
}

.bc-auth-form__actions,
.bc-actions,
.bc-auth-gate__actions,
.bc-booking-card__actions,
.bc-calendar__toolbar-actions,
.bc-calendar__toolbar-filters {
	align-items: center;
	gap: 8px;
}

.bc-auth-form__actions .button,
.bc-actions .button,
.bc-auth-gate__actions .button,
.bc-booking-card__actions .button,
.bc-calendar__toolbar button,
.bc-calendar__toolbar select {
	min-height: 40px;
	padding: 7px 14px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #ffffff;
	color: var(--bc-text);
	box-shadow: none;
	font-weight: 600;
	line-height: 1.4;
}

.bc-auth-form__actions .button:hover,
.bc-actions .button:hover,
.bc-auth-gate__actions .button:hover,
.bc-booking-card__actions .button:hover,
.bc-calendar__toolbar button:hover,
.bc-calendar__toolbar select:hover {
	border-color: #94a3b8;
	background: #f8fafc;
	color: var(--bc-text);
	box-shadow: none;
}

.bc-auth-form__actions .button-primary,
.bc-actions .button-primary,
.bc-auth-gate__actions .button-primary,
.bc-calendar__day-book,
.bc-calendar-links__google {
	border: 1px solid var(--bc-primary);
	border-radius: 8px;
	background: var(--bc-primary);
	color: #ffffff;
	box-shadow: none;
}

.bc-auth-form__actions .button-primary:hover,
.bc-actions .button-primary:hover,
.bc-auth-gate__actions .button-primary:hover,
.bc-calendar__day-book:hover,
.bc-calendar__day-book:focus,
.bc-calendar-links__google:hover,
.bc-calendar-links__google:focus {
	border-color: #075985;
	background: #075985;
	color: #ffffff;
	box-shadow: none;
	filter: none;
	transform: none;
}

.bc-calendar__toolbar {
	position: sticky;
	top: 10px;
	display: grid;
	grid-template-columns: minmax(180px, 1fr) auto auto;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
	padding: 12px;
	border-radius: 12px;
	background: #ffffff;
	backdrop-filter: none;
}

.bc-calendar__toolbar-title {
	font-size: clamp(1.25rem, 2vw, 1.6rem);
	font-weight: 700;
	line-height: 1.2;
}

.bc-calendar__toolbar button[aria-pressed="true"] {
	border-color: var(--bc-primary);
	background: #e0f2fe;
	color: #075985;
}

.bc-calendar__grid {
	border-radius: 12px;
	overflow: hidden;
}

.bc-calendar__month,
.bc-calendar__week,
.bc-calendar__day {
	padding: 12px;
}

.bc-calendar__month-headers,
.bc-calendar__week-header {
	background: #f8fafc;
	color: var(--bc-muted);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.bc-calendar__month-grid {
	gap: 8px;
}

.bc-calendar__day-cell,
.bc-calendar__hour-cell,
.bc-calendar__day-compact {
	min-height: 126px;
	padding: 10px;
	border-radius: 10px;
	box-shadow: none;
}

.bc-calendar__day-cell h4 {
	margin-bottom: 8px;
}

.bc-calendar__day-cell--today,
.bc-calendar__day-col--today {
	border-color: #7dd3fc;
	background: #f0f9ff;
	box-shadow: inset 0 0 0 1px rgba(3, 105, 161, 0.08);
}

.bc-calendar__day-cell--other {
	background: #f8fafc;
	color: var(--bc-muted);
	box-shadow: none;
}

.bc-calendar__day-number {
	width: 32px;
	height: 32px;
	background: #e2e8f0;
	color: var(--bc-text);
}

.bc-calendar__day-cell--today .bc-calendar__day-number {
	background: var(--bc-primary);
	color: #ffffff;
}

.bc-day-count {
	color: var(--bc-primary);
	font-size: 0.7rem;
}

.bc-calendar__day-actions {
	gap: 8px;
	margin-top: 8px;
}

.bc-calendar__day-book {
	width: 100%;
	min-height: 40px;
}

.bc-calendar__day-book--reschedule,
.bc-calendar__time-option--reschedule.is-active {
	border-color: var(--bc-sage);
	background: var(--bc-sage);
	box-shadow: none;
}

.bc-calendar__slot,
.bc-calendar__time-option {
	min-height: 38px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #ffffff;
	color: var(--bc-text);
	box-shadow: none;
}

.bc-calendar__slot:hover,
.bc-calendar__slot:focus,
.bc-calendar__time-option:hover,
.bc-calendar__time-option:focus {
	border-color: var(--bc-primary);
	background: #f0f9ff;
	color: #075985;
	box-shadow: none;
	outline: none;
}

.bc-calendar__time-option.is-active {
	border-color: var(--bc-primary);
	background: var(--bc-primary);
	color: #ffffff;
	box-shadow: none;
}

.bc-calendar__modal {
	background: rgba(15, 23, 42, 0.55);
	backdrop-filter: blur(3px);
}

.bc-calendar__modal-panel {
	width: min(560px, calc(100vw - 28px));
	border: 1px solid var(--bc-border);
	border-radius: 12px;
	padding: 22px;
}

.bc-calendar__form {
	display: grid;
	gap: 12px;
	width: 100%;
	margin: 0;
}

.bc-calendar__form *,
.bc-calendar__form *::before,
.bc-calendar__form *::after {
	box-sizing: border-box;
}

.bc-calendar__form .bc-calendar__time-picker,
.bc-calendar__form .bc-field {
	width: 100%;
	margin: 0;
}

.bc-calendar__form .bc-field {
	align-items: stretch;
}

.bc-calendar__form .bc-field label {
	display: block;
	width: 100%;
	margin: 0;
	text-align: left;
}

.bc-calendar__form .bc-field input:not([type="checkbox"]),
.bc-calendar__form .bc-field select,
.bc-calendar__form .bc-field textarea {
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
}

.bc-calendar__form .bc-privacy label {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	line-height: 1.45;
}

.bc-calendar__form .bc-privacy input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	justify-self: start;
}

.bc-calendar__form .bc-actions {
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	align-items: center;
	gap: 8px;
	width: 100%;
	margin-top: 2px;
}

.bc-calendar__modal-close {
	right: 12px;
	top: 12px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #ffffff;
	color: var(--bc-text);
}

.bc-calendar__modal-close:hover,
.bc-calendar__modal-close:focus {
	background: #f8fafc;
}

.bc-calendar__time-picker,
.bc-reschedule-state {
	border-color: var(--bc-border);
	background: #f8fafc;
	box-shadow: none;
}

.bc-booking-card::before {
	height: 4px;
	background: var(--bc-service-color, var(--bc-primary));
}

.bc-booking-card__swatch {
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--bc-service-color, var(--bc-primary)) 18%, #ffffff);
}

.bc-calendar-links__google::before {
	background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 840px) {
	.bc-calendar-page-shell {
		padding: 10px;
	}

	.bc-calendar-page__header,
	.bc-auth-shell__hero,
	.bc-auth-shell__card,
	.bc-portal-shell__header,
	.bc-bookings-panel,
	.bc-portal-shell__stage,
	.bc-portal-shell__calendar,
	.bc-auth-gate__card,
	.bc-calendar__grid,
	.bc-calendar__toolbar {
		border-radius: 10px;
	}

	.bc-calendar__toolbar {
		position: static;
		grid-template-columns: 1fr;
		align-items: stretch;
	}

	.bc-calendar__toolbar-actions,
	.bc-calendar__toolbar-filters {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		width: 100%;
	}

	.bc-calendar__toolbar-filters {
		grid-template-columns: 1fr;
	}

	.bc-calendar__toolbar button,
	.bc-calendar__toolbar select,
	.bc-auth-form__actions .button,
	.bc-actions .button,
	.bc-auth-gate__actions .button {
		width: 100%;
	}

	.bc-calendar__month-grid,
	.bc-calendar__week-header,
	.bc-calendar__month-headers,
	.bc-calendar__day-headers,
	.bc-calendar__week-row,
	.bc-calendar__slot-row {
		min-width: 680px;
	}
}

@media (max-width: 560px) {
	.bc-auth-shell--registration-only .bc-field--split {
		grid-template-columns: 1fr;
	}

	.bc-auth-shell--registration-only .bc-auth-form__actions {
		justify-content: stretch;
	}

	.bc-auth-shell--registration-only .bc-auth-form__actions .button {
		width: 100%;
		min-width: 0;
	}

	.bc-calendar__modal-panel {
		padding: 18px;
	}

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

	.bc-calendar__form .bc-actions .button {
		width: 100%;
	}
}
