:root {
	--sfc-co-brown: var(--sfc-co-color-primary, #D71920);
	--sfc-co-brown-dark: var(--sfc-co-color-primary-hover, #A91219);
	--sfc-co-copper: var(--sfc-co-color-primary, #D71920);
	--sfc-co-peach: var(--sfc-co-color-border-subtle, #E5E7EB);
	--sfc-co-cream: var(--sfc-co-color-surface-muted, #F3F4F6);
	--sfc-co-border: var(--sfc-co-color-border, #D1D5DB);
	--sfc-co-text: #172B3A;
	--sfc-co-muted: #687987;
	--sfc-co-danger: #c94040;
	--sfc-co-success: #287d3c;
}

.sfc-co-booking,
.sfc-co-booking * {
	box-sizing: border-box;
}

.sfc-co-booking {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	color: var(--sfc-co-text);
	font-family: var(--sfc-co-font-family, Montserrat, Arial, sans-serif);
	font-size: 14px;
	line-height: 1.45;
	scroll-margin-top: 24px;
}

.sfc-co-booking [hidden] {
	display: none !important;
}

.sfc-co-booking h1,
.sfc-co-booking h2,
.sfc-co-booking h3,
.sfc-co-booking p,
.sfc-co-booking dl,
.sfc-co-booking dt,
.sfc-co-booking dd {
	margin: 0;
}

.sfc-co-booking button,
.sfc-co-booking input,
.sfc-co-booking select {
	font: inherit;
}

.sfc-co-booking button,
.sfc-co-booking select,
.sfc-co-booking input[type="date"],
.sfc-co-booking input[type="checkbox"] {
	cursor: pointer;
}

.sfc-co-booking button:focus-visible,
.sfc-co-booking a:focus-visible,
.sfc-co-booking input:focus-visible,
.sfc-co-booking select:focus-visible {
	outline: 2px solid var(--sfc-co-color-primary, #D71920);
	outline-offset: 2px;
}

.sfc-co-booking-shell {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	min-height: 550px;
	overflow: hidden;
	border: 1px solid rgba(113, 72, 48, 0.25);
	border-radius: 14px;
	background: var(--sfc-co-cream);
}

.sfc-co-booking-shell.has-image {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.sfc-co-booking-panel {
	padding: clamp(32px, 4.5vw, 66px);
	background: linear-gradient(125deg, #ae7651 0%, #6b422d 55%, #3e261d 100%);
	color: var(--sfc-co-color-surface, #fff);
}

.sfc-co-booking-image {
	position: relative;
	min-width: 0;
	background: var(--sfc-co-color-surface-muted, #F3F4F6);
}

.sfc-co-booking-image::after {
	position: absolute;
	inset: 0;
	background: rgba(31, 41, 55, 0.18);
	content: "";
}

.sfc-co-booking-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 58% center;
}

.sfc-co-booking-heading {
	margin-bottom: 34px;
	text-align: center;
}

.sfc-co-booking-heading > span,
.sfc-co-booking-intro > span {
	display: block;
	margin-bottom: 7px;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.sfc-co-booking-heading h2,
.sfc-co-booking-intro h1,
.sfc-co-booking-step-heading h2,
.sfc-co-booking-success > h2 {
	font-family: var(--sfc-co-font-family, Montserrat, Arial, sans-serif);
	font-weight: 400;
	line-height: 1.08;
}

.sfc-co-booking-heading h2 {
	max-width: 430px;
	margin: 0 auto;
	font-size: clamp(30px, 3vw, 42px);
}

.sfc-co-booking-form {
	display: grid;
	gap: 18px;
}

.sfc-co-booking-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.sfc-co-booking-service-row {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(125px, 0.65fr);
	align-items: end;
	gap: 16px;
}

.sfc-co-booking-field {
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.sfc-co-booking-field label,
.sfc-co-booking-price > span {
	margin-bottom: 7px;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.sfc-co-booking-field label span {
	margin-left: 2px;
	color: #ffd4b2;
}

.sfc-co-booking-field input,
.sfc-co-booking-field select {
	width: 100%;
	height: 43px;
	margin: 0;
	padding: 12px 22px;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 6px;
	background: var(--sfc-co-color-surface, #fff);
	box-shadow: none;
	color: #33261f;
	font-size: 12px;
	line-height: 24px;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.sfc-co-booking-field select {
	padding-right: 48px;
}

.sfc-co-booking-field input::placeholder {
	color: #9c9895;
	opacity: 1;
}

.sfc-co-booking-field input:focus,
.sfc-co-booking-field select:focus {
	border-color: #e3a676;
	box-shadow: 0 0 0 3px rgba(229, 171, 124, 0.17);
}

.sfc-co-booking-field input.has-error,
.sfc-co-booking-field select.has-error {
	border-color: #e76b6b;
}

.sfc-co-booking-field small,
.sfc-co-booking-consents > small {
	min-height: 0;
	margin-top: 4px;
	color: #ffd1d1;
	font-size: 10px;
}

.sfc-co-booking-price {
	display: flex;
	min-height: 65px;
	flex-direction: column;
	justify-content: flex-end;
	padding-bottom: 5px;
}

.sfc-co-booking-price strong {
	font-family: var(--sfc-co-font-family, Montserrat, Arial, sans-serif);
	font-size: 17px;
	font-weight: 400;
}

.sfc-co-booking-price small {
	margin-top: 2px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 10px;
}

.sfc-co-booking-consents {
	display: grid;
	gap: 12px;
	margin-top: 2px;
}

.sfc-co-booking-antibot {
	display: flex;
	justify-content: flex-start;
}

.sfc-co-booking-antibot:empty {
	display: none;
}

.sfc-co-booking-consents label {
	display: grid;
	grid-template-columns: 16px minmax(0, 1fr);
	align-items: center;
	gap: 10.667px;
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
}

.sfc-co-booking-consents input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 0;
	border: 1px solid #dfc0aa;
	border-radius: 2px;
	accent-color: var(--sfc-co-brown);
}

.sfc-co-booking-consents a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.sfc-co-booking-submit {
	position: relative;
	display: flex;
	width: 100%;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	padding: 9px 24px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.07);
	color: var(--sfc-co-color-surface, #fff);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	transition: background 180ms ease, color 180ms ease, opacity 180ms ease;
}

.sfc-co-booking-submit:hover:not(:disabled) {
	background: var(--sfc-co-color-surface, #fff);
	color: var(--sfc-co-brown-dark);
}

.sfc-co-booking-submit:disabled {
	cursor: not-allowed;
	opacity: 0.62;
}

.sfc-co-booking-submit.is-loading:disabled {
	cursor: wait;
}

.sfc-co-booking-submit.is-loading::after {
	width: 15px;
	height: 15px;
	margin-left: 10px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	content: "";
	animation: sfc-co-spin 700ms linear infinite;
}

.sfc-co-booking-notice,
.sfc-co-booking-suggestions {
	margin-bottom: 15px;
	padding: 11px 13px;
	border: 1px solid rgba(255, 255, 255, 0.32);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.1);
	font-size: 11px;
}

.sfc-co-booking-notice.is-error {
	border-color: rgba(255, 149, 149, 0.7);
	background: rgba(146, 22, 22, 0.2);
}

.sfc-co-booking-notice.is-warning {
	border-color: rgba(156, 163, 175, 0.7);
	background: rgba(107, 114, 128, 0.12);
}

.sfc-co-booking-suggestions p {
	margin-bottom: 8px;
}

.sfc-co-booking-suggestions [data-booking-suggestion-buttons] {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sfc-co-booking-suggestions button {
	padding: 7px 10px;
	border: 1px solid currentColor;
	border-radius: 5px;
	background: transparent;
	color: inherit;
	font-size: 10px;
}

.sfc-co-booking-suggestions button:hover {
	background: rgba(255, 255, 255, 0.15);
}

.sfc-co-booking-trap {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.sfc-co-booking-page {
	min-height: 65vh;
	padding: clamp(50px, 7vw, 110px) 24px;
	background: var(--sfc-co-color-surface, #fff);
}

.sfc-co-booking-page-inner {
	max-width: 1180px;
	margin: 0 auto;
}

.sfc-co-booking-standalone {
	max-width: 720px;
}

.sfc-co-booking-standalone .sfc-co-booking-intro {
	margin-bottom: 34px;
	text-align: center;
}

.sfc-co-booking-standalone .sfc-co-booking-intro > span {
	color: var(--sfc-co-brown);
}

.sfc-co-booking-standalone .sfc-co-booking-intro h1 {
	font-size: clamp(34px, 4.2vw, 50px);
}

.sfc-co-booking-standalone .sfc-co-booking-intro p {
	margin-top: 10px;
	color: var(--sfc-co-muted);
	font-size: 13px;
}

.sfc-co-booking-standalone .sfc-co-booking-shell {
	display: block;
	min-height: 0;
	box-shadow: 0 14px 50px rgba(31, 41, 55, 0.05);
}

.sfc-co-booking-standalone .sfc-co-booking-panel {
	padding: clamp(28px, 5vw, 44px);
	background: var(--sfc-co-cream);
	color: var(--sfc-co-text);
}

.sfc-co-booking-standalone .sfc-co-booking-field label span {
	color: var(--sfc-co-danger);
}

.sfc-co-booking-standalone .sfc-co-booking-field input,
.sfc-co-booking-standalone .sfc-co-booking-field select {
	border-color: #ddcec4;
}

.sfc-co-booking-standalone .sfc-co-booking-field small,
.sfc-co-booking-standalone .sfc-co-booking-consents > small {
	color: var(--sfc-co-danger);
}

.sfc-co-booking-standalone .sfc-co-booking-price small {
	color: var(--sfc-co-muted);
}

.sfc-co-booking-standalone .sfc-co-booking-consents a {
	color: var(--sfc-co-brown);
}

.sfc-co-booking-standalone .sfc-co-booking-submit,
.sfc-co-booking-choice-card .sfc-co-booking-submit {
	border-color: var(--sfc-co-brown);
	background: var(--sfc-co-brown);
	color: var(--sfc-co-color-surface, #fff);
}

.sfc-co-booking-standalone .sfc-co-booking-submit:hover:not(:disabled),
.sfc-co-booking-choice-card .sfc-co-booking-submit:hover:not(:disabled) {
	background: #784a34;
	color: var(--sfc-co-color-surface, #fff);
}

.sfc-co-booking-standalone .sfc-co-booking-notice,
.sfc-co-booking-standalone .sfc-co-booking-suggestions,
.sfc-co-booking-choice-card .sfc-co-booking-notice,
.sfc-co-booking-choice-card .sfc-co-booking-suggestions {
	border-color: var(--sfc-co-color-border, #D1D5DB);
	background: var(--sfc-co-color-surface-muted, #F3F4F6);
	color: var(--sfc-co-text);
}

.sfc-co-booking-standalone .sfc-co-booking-notice.is-error,
.sfc-co-booking-choice-card .sfc-co-booking-notice.is-error {
	border-color: #efb1b1;
	background: #fff2f2;
	color: #8f2929;
}

.sfc-co-booking-confirmation,
.sfc-co-booking-success {
	padding: clamp(22px, 3vw, 40px) 0;
}

.sfc-co-booking-step-heading {
	margin-bottom: 32px;
	text-align: center;
}

.sfc-co-booking-step-heading h2 {
	font-size: clamp(34px, 4vw, 48px);
}

.sfc-co-booking-confirm-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr);
	align-items: start;
	gap: 32px;
}

.sfc-co-booking-summary-card,
.sfc-co-booking-choice-card,
.sfc-co-booking-success-card {
	border: 1px solid var(--sfc-co-border);
	border-radius: 14px;
	background: var(--sfc-co-cream);
}

.sfc-co-booking-summary-card,
.sfc-co-booking-choice-card {
	padding: clamp(24px, 3vw, 34px);
}

.sfc-co-booking-card-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 16px;
}

.sfc-co-booking-card-title h3,
.sfc-co-booking-choice-card h3,
.sfc-co-booking-success-card h3 {
	color: #c17f53;
	font-family: var(--sfc-co-font-family, Montserrat, Arial, sans-serif);
	font-size: 24px;
	font-weight: 400;
}

.sfc-co-booking-card-title button {
	padding: 9px 15px;
	border: 1px solid #ceb7a8;
	border-radius: 6px;
	background: var(--sfc-co-color-surface, #fff);
	color: var(--sfc-co-brown);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.sfc-co-booking-summary-card dl > div,
.sfc-co-booking-success-card dl > div {
	display: grid;
	grid-template-columns: minmax(130px, 0.75fr) minmax(0, 1.25fr);
	gap: 20px;
	padding: 17px 0;
	border-bottom: 1px solid var(--sfc-co-color-border, #D1D5DB);
}

.sfc-co-booking-summary-card dd,
.sfc-co-booking-success-card dd {
	color: var(--sfc-co-brown);
	font-weight: 600;
	text-align: right;
}

.sfc-co-booking-terms-note {
	padding-top: 20px;
	color: var(--sfc-co-muted);
	font-size: 11px;
}

.sfc-co-booking-choice-card h3 {
	margin-bottom: 20px;
}

.sfc-co-booking-choice-card dl {
	display: grid;
	gap: 13px;
	margin-bottom: 25px;
}

.sfc-co-booking-choice-card dt {
	margin-bottom: 2px;
	font-size: 12px;
}

.sfc-co-booking-choice-card dd {
	color: var(--sfc-co-brown);
	font-size: 12px;
	font-weight: 600;
}

.sfc-co-booking-success {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}

.sfc-co-booking-success-icon {
	display: grid;
	width: 70px;
	height: 70px;
	place-items: center;
	margin: 0 auto 24px;
	border-radius: 50%;
	background: var(--sfc-co-brown);
	color: var(--sfc-co-color-surface, #fff);
	font-family: var(--sfc-co-font-family, Montserrat, Arial, sans-serif);
	font-size: 31px;
}

.sfc-co-booking-success > h2 {
	font-size: clamp(38px, 5vw, 54px);
}

.sfc-co-booking-success > p {
	margin: 10px 0 32px;
	color: var(--sfc-co-muted);
}

.sfc-co-booking-success-card {
	padding: clamp(25px, 4vw, 38px);
	text-align: left;
}

.sfc-co-booking-success-card h3 {
	margin-bottom: 8px;
}

.sfc-co-booking-success-card > p {
	margin-top: 20px;
	color: var(--sfc-co-muted);
	font-size: 12px;
}

.sfc-co-booking-success-actions {
	display: flex;
	justify-content: center;
	gap: 14px;
	margin-top: 28px;
}

.sfc-co-booking-success-actions a {
	display: inline-flex;
	min-width: 200px;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border: 1px solid #ceb9ac;
	border-radius: 6px;
	color: var(--sfc-co-brown);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
}

.sfc-co-booking-success-actions a.is-primary {
	border-color: var(--sfc-co-brown);
	background: var(--sfc-co-brown);
	color: var(--sfc-co-color-surface, #fff);
}

@keyframes sfc-co-spin {
	to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
	.sfc-co-booking-shell.has-image {
		grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
	}

	.sfc-co-booking-panel {
		padding: 34px;
	}

	.sfc-co-booking-confirm-grid {
		grid-template-columns: 1fr;
	}

	.sfc-co-booking-choice-card {
		max-width: none;
	}
}

@media (max-width: 700px) {
	.sfc-co-booking {
		font-size: 13px;
	}

	.sfc-co-booking-shell {
		display: flex;
		min-height: 0;
		flex-direction: column;
		border-radius: 12px;
	}

	.sfc-co-booking-panel,
	.sfc-co-booking-standalone .sfc-co-booking-panel {
		padding: 28px 20px;
	}

	.sfc-co-booking-image {
		height: 250px;
		order: -1;
	}

	.sfc-co-booking-heading {
		margin-bottom: 26px;
	}

	.sfc-co-booking-grid,
	.sfc-co-booking-service-row {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.sfc-co-booking-price {
		min-height: 0;
		padding-bottom: 0;
	}

	.sfc-co-booking-page {
		padding: 38px 15px 60px;
	}

	.sfc-co-booking-standalone .sfc-co-booking-intro {
		margin-bottom: 25px;
	}

	.sfc-co-booking-confirmation,
	.sfc-co-booking-success {
		padding: 10px 0 30px;
	}

	.sfc-co-booking-card-title {
		align-items: flex-start;
		flex-direction: column;
	}

	.sfc-co-booking-summary-card,
	.sfc-co-booking-choice-card,
	.sfc-co-booking-success-card {
		padding: 22px 18px;
	}

	.sfc-co-booking-summary-card dl > div,
	.sfc-co-booking-success-card dl > div {
		grid-template-columns: 1fr;
		gap: 5px;
	}

	.sfc-co-booking-summary-card dd,
	.sfc-co-booking-success-card dd {
		text-align: left;
	}

	.sfc-co-booking-success-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.sfc-co-booking-success-actions a {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sfc-co-booking *,
	.sfc-co-booking *::before,
	.sfc-co-booking *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}


/* Niraplast brand refresh */
:root {
  --sfc-co-brown: var(--sfc-co-color-primary, #D71920);
  --sfc-co-brown-dark: var(--sfc-co-color-primary-hover, #A91219);
  --sfc-co-gold: var(--sfc-co-color-primary, #D71920);
  --sfc-co-copper: var(--sfc-co-color-primary, #D71920);
  --sfc-co-peach: var(--sfc-co-color-border-subtle, #E5E7EB);
  --sfc-co-cream: var(--sfc-co-color-surface-muted, #F3F4F6);
  --sfc-co-surface: var(--sfc-co-color-surface, #FFFFFF);
  --sfc-co-line: var(--sfc-co-color-border, #D1D5DB);
  --sfc-co-border: var(--sfc-co-color-border, #D1D5DB);
  --sfc-co-text: #202124;
  --sfc-co-muted: #626B75;
  --sfc-co-shadow: 0 12px 35px rgba(20, 25, 30, .08);
}
html, body.sfc-co-body { font-family: var(--sfc-co-font-family, Montserrat, Arial, sans-serif); font-size: 16px !important; background: var(--sfc-co-color-surface-muted, #F3F4F6) !important; }
.sfc-co-app, .sfc-co-app * { font-family: var(--sfc-co-font-family, Montserrat, Arial, sans-serif); }
.sfc-co-app { font-size: 16px; }
.sfc-co-app button, .sfc-co-app input, .sfc-co-app select, .sfc-co-app textarea { font-size: max(14px, 1em); }
.sfc-co-app small, .sfc-co-app .sfc-co-muted, .sfc-co-app .sfc-co-field-label { font-size: max(14px, .875em); }
.sfc-co-app button, .sfc-co-btn-primary, .sfc-co-btn { background-color: var(--sfc-co-brown) ; border-color: var(--sfc-co-brown); }
.sfc-co-app button:hover, .sfc-co-btn-primary:hover { background-color: var(--sfc-co-brown-dark); border-color: var(--sfc-co-brown-dark); }
.sfc-co-app .sfc-co-btn-outline, .sfc-co-app .sfc-co-text-btn { background: var(--sfc-co-color-surface, #fff); color: var(--sfc-co-brown); border-color: var(--sfc-co-color-border, #D1D5DB); }
.sfc-co-app input, .sfc-co-app select, .sfc-co-app textarea,
.sfc-co-app .sfc-co-card, .sfc-co-app .sfc-co-bookings-table-wrap,
.sfc-co-app .sfc-co-booking-filters, .sfc-co-app .sfc-co-modal-panel { border-color: var(--sfc-co-color-border, #D1D5DB) !important; }
.sfc-co-app .sfc-co-view-switch { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--sfc-co-color-border, #D1D5DB); border-radius: 10px; background: var(--sfc-co-color-border-subtle, #E5E7EB); }
.sfc-co-app .sfc-co-view-switch button { min-height: 42px; padding: 8px 18px; border: 0; border-radius: 7px; background: transparent !important; color: #4B5563 !important; font-size: 14px; font-weight: 600; }
.sfc-co-app .sfc-co-view-switch button.is-active { background: var(--sfc-co-color-surface, #FFFFFF) !important; color: #202124 !important; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.sfc-co-app .sfc-co-view-switch button:hover { color: var(--sfc-co-color-primary, #D71920) !important; }
.sfc-co-app .sfc-co-toolbar-left { flex-wrap: wrap; }
.sfc-co-app .sfc-co-page-title h1 { font-family: var(--sfc-co-font-family, Montserrat, Arial, sans-serif); font-size: 26px; font-weight: 600; color: #202124; }
.sfc-co-app .sfc-co-page-title p { font-size: 16px; color: #626B75; }
.sfc-co-app .sfc-co-nav a, .sfc-co-app .sfc-co-nav button { font-size: 16px; }
.sfc-co-app .sfc-co-filter-notice, .sfc-co-app .sfc-co-empty { font-size: 16px; }


/* Niraplast 2.0.1 visual corrections */
:root{--sfc-co-brown:var(--sfc-co-color-primary, #D71920);--sfc-co-brown-dark:var(--sfc-co-color-primary-hover, #B5161C);--sfc-co-gold:var(--sfc-co-color-primary, #D71920);--sfc-co-peach:var(--sfc-co-color-border-subtle, #E5E7EB);--sfc-co-cream:var(--sfc-co-color-surface-muted, #F3F4F6);--sfc-co-line:var(--sfc-co-color-border, #D1D5DB);--sfc-co-danger:var(--sfc-co-color-primary, #D71920)}
.sfc-co-body,.sfc-co-app,.sfc-co-admin,.sfc-co-page{background:var(--sfc-co-color-surface-muted, #F3F4F6)}
.sfc-co-header,.sfc-co-nav,.sfc-co-card,.sfc-co-panel{background-color:var(--sfc-co-color-surface, #fff)}
.sfc-co-header a:hover,.sfc-co-nav a:hover,.sfc-co-header button:hover{color:var(--sfc-co-color-primary, #D71920)!important;background:var(--sfc-co-color-surface-muted, #F3F4F6)!important;text-decoration:none!important}
.sfc-co-header .is-active,.sfc-co-nav .is-active{background:var(--sfc-co-color-surface-muted, #F3F4F6)!important;color:var(--sfc-co-color-primary, #D71920)!important}
.sfc-co-view-switch button,.sfc-co-tabs button,.sfc-co-work-tabs button,.sfc-co-hours-tabs button,.sfc-co-toolbar button[data-view]{background:var(--sfc-co-color-surface-muted, #F3F4F6)!important;color:#475569!important;border-color:var(--sfc-co-color-border, #D1D5DB)!important}
.sfc-co-view-switch button.is-active,.sfc-co-tabs button.is-active,.sfc-co-work-tabs button.is-active,.sfc-co-hours-tabs button.is-active,.sfc-co-toolbar button[data-view].is-active{background:var(--sfc-co-color-surface, #fff)!important;color:var(--sfc-co-color-text, #172B3A)!important;border-color:var(--sfc-co-color-border, #D1D5DB)!important;box-shadow:0 1px 2px rgba(15,23,42,.08)}
.sfc-co-calendar-day,.sfc-co-day,.sfc-co-calendar-cell,.sfc-co-month-day{background:var(--sfc-co-color-surface, #fff);color:var(--sfc-co-color-text, #172B3A)}
.sfc-co-calendar-day:hover,.sfc-co-day:hover,.sfc-co-calendar-cell:hover,.sfc-co-month-day:hover{background:var(--sfc-co-color-surface-muted, #F3F4F6)}
.sfc-co-calendar-day.is-today,.sfc-co-day.is-today,.sfc-co-calendar-cell.is-today,.sfc-co-month-day.is-today{background:var(--sfc-co-color-border-subtle, #E5E7EB);border-color:var(--sfc-co-color-primary, #D71920)}
.sfc-co-button-primary,.sfc-co-btn-primary,button.sfc-co-primary{background:var(--sfc-co-color-primary, #D71920);border-color:var(--sfc-co-color-primary, #D71920)}
.sfc-co-button-primary:hover,.sfc-co-btn-primary:hover,button.sfc-co-primary:hover{background:var(--sfc-co-color-primary-hover, #B5161C);border-color:var(--sfc-co-color-primary-hover, #B5161C)}
.sfc-co-user,.sfc-co-user-card{background:var(--sfc-co-color-surface-muted, #F3F4F6)!important;color:var(--sfc-co-color-text, #172B3A)!important}
.sfc-co-body,.sfc-co-body button,.sfc-co-body input,.sfc-co-body select,.sfc-co-body textarea,.sfc-co-app,.sfc-co-app button,.sfc-co-app input,.sfc-co-app select,.sfc-co-app textarea{font-family: var(--sfc-co-font-family, Montserrat, Arial, sans-serif);
}
.sfc-co-header { border-bottom: 1px solid var(--sfc-co-color-border-subtle, #E5E7EB) !important; box-shadow: none !important; }
.sfc-co-header nav button:hover,
.sfc-co-header nav a:hover,
.sfc-co-header nav button:focus-visible,
.sfc-co-header nav a:focus-visible {
  background: var(--sfc-co-color-surface-muted, #F3F4F6) !important; color: #374151 !important; box-shadow: none !important;
}
.sfc-co-header nav button.is-active,
.sfc-co-header nav button[aria-current="page"] {
  background: var(--sfc-co-color-surface-muted, #F9FAFB) !important; color: var(--sfc-co-color-primary, #D71920) !important;
}
.sfc-co-header .sfc-co-user,
.sfc-co-header .sfc-co-user-card { background: var(--sfc-co-color-surface-muted, #F9FAFB) !important; border-radius: 8px; }

/* Use red as an accent, not as a surface color. */
.sfc-co-toolbar button,
.sfc-co-toolbar a,
.sfc-co-modal button,
.sfc-co-work-tabs button,
.sfc-co-hours-tabs button,
.sfc-co-view-switch button {
  transition: background-color .15s ease, border-color .15s ease, color .15s ease !important;
  box-shadow: none !important;
}
.sfc-co-toolbar button:hover,
.sfc-co-modal button:hover,
.sfc-co-work-tabs button:hover,
.sfc-co-hours-tabs button:hover,
.sfc-co-view-switch button:hover {
  filter: none !important;
  transform: none !important;
  box-shadow: none !important;
}
.sfc-co-toolbar button:not(.sfc-co-button-primary):not(.sfc-co-btn-primary):hover,
.sfc-co-modal button:not(.sfc-co-button-primary):not(.sfc-co-btn-primary):hover {
  background: var(--sfc-co-color-surface-muted, #F3F4F6) !important; color: #374151 !important; border-color: var(--sfc-co-color-border, #D1D5DB) !important;
}
.sfc-co-toolbar .sfc-co-button-primary,
.sfc-co-toolbar .sfc-co-btn-primary,
.sfc-co-modal .sfc-co-button-primary,
.sfc-co-modal .sfc-co-btn-primary {
  background: var(--sfc-co-color-primary, #D71920) !important; color: var(--sfc-co-color-surface, #fff) !important; border-color: var(--sfc-co-color-primary, #D71920) !important;
}
.sfc-co-toolbar .sfc-co-button-primary:hover,
.sfc-co-toolbar .sfc-co-btn-primary:hover,
.sfc-co-modal .sfc-co-button-primary:hover,
.sfc-co-modal .sfc-co-btn-primary:hover {
  background: var(--sfc-co-color-primary-hover, #B5161C) !important; color: var(--sfc-co-color-surface, #fff) !important; border-color: var(--sfc-co-color-primary-hover, #B5161C) !important;
}

/* Calendar: clean neutral days with restrained red accents. */
.sfc-co-calendar-day,
.sfc-co-day,
.sfc-co-calendar-cell,
.sfc-co-month-day,
.sfc-co-calendar-grid button,
.sfc-co-calendar-grid [role="button"] {
  background: var(--sfc-co-color-surface, #fff) !important;
  color: #1F2937 !important;
  border-color: var(--sfc-co-color-border, #D1D5DB) !important;
}
.sfc-co-calendar-day:hover,
.sfc-co-day:hover,
.sfc-co-calendar-cell:hover,
.sfc-co-month-day:hover,
.sfc-co-calendar-grid button:hover,
.sfc-co-calendar-grid [role="button"]:hover {
  background: var(--sfc-co-color-surface-muted, #F9FAFB) !important;
  border-color: #9CA3AF !important;
}
.sfc-co-calendar-day.is-today,
.sfc-co-day.is-today,
.sfc-co-calendar-cell.is-today,
.sfc-co-month-day.is-today,
.sfc-co-calendar-grid .is-today {
  background: #FFF7F7 !important;
  border: 1px solid var(--sfc-co-color-primary, #D71920) !important;
  color: #1F2937 !important;
}
.sfc-co-calendar-day.is-selected,
.sfc-co-day.is-selected,
.sfc-co-calendar-cell.is-selected,
.sfc-co-month-day.is-selected,
.sfc-co-calendar-grid .is-selected {
  background: #FEE2E2 !important;
  border-color: var(--sfc-co-color-primary, #D71920) !important;
  color: #7F1D1D !important;
}
.sfc-co-calendar-day.is-outside-month,
.sfc-co-day.is-outside-month,
.sfc-co-calendar-cell.is-outside-month,
.sfc-co-month-day.is-outside-month {
  background: var(--sfc-co-color-surface-muted, #F9FAFB) !important; color: #9CA3AF !important;
}
.sfc-co-calendar-day .sfc-co-event,
.sfc-co-day .sfc-co-event,
.sfc-co-calendar-cell .sfc-co-event,
.sfc-co-month-day .sfc-co-event {
  background: #FEE2E2 !important; color: var(--sfc-co-color-danger, #991B1B) !important; border-left-color: var(--sfc-co-color-primary, #D71920) !important;
}

/* Calendar navigation arrows: neutral icons and clear hover/focus states. */
.sfc-co-toolbar button[aria-label*="след"],
.sfc-co-toolbar button[aria-label*="пред"],
.sfc-co-toolbar button[aria-label*="Next"],
.sfc-co-toolbar button[aria-label*="Previous"],
.sfc-co-toolbar .sfc-co-prev,
.sfc-co-toolbar .sfc-co-next,
.sfc-co-toolbar .sfc-co-nav-arrow {
  background: var(--sfc-co-color-surface, #fff) !important; color: #374151 !important; border: 1px solid var(--sfc-co-color-border, #D1D5DB) !important;
}
.sfc-co-toolbar button[aria-label*="след"] svg,
.sfc-co-toolbar button[aria-label*="пред"] svg,
.sfc-co-toolbar button[aria-label*="Next"] svg,
.sfc-co-toolbar button[aria-label*="Previous"] svg,
.sfc-co-toolbar .sfc-co-prev svg,
.sfc-co-toolbar .sfc-co-next svg,
.sfc-co-toolbar .sfc-co-nav-arrow svg { stroke: currentColor !important; color: inherit !important; }
.sfc-co-toolbar button[aria-label*="след"]:hover,
.sfc-co-toolbar button[aria-label*="пред"]:hover,
.sfc-co-toolbar button[aria-label*="Next"]:hover,
.sfc-co-toolbar button[aria-label*="Previous"]:hover,
.sfc-co-toolbar .sfc-co-prev:hover,
.sfc-co-toolbar .sfc-co-next:hover,
.sfc-co-toolbar .sfc-co-nav-arrow:hover { background: var(--sfc-co-color-surface-muted, #F3F4F6) !important; color: var(--sfc-co-color-primary, #D71920) !important; }

/* Modal close control: only a larger X, no colored square. */
.sfc-co-modal-close,
.sfc-co-modal .sfc-co-modal-close,
.sfc-co-modal button[aria-label="Close"],
.sfc-co-modal button[aria-label="Затвори"] {
  background: transparent !important; border: 0 !important; box-shadow: none !important;
  color: #4B5563 !important; font-size: 28px !important; font-weight: 400 !important;
  line-height: 1 !important; width: 40px !important; height: 40px !important;
  min-width: 40px !important; padding: 0 !important; border-radius: 0 !important;
}
.sfc-co-modal-close:hover,
.sfc-co-modal button[aria-label="Close"]:hover,
.sfc-co-modal button[aria-label="Затвори"]:hover {
  background: transparent !important; color: var(--sfc-co-color-primary, #D71920) !important;
}

/* Avoid uppercase transformation of localized month labels. */
.sfc-co-toolbar,
.sfc-co-toolbar *,
.sfc-co-calendar-title,
.sfc-co-month-title { text-transform: none !important; }

/* Montserrat and consistent field dimensions, including time inputs. */
.sfc-co-app, .sfc-co-app *, .sfc-co-modal, .sfc-co-modal *,
.sfc-co-admin, .sfc-co-admin *, .sfc-co-hours, .sfc-co-hours * {
  font-family: var(--sfc-co-font-family, Montserrat, Arial, sans-serif);
}
.sfc-co-app input:not([type="checkbox"]):not([type="radio"]),
.sfc-co-app select, .sfc-co-app textarea,
.sfc-co-modal input:not([type="checkbox"]):not([type="radio"]),
.sfc-co-modal select, .sfc-co-modal textarea,
.sfc-co-admin input:not([type="checkbox"]):not([type="radio"]),
.sfc-co-admin select, .sfc-co-admin textarea,
.sfc-co-hours input:not([type="checkbox"]):not([type="radio"]),
.sfc-co-hours select, .sfc-co-hours textarea {
  box-sizing: border-box !important;
  min-height: 42px !important;
  padding: 10px 12px !important;
  border: 1px solid var(--sfc-co-color-border, #CBD5E1) !important;
  border-radius: 8px !important;
  background-color: var(--sfc-co-color-surface, #fff) !important;
  color: #1F2937 !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
}
.sfc-co-app input[type="time"],
.sfc-co-modal input[type="time"],
.sfc-co-admin input[type="time"],
.sfc-co-hours input[type="time"] {
  min-width: 118px !important; width: 118px !important;
  padding: 8px 10px !important; font-size: 16px !important;
}
.sfc-co-app input:focus, .sfc-co-app select:focus, .sfc-co-app textarea:focus,
.sfc-co-modal input:focus, .sfc-co-modal select:focus, .sfc-co-modal textarea:focus,
.sfc-co-admin input:focus, .sfc-co-admin select:focus, .sfc-co-admin textarea:focus,
.sfc-co-hours input:focus, .sfc-co-hours select:focus, .sfc-co-hours textarea:focus {
  outline: 2px solid rgba(215,25,32,.18) !important;
  border-color: var(--sfc-co-color-primary, #D71920) !important;
}
.sfc-co-hours .sfc-co-day-row,
.sfc-co-hours .sfc-co-hours-row { font-family: var(--sfc-co-font-family, Montserrat, Arial, sans-serif); }
.sfc-co-hours .sfc-co-day-row label,
.sfc-co-hours .sfc-co-hours-row label { font-family: var(--sfc-co-font-family, Montserrat, Arial, sans-serif); font-size: 16px !important; }


/* Niraplast logo */
.sfc-co-niraplast-logo {
  display: block !important;
  width: auto !important;
  max-width: 190px !important;
  max-height: 54px !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: left center !important;
}
.sfc-co-header .sfc-co-niraplast-logo { margin: 0 !important; }
.sfc-co-header .sfc-co-brand,
.sfc-co-header .sfc-co-logo,
.sfc-co-header .sfc-co-site-title { display: flex; align-items: center; }


/* 2.0.4: soften calendar week/day header */
.sfc-co-calendar-grid thead th,
.sfc-co-calendar-grid .sfc-co-weekday,
.sfc-co-calendar-grid .sfc-co-day-header,
.sfc-co-calendar-header,
.sfc-co-week-header,
.sfc-co-day-header,
.sfc-co-calendar-grid [role="columnheader"] {
  background: var(--sfc-co-color-surface-muted, #F3F4F6) !important;
  color: #374151 !important;
  border-color: var(--sfc-co-color-border-subtle, #E5E7EB) !important;
}
.sfc-co-calendar-grid thead th:first-child,
.sfc-co-calendar-header:first-child,
.sfc-co-week-header:first-child {
  background: var(--sfc-co-color-surface, #fff) !important;
}
.sfc-co-calendar-grid thead th,
.sfc-co-calendar-grid .sfc-co-weekday,
.sfc-co-calendar-grid .sfc-co-day-header,
.sfc-co-week-header,
.sfc-co-day-header {
  font-weight: 500 !important;
}


/* 2.0.5: information/help icon should not be a red filled button */
.sfc-co-toolbar button[aria-label*="информация" i],
.sfc-co-toolbar button[aria-label*="info" i],
.sfc-co-toolbar button[title*="информация" i],
.sfc-co-toolbar button[title*="info" i],
.sfc-co-toolbar .sfc-co-info,
.sfc-co-toolbar .sfc-co-help,
.sfc-co-toolbar .sfc-co-info-button,
.sfc-co-toolbar button:has(svg[data-lucide="info"]),
.sfc-co-toolbar button:has(svg.lucide-info) {
  background: transparent !important;
  background-color: transparent !important;
  color: var(--sfc-co-color-muted, #6B7280) !important;
  border: 1px solid var(--sfc-co-color-border, #D1D5DB) !important;
  box-shadow: none !important;
}
.sfc-co-toolbar button[aria-label*="информация" i]:hover,
.sfc-co-toolbar button[aria-label*="info" i]:hover,
.sfc-co-toolbar button[title*="информация" i]:hover,
.sfc-co-toolbar button[title*="info" i]:hover,
.sfc-co-toolbar .sfc-co-info:hover,
.sfc-co-toolbar .sfc-co-help:hover,
.sfc-co-toolbar .sfc-co-info-button:hover,
.sfc-co-toolbar button:has(svg[data-lucide="info"]):hover,
.sfc-co-toolbar button:has(svg.lucide-info):hover {
  background: var(--sfc-co-color-surface-muted, #F3F4F6) !important;
  color: #374151 !important;
  border-color: #9CA3AF !important;
}


/* 2.0.6: use Montserrat consistently; no Montserrat, Arial, sans-serif fallbacks */
.sfc-co-app, .sfc-co-app *, .sfc-co-admin, .sfc-co-admin *,
.sfc-co-modal, .sfc-co-modal *, .sfc-co-hours, .sfc-co-hours *,
.sfc-co-header, .sfc-co-header *, .sfc-co-booking, .sfc-co-booking * {
  font-family: var(--sfc-co-font-family, Montserrat, Arial, sans-serif);
}


/* 2.0.7: constrain Niraplast logo to the header brand slot */
.sfc-co-header .sfc-co-niraplast-logo,
.sfc-co-header .sfc-co-brand img,
.sfc-co-header .sfc-co-logo img,
.sfc-co-header img[alt="Niraplast"] {
  display: block !important;
  width: 170px !important;
  max-width: 170px !important;
  height: auto !important;
  max-height: 54px !important;
  object-fit: contain !important;
  object-position: left center !important;
}
.sfc-co-header .sfc-co-brand,
.sfc-co-header .sfc-co-logo,
.sfc-co-header .sfc-co-site-title {
  display: flex !important;
  align-items: center !important;
  width: 210px !important;
  min-width: 210px !important;
  max-width: 210px !important;
  height: 72px !important;
  overflow: hidden !important;
  flex: 0 0 210px !important;
}
.sfc-co-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 80px !important;
  height: auto !important;
  overflow: hidden !important;
}
.sfc-co-header nav,
.sfc-co-header .sfc-co-nav {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  align-self: stretch !important;
}
.sfc-co-header .sfc-co-user,
.sfc-co-header .sfc-co-user-card {
  flex: 0 0 auto !important;
  margin-left: 16px !important;
}
@media (max-width: 760px) {
  .sfc-co-header .sfc-co-niraplast-logo,
  .sfc-co-header .sfc-co-brand img,
  .sfc-co-header .sfc-co-logo img,
  .sfc-co-header img[alt="Niraplast"] {
    width: 132px !important;
    max-width: 132px !important;
    max-height: 44px !important;
  }
  .sfc-co-header .sfc-co-brand,
  .sfc-co-header .sfc-co-logo,
  .sfc-co-header .sfc-co-site-title {
    width: 145px !important;
    min-width: 145px !important;
    max-width: 145px !important;
    height: 60px !important;
    flex-basis: 145px !important;
  }
}


/* Niraplast Calendar 2.0.8 — targeted visual cleanup */

/* Icon-only controls: neutral gray by default, red icon only on hover. */
.sfc-co-toolbar button:has(svg),
.sfc-co-toolbar a:has(svg),
.sfc-co-toolbar .sfc-co-icon-btn,
.sfc-co-toolbar .sfc-co-info,
.sfc-co-toolbar .sfc-co-help,
.sfc-co-toolbar .sfc-co-nav-arrow,
.sfc-co-toolbar .sfc-co-prev,
.sfc-co-toolbar .sfc-co-next {
  background: transparent !important;
  background-color: transparent !important;
  color: var(--sfc-co-color-muted, #6B7280) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
.sfc-co-toolbar button:has(svg) svg,
.sfc-co-toolbar a:has(svg) svg,
.sfc-co-toolbar .sfc-co-icon-btn svg,
.sfc-co-toolbar .sfc-co-info svg,
.sfc-co-toolbar .sfc-co-help svg,
.sfc-co-toolbar .sfc-co-nav-arrow svg,
.sfc-co-toolbar .sfc-co-prev svg,
.sfc-co-toolbar .sfc-co-next svg {
  color: currentColor !important;
  stroke: currentColor !important;
}
.sfc-co-toolbar button:has(svg):hover,
.sfc-co-toolbar a:has(svg):hover,
.sfc-co-toolbar .sfc-co-icon-btn:hover,
.sfc-co-toolbar .sfc-co-info:hover,
.sfc-co-toolbar .sfc-co-help:hover,
.sfc-co-toolbar .sfc-co-nav-arrow:hover,
.sfc-co-toolbar .sfc-co-prev:hover,
.sfc-co-toolbar .sfc-co-next:hover {
  background: transparent !important;
  background-color: transparent !important;
  color: var(--sfc-co-color-primary, #D71920) !important;
  border-color: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
}

/* Stop red-on-red hover treatments on the Team/Staff screen buttons. */
.sfc-co-app button:hover,
.sfc-co-admin button:hover,
.sfc-co-app .sfc-co-btn:hover,
.sfc-co-admin .sfc-co-btn:hover {
  box-shadow: none !important;
  filter: none !important;
}
.sfc-co-app button:not(.sfc-co-button-primary):not(.sfc-co-btn-primary):not(.sfc-co-primary):hover,
.sfc-co-admin button:not(.sfc-co-button-primary):not(.sfc-co-btn-primary):not(.sfc-co-primary):hover {
  background-color: var(--sfc-co-color-surface-muted, #F3F4F6) !important;
  color: #374151 !important;
  border-color: var(--sfc-co-color-border, #D1D5DB) !important;
}
.sfc-co-app .sfc-co-button-primary:hover,
.sfc-co-app .sfc-co-btn-primary:hover,
.sfc-co-app .sfc-co-primary:hover,
.sfc-co-admin .sfc-co-button-primary:hover,
.sfc-co-admin .sfc-co-btn-primary:hover,
.sfc-co-admin .sfc-co-primary:hover {
  background-color: var(--sfc-co-color-primary-hover, #B5161C) !important;
  color: var(--sfc-co-color-surface, #fff) !important;
  border-color: var(--sfc-co-color-primary-hover, #B5161C) !important;
}

/* Field labels must be readable, not tiny uppercase helper text. */
.sfc-co-app label,
.sfc-co-admin label,
.sfc-co-modal label,
.sfc-co-booking-filters label,
.sfc-co-app .sfc-co-field-label,
.sfc-co-admin .sfc-co-field-label,
.sfc-co-app .sfc-co-form-label,
.sfc-co-admin .sfc-co-form-label {
  color: #4B5563 !important;
  font-family: var(--sfc-co-font-family, Montserrat, Arial, sans-serif);
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  letter-spacing: .01em !important;
}
.sfc-co-app small,
.sfc-co-admin small,
.sfc-co-app .sfc-co-muted,
.sfc-co-admin .sfc-co-muted {
  font-size: 14px !important;
  line-height: 1.45 !important;
}

/* All input borders neutral gray, never beige. */
.sfc-co-app input:not([type=checkbox]):not([type=radio]),
.sfc-co-app select,
.sfc-co-app textarea,
.sfc-co-admin input:not([type=checkbox]):not([type=radio]),
.sfc-co-admin select,
.sfc-co-admin textarea,
.sfc-co-modal input:not([type=checkbox]):not([type=radio]),
.sfc-co-modal select,
.sfc-co-modal textarea,
.sfc-co-hours input:not([type=checkbox]):not([type=radio]),
.sfc-co-hours select,
.sfc-co-hours textarea {
  border-color: var(--sfc-co-color-border, #CBD5E1) !important;
  border-radius: 8px !important;
  background: var(--sfc-co-color-surface, #fff) !important;
  color: #1F2937 !important;
  box-sizing: border-box !important;
}

/* Working-hours rows: keep day, time fields and rest-day toggle in separate zones. */
.sfc-co-hours-row,
.sfc-co-day-row,
.sfc-co-hours .sfc-co-hours-row,
.sfc-co-hours .sfc-co-day-row {
  display: grid !important;
  grid-template-columns: minmax(130px, 1fr) minmax(250px, 270px) minmax(110px, 1fr) !important;
  align-items: center !important;
  column-gap: 18px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.sfc-co-hours-row .sfc-co-hour-inputs,
.sfc-co-day-row .sfc-co-hour-inputs,
.sfc-co-hours-row .sfc-co-time-fields,
.sfc-co-day-row .sfc-co-time-fields {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 250px !important;
}
.sfc-co-hours-row input[type="time"],
.sfc-co-day-row input[type="time"] {
  width: 118px !important;
  min-width: 118px !important;
  max-width: 118px !important;
  flex: 0 0 118px !important;
  padding: 8px 10px !important;
  font-size: 16px !important;
}
.sfc-co-hours-row input[type="checkbox"],
.sfc-co-day-row input[type="checkbox"],
.sfc-co-hours-row .sfc-co-toggle,
.sfc-co-day-row .sfc-co-toggle,
.sfc-co-hours-row .sfc-co-switch,
.sfc-co-day-row .sfc-co-switch {
  justify-self: end !important;
  margin-left: auto !important;
}
.sfc-co-hours-row .sfc-co-rest-day,
.sfc-co-day-row .sfc-co-rest-day,
.sfc-co-hours-row label:has(input[type="checkbox"]),
.sfc-co-day-row label:has(input[type="checkbox"]) {
  justify-self: end !important;
  text-align: right !important;
  margin-left: auto !important;
}
@media (max-width: 760px) {
  .sfc-co-hours-row,
  .sfc-co-day-row,
  .sfc-co-hours .sfc-co-hours-row,
  .sfc-co-hours .sfc-co-day-row {
    grid-template-columns: 1fr !important;
    row-gap: 10px !important;
  }
  .sfc-co-hours-row input[type="time"],
  .sfc-co-day-row input[type="time"] {
    width: 118px !important;
    min-width: 118px !important;
  }
}

/* Wider technician filter so the selected text does not collide with the arrow. */
.sfc-co-toolbar select,
.sfc-co-toolbar .sfc-co-select,
.sfc-co-toolbar-left select,
.sfc-co-toolbar-right select {
  min-width: 190px !important;
  padding-right: 36px !important;
}
.sfc-co-toolbar .sfc-co-toolbar-right select,
.sfc-co-toolbar-right .sfc-co-select {
  width: 190px !important;
  max-width: 220px !important;
}


/* Niraplast Calendar 2.0.9 — neutral calendar defaults, red only for interaction */

/* Month view: ordinary days should be white with neutral borders. */
.sfc-co-calendar .fc-daygrid-day,
.sfc-co-calendar .fc-daygrid-day-frame,
.sfc-co-calendar .fc-daygrid-day-top,
.sfc-co-calendar .fc-daygrid-day-events,
.sfc-co-calendar .fc-daygrid-day-bg,
.sfc-co-calendar .fc-daygrid-day-number,
.sfc-co-calendar .fc-scrollgrid,
.sfc-co-calendar .fc-scrollgrid-section > td,
.sfc-co-calendar .fc-scrollgrid-section > th {
  background-color: var(--sfc-co-color-surface, #FFFFFF) !important;
}
.sfc-co-calendar .fc-daygrid-day {
  border-color: var(--sfc-co-color-border-subtle, #E5E7EB) !important;
}
.sfc-co-calendar .fc-daygrid-day-number {
  color: #374151 !important;
  border-radius: 6px !important;
  padding: 5px 7px !important;
}
.sfc-co-calendar .fc-daygrid-day:hover,
.sfc-co-calendar .fc-daygrid-day:hover .fc-daygrid-day-frame {
  background-color: #FFF5F5 !important;
}
.sfc-co-calendar .fc-daygrid-day:hover .fc-daygrid-day-number {
  color: var(--sfc-co-color-primary, #D71920) !important;
}
.sfc-co-calendar .fc-day-today,
.sfc-co-calendar .fc-day-today .fc-daygrid-day-frame {
  background-color: #FFF7F7 !important;
}
.sfc-co-calendar .fc-day-today .fc-daygrid-day-number {
  color: var(--sfc-co-color-primary, #D71920) !important;
  font-weight: 700 !important;
}
.sfc-co-calendar .fc-day-other .fc-daygrid-day-number {
  color: #9CA3AF !important;
}

/* Neutral weekday header row; use red only as an interaction accent. */
.sfc-co-calendar .fc-col-header-cell,
.sfc-co-calendar .fc-col-header-cell-cushion,
.sfc-co-calendar .fc-daygrid-week-number,
.sfc-co-calendar .fc-list-day-cushion {
  background: var(--sfc-co-color-surface-muted, #F3F4F6) !important;
  color: #374151 !important;
  border-color: var(--sfc-co-color-border-subtle, #E5E7EB) !important;
}
.sfc-co-calendar .fc-col-header-cell-cushion {
  font-weight: 500 !important;
  text-decoration: none !important;
}
.sfc-co-calendar .fc-col-header-cell:hover,
.sfc-co-calendar .fc-col-header-cell:hover .fc-col-header-cell-cushion {
  background: var(--sfc-co-color-surface-muted, #F3F4F6) !important;
  color: var(--sfc-co-color-primary, #D71920) !important;
}

/* Override common custom month calendar day tiles. */
.sfc-co-calendar .sfc-co-calendar-day,
.sfc-co-calendar .sfc-co-day-cell,
.sfc-co-calendar .sfc-co-month-day,
.sfc-co-calendar .sfc-co-day-card,
.sfc-co-calendar .sfc-co-calendar-cell,
.sfc-co-month-grid .sfc-co-calendar-day,
.sfc-co-month-grid .sfc-co-day-cell,
.sfc-co-month-grid .sfc-co-month-day,
.sfc-co-month-grid .sfc-co-day-card,
.sfc-co-month-grid .sfc-co-calendar-cell {
  background: var(--sfc-co-color-surface, #FFFFFF) !important;
  color: #374151 !important;
  border-color: var(--sfc-co-color-border-subtle, #E5E7EB) !important;
}
.sfc-co-calendar .sfc-co-calendar-day:hover,
.sfc-co-calendar .sfc-co-day-cell:hover,
.sfc-co-calendar .sfc-co-month-day:hover,
.sfc-co-calendar .sfc-co-day-card:hover,
.sfc-co-calendar .sfc-co-calendar-cell:hover,
.sfc-co-month-grid .sfc-co-calendar-day:hover,
.sfc-co-month-grid .sfc-co-day-cell:hover,
.sfc-co-month-grid .sfc-co-month-day:hover,
.sfc-co-month-grid .sfc-co-day-card:hover,
.sfc-co-month-grid .sfc-co-calendar-cell:hover {
  background: #FFF5F5 !important;
  border-color: var(--sfc-co-color-primary, #D71920) !important;
}
.sfc-co-calendar .sfc-co-calendar-day.is-selected,
.sfc-co-calendar .sfc-co-day-cell.is-selected,
.sfc-co-calendar .sfc-co-month-day.is-selected,
.sfc-co-calendar .sfc-co-day-card.is-selected,
.sfc-co-calendar .sfc-co-calendar-cell.is-selected,
.sfc-co-calendar .sfc-co-calendar-day[aria-selected="true"],
.sfc-co-calendar .sfc-co-day-cell[aria-selected="true"] {
  background: var(--sfc-co-color-primary-soft, #FFF1F2) !important;
  border-color: var(--sfc-co-color-primary, #D71920) !important;
  color: var(--sfc-co-color-danger, #991B1B) !important;
}

/* Week/time-grid: weekday/date header strip is not a red banner. */
.sfc-co-calendar .fc-timegrid-axis,
.sfc-co-calendar .fc-timegrid-axis-cushion,
.sfc-co-calendar .fc-timegrid-col,
.sfc-co-calendar .fc-timegrid-col-frame,
.sfc-co-calendar .fc-timegrid-col-bg,
.sfc-co-calendar .fc-timegrid-slot,
.sfc-co-calendar .fc-timegrid-slot-lane {
  background: var(--sfc-co-color-surface, #FFFFFF) !important;
  border-color: var(--sfc-co-color-border-subtle, #E5E7EB) !important;
}
.sfc-co-calendar .fc-timegrid-col-header,
.sfc-co-calendar .fc-timegrid-col-header-cell,
.sfc-co-calendar .fc-timegrid-col-header-cell-cushion {
  background: var(--sfc-co-color-surface-muted, #F3F4F6) !important;
  color: #374151 !important;
  border-color: var(--sfc-co-color-border-subtle, #E5E7EB) !important;
}
.sfc-co-calendar .fc-timegrid-col-header-cell:hover,
.sfc-co-calendar .fc-timegrid-col-header-cell:hover .fc-timegrid-col-header-cell-cushion {
  background: var(--sfc-co-color-surface-muted, #F3F4F6) !important;
  color: var(--sfc-co-color-primary, #D71920) !important;
}

/* Red event color only for actual booked/blocked items, not calendar scaffolding. */
.sfc-co-calendar .fc-event,
.sfc-co-calendar .fc-bg-event {
  background-color: var(--sfc-co-color-primary, #D71920);
  border-color: var(--sfc-co-color-primary, #D71920);
}


/* Niraplast Calendar 2.1.0 — align working-hour fields directly after weekday names */
.sfc-co-hours-row,
.sfc-co-day-row,
.sfc-co-hours .sfc-co-hours-row,
.sfc-co-hours .sfc-co-day-row {
  display: grid !important;
  grid-template-columns: minmax(130px, 170px) minmax(250px, 270px) minmax(120px, 1fr) !important;
  justify-content: start !important;
  align-items: center !important;
  column-gap: 18px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.sfc-co-hours-row .sfc-co-hour-inputs,
.sfc-co-day-row .sfc-co-hour-inputs,
.sfc-co-hours-row .sfc-co-time-fields,
.sfc-co-day-row .sfc-co-time-fields,
.sfc-co-hours-row .sfc-co-time-range,
.sfc-co-day-row .sfc-co-time-range {
  grid-column: 2 !important;
  justify-self: start !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 250px !important;
  width: 270px !important;
  margin: 0 !important;
}
.sfc-co-hours-row input[type="time"],
.sfc-co-day-row input[type="time"] {
  width: 118px !important;
  min-width: 118px !important;
  max-width: 118px !important;
  flex: 0 0 118px !important;
  box-sizing: border-box !important;
}
.sfc-co-hours-row .sfc-co-rest-day,
.sfc-co-day-row .sfc-co-rest-day,
.sfc-co-hours-row label:has(input[type="checkbox"]),
.sfc-co-day-row label:has(input[type="checkbox"]),
.sfc-co-hours-row .sfc-co-toggle,
.sfc-co-day-row .sfc-co-toggle,
.sfc-co-hours-row .sfc-co-switch,
.sfc-co-day-row .sfc-co-switch {
  grid-column: 3 !important;
  justify-self: start !important;
  margin: 0 0 0 12px !important;
  text-align: left !important;
}
@media (max-width: 760px) {
  .sfc-co-hours-row,
  .sfc-co-day-row,
  .sfc-co-hours .sfc-co-hours-row,
  .sfc-co-hours .sfc-co-day-row {
    grid-template-columns: minmax(100px, 130px) minmax(240px, 1fr) !important;
    column-gap: 12px !important;
  }
  .sfc-co-hours-row .sfc-co-rest-day,
  .sfc-co-day-row .sfc-co-rest-day,
  .sfc-co-hours-row label:has(input[type="checkbox"]),
  .sfc-co-day-row label:has(input[type="checkbox"]),
  .sfc-co-hours-row .sfc-co-toggle,
  .sfc-co-day-row .sfc-co-toggle,
  .sfc-co-hours-row .sfc-co-switch,
  .sfc-co-day-row .sfc-co-switch {
    grid-column: 2 !important;
    justify-self: start !important;
  }
}


/* Niraplast Calendar 2.1.1 — fix location dropdown control */
.sfc-co-app select,
.sfc-co-admin select,
.sfc-co-modal select,
.sfc-co-booking-filters select,
.sfc-co-app select.sfc-co-input,
.sfc-co-admin select.sfc-co-input,
.sfc-co-app .sfc-co-select select,
.sfc-co-admin .sfc-co-select select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-color: var(--sfc-co-color-surface, #FFFFFF) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 12px 12px !important;
  padding-left: 12px !important;
  padding-right: 34px !important;
  border: 1px solid var(--sfc-co-color-border, #CBD5E1) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
.sfc-co-app select::-ms-expand,
.sfc-co-admin select::-ms-expand {
  display: none !important;
}
/* Hide numeric spin controls if the location field was accidentally styled as a number input. */
.sfc-co-app input[type="number"].sfc-co-location,
.sfc-co-admin input[type="number"].sfc-co-location,
.sfc-co-app input[name*="location" i][type="number"],
.sfc-co-admin input[name*="location" i][type="number"] {
  appearance: textfield !important;
  -moz-appearance: textfield !important;
}
.sfc-co-app input[type="number"].sfc-co-location::-webkit-inner-spin-button,
.sfc-co-app input[type="number"].sfc-co-location::-webkit-outer-spin-button,
.sfc-co-admin input[name*="location" i][type="number"]::-webkit-inner-spin-button,
.sfc-co-admin input[name*="location" i][type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}
/* If a custom select wrapper is used, keep one arrow on the right and no icon on the left. */
.sfc-co-app .sfc-co-select,
.sfc-co-admin .sfc-co-select,
.sfc-co-app .sfc-co-select-wrapper,
.sfc-co-admin .sfc-co-select-wrapper {
  position: relative !important;
}
.sfc-co-app .sfc-co-select > svg:first-child,
.sfc-co-admin .sfc-co-select > svg:first-child,
.sfc-co-app .sfc-co-select-wrapper > svg:first-child,
.sfc-co-admin .sfc-co-select-wrapper > svg:first-child {
  display: none !important;
}


/* Niraplast Calendar 2.1.3 — month cells white at rest, subtle red tint only on hover */
.sfc-co-calendar .fc-daygrid-day,
.sfc-co-calendar .fc-daygrid-day-frame,
.sfc-co-calendar .fc-daygrid-day-top,
.sfc-co-calendar .fc-daygrid-day-events,
.sfc-co-calendar .fc-daygrid-day-bg,
.sfc-co-calendar .fc-daygrid-day-number,
.sfc-co-calendar .fc-scrollgrid-section > td,
.sfc-co-calendar .fc-scrollgrid-section > th,
.sfc-co-month-grid .sfc-co-calendar-day,
.sfc-co-month-grid .sfc-co-day-cell,
.sfc-co-month-grid .sfc-co-month-day,
.sfc-co-month-grid .sfc-co-day-card,
.sfc-co-month-grid .sfc-co-calendar-cell,
.sfc-co-calendar .sfc-co-calendar-day,
.sfc-co-calendar .sfc-co-day-cell,
.sfc-co-calendar .sfc-co-month-day,
.sfc-co-calendar .sfc-co-day-card,
.sfc-co-calendar .sfc-co-calendar-cell {
  background-color: var(--sfc-co-color-surface, #FFFFFF) !important;
  background: var(--sfc-co-color-surface, #FFFFFF) !important;
}
.sfc-co-calendar .fc-daygrid-day:hover,
.sfc-co-calendar .fc-daygrid-day:hover .fc-daygrid-day-frame,
.sfc-co-calendar .fc-daygrid-day:hover .fc-daygrid-day-top,
.sfc-co-month-grid .sfc-co-calendar-day:hover,
.sfc-co-month-grid .sfc-co-day-cell:hover,
.sfc-co-month-grid .sfc-co-month-day:hover,
.sfc-co-month-grid .sfc-co-day-card:hover,
.sfc-co-month-grid .sfc-co-calendar-cell:hover,
.sfc-co-calendar .sfc-co-calendar-day:hover,
.sfc-co-calendar .sfc-co-day-cell:hover,
.sfc-co-calendar .sfc-co-month-day:hover,
.sfc-co-calendar .sfc-co-day-card:hover,
.sfc-co-calendar .sfc-co-calendar-cell:hover {
  background-color: var(--sfc-co-color-primary-soft, #FFF1F2) !important;
  background: var(--sfc-co-color-primary-soft, #FFF1F2) !important;
  border-color: #FCA5A5 !important;
  color: #374151 !important;
  transition: background-color .12s ease, border-color .12s ease !important;
}
.sfc-co-calendar .fc-daygrid-day:hover .fc-daygrid-day-number {
  background: transparent !important;
  color: var(--sfc-co-color-primary, #D71920) !important;
}
.sfc-co-calendar .fc-daygrid-day-number {
  background: transparent !important;
}


/* Niraplast Calendar 2.1.4 — weekly/timeline day headers: white default, subtle hover, today only red */
.sfc-co-calendar .fc-col-header-cell,
.sfc-co-calendar .fc-col-header-cell-cushion,
.sfc-co-calendar .fc-timegrid-col,
.sfc-co-calendar .fc-timegrid-col-frame,
.sfc-co-calendar .fc-timegrid-axis,
.sfc-co-calendar .fc-timegrid-slot,
.sfc-co-calendar .fc-timegrid-slot-lane,
.sfc-co-calendar .fc-timeline-slot,
.sfc-co-calendar .fc-timeline-lane,
.sfc-co-calendar .fc-resource,
.sfc-co-calendar .fc-resource-cell,
.sfc-co-calendar .fc-datagrid-cell,
.sfc-co-calendar .fc-datagrid-cell-cushion {
  background-color: var(--sfc-co-color-surface, #FFFFFF) !important;
  background: var(--sfc-co-color-surface, #FFFFFF) !important;
}
/* Only the current/today column header uses the brand red. */
.sfc-co-calendar .fc-col-header-cell.fc-day-today,
.sfc-co-calendar .fc-timegrid-col.fc-day-today > .fc-timegrid-col-frame,
.sfc-co-calendar .fc-timeline-slot.fc-day-today,
.sfc-co-calendar .fc-day-today > .fc-col-header-cell-cushion {
  background-color: var(--sfc-co-color-primary, #D71920) !important;
  background: var(--sfc-co-color-primary, #D71920) !important;
  color: var(--sfc-co-color-surface, #FFFFFF) !important;
}
/* Other headers remain white; hover is a light red tint, not a solid red block. */
.sfc-co-calendar .fc-col-header-cell:not(.fc-day-today):hover,
.sfc-co-calendar .fc-col-header-cell:not(.fc-day-today):hover .fc-col-header-cell-cushion,
.sfc-co-calendar .fc-timegrid-col:not(.fc-day-today):hover,
.sfc-co-calendar .fc-timegrid-col:not(.fc-day-today):hover > .fc-timegrid-col-frame,
.sfc-co-calendar .fc-timeline-slot:not(.fc-day-today):hover,
.sfc-co-calendar .fc-resource-cell:hover,
.sfc-co-calendar .fc-datagrid-cell:hover {
  background-color: var(--sfc-co-color-primary-soft, #FFF1F2) !important;
  background: var(--sfc-co-color-primary-soft, #FFF1F2) !important;
  transition: background-color .12s ease !important;
}
/* Avoid inherited red backgrounds on non-today date labels. */
.sfc-co-calendar .fc-col-header-cell:not(.fc-day-today) .fc-col-header-cell-cushion {
  color: #1F2937 !important;
  background: transparent !important;
}
.sfc-co-calendar .fc-col-header-cell:not(.fc-day-today):hover .fc-col-header-cell-cushion {
  color: var(--sfc-co-color-primary, #D71920) !important;
}


/* Niraplast Calendar 2.1.5 — wider modals and full-width start-time field */
.sfc-co-modal,
.sfc-co-modal-dialog,
.sfc-co-modal-content,
.sfc-co-dialog,
.sfc-co-modal .sfc-co-modal-dialog,
.sfc-co-modal .sfc-co-modal-content,
.sfc-co-overlay .sfc-co-modal,
.sfc-co-app .sfc-co-modal {
  width: min(900px, calc(100vw - 40px)) !important;
  max-width: calc(100vw - 40px) !important;
}
.sfc-co-modal form,
.sfc-co-modal .sfc-co-form,
.sfc-co-modal .sfc-co-form-grid,
.sfc-co-modal .sfc-co-modal-body,
.sfc-co-modal-content form,
.sfc-co-dialog form {
  width: 100% !important;
  box-sizing: border-box !important;
}
.sfc-co-modal .sfc-co-form-grid,
.sfc-co-modal .sfc-co-fields,
.sfc-co-modal .sfc-co-form-row {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
.sfc-co-modal input,
.sfc-co-modal select,
.sfc-co-modal textarea,
.sfc-co-modal-content input,
.sfc-co-modal-content select,
.sfc-co-modal-content textarea,
.sfc-co-dialog input,
.sfc-co-dialog select,
.sfc-co-dialog textarea {
  box-sizing: border-box !important;
  min-width: 0 !important;
  max-width: 100% !important;
}
.sfc-co-modal input[type="time"],
.sfc-co-modal input[name*="start_time"],
.sfc-co-modal input[name*="startTime"],
.sfc-co-modal input[data-field*="start_time"],
.sfc-co-modal-content input[type="time"],
.sfc-co-dialog input[type="time"] {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}
.sfc-co-modal .sfc-co-field:has(input[type="time"]),
.sfc-co-modal .sfc-co-form-group:has(input[type="time"]),
.sfc-co-modal .sfc-co-field:has(input[name*="start_time"]),
.sfc-co-modal .sfc-co-form-group:has(input[name*="start_time"]) {
  width: 100% !important;
  min-width: 0 !important;
}
@media (min-width: 761px) {
  .sfc-co-modal .sfc-co-modal-body,
  .sfc-co-modal-content .sfc-co-modal-body {
    padding-left: 28px !important;
    padding-right: 28px !important;
  }
}
@media (max-width: 760px) {
  .sfc-co-modal,
  .sfc-co-modal-dialog,
  .sfc-co-modal-content,
  .sfc-co-dialog,
  .sfc-co-modal .sfc-co-modal-dialog,
  .sfc-co-modal .sfc-co-modal-content {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
  }
  .sfc-co-modal .sfc-co-form-grid,
  .sfc-co-modal .sfc-co-fields,
  .sfc-co-modal .sfc-co-form-row {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}


/* Niraplast Calendar 2.1.6 — clean technician location assignment fieldset */
.sfc-co-location-checks {
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
  gap: 10px 16px !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 14px 0 !important;
  padding: 18px 14px 14px !important;
  border: 1px solid var(--sfc-co-color-border, #CBD5E1) !important;
  border-radius: 10px !important;
  background: var(--sfc-co-color-surface, #FFFFFF) !important;
  color: #1F2937 !important;
}
.sfc-co-location-checks legend {
  padding: 0 7px !important;
  margin-left: 2px !important;
  color: #4B5563 !important;
  background: var(--sfc-co-color-surface, #FFFFFF) !important;
  font-size: 14px !important;
  font-family: var(--sfc-co-font-family, Montserrat, Arial, sans-serif);
  font-weight: 500 !important;
}
.sfc-co-location-checks label {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
  width: 100% !important;
  padding: 12px !important;
  border: 1px solid var(--sfc-co-color-border-subtle, #E5E7EB) !important;
  border-radius: 8px !important;
  background: var(--sfc-co-color-surface, #FFFFFF) !important;
  color: #374151 !important;
  cursor: pointer !important;
}
.sfc-co-location-checks label:hover {
  background: var(--sfc-co-color-primary-soft, #FFF1F2) !important;
  border-color: #FCA5A5 !important;
}
.sfc-co-location-checks input[type="checkbox"] {
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin: 0 !important;
  accent-color: var(--sfc-co-color-primary, #D71920) !important;
  box-shadow: none !important;
}
.sfc-co-help {
  color: var(--sfc-co-color-muted, #6B7280) !important;
  background: var(--sfc-co-color-surface-muted, #F3F4F6) !important;
  border: 1px solid var(--sfc-co-color-border-subtle, #E5E7EB) !important;
  border-radius: 8px !important;
  font-family: var(--sfc-co-font-family, Montserrat, Arial, sans-serif);
  font-size: 13px !important;
  line-height: 1.5 !important;
}


/* Niraplast Calendar 2.1.7 — full viewport calendar and neutral scrollbars */
html, body {
  background: var(--sfc-co-color-surface, #FFFFFF) !important;
}
.sfc-co-app,
.sfc-co-calendar-page,
.sfc-co-calendar-wrap,
.sfc-co-calendar-container,
.sfc-co-calendar-shell,
.sfc-co-calendar-main {
  background: var(--sfc-co-color-surface, #FFFFFF) !important;
  max-width: none !important;
}
.sfc-co-app,
.sfc-co-calendar-page,
.sfc-co-calendar-wrap,
.sfc-co-calendar-container,
.sfc-co-calendar-shell {
  width: 100% !important;
  box-sizing: border-box !important;
}
.sfc-co-app {
  min-height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
}
.sfc-co-calendar-page,
.sfc-co-calendar-wrap,
.sfc-co-calendar-container,
.sfc-co-calendar-shell {
  min-height: calc(100vh - 120px) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.sfc-co-calendar,
.sfc-co-calendar .fc,
.sfc-co-calendar .fc-view-harness,
.sfc-co-calendar .fc-view-harness-active,
.sfc-co-calendar .fc-scrollgrid,
.sfc-co-calendar .fc-scroller,
.sfc-co-calendar .fc-scroller-liquid-absolute {
  background: var(--sfc-co-color-surface, #FFFFFF) !important;
  scrollbar-color: #9CA3AF var(--sfc-co-color-surface-muted, #F3F4F6) !important;
  scrollbar-width: thin !important;
}
.sfc-co-calendar .fc-scroller::-webkit-scrollbar,
.sfc-co-calendar::-webkit-scrollbar,
.sfc-co-calendar-page::-webkit-scrollbar,
.sfc-co-calendar-wrap::-webkit-scrollbar {
  width: 10px !important;
  height: 10px !important;
}
.sfc-co-calendar .fc-scroller::-webkit-scrollbar-track,
.sfc-co-calendar::-webkit-scrollbar-track,
.sfc-co-calendar-page::-webkit-scrollbar-track,
.sfc-co-calendar-wrap::-webkit-scrollbar-track {
  background: var(--sfc-co-color-surface-muted, #F3F4F6) !important;
  border-radius: 8px !important;
}
.sfc-co-calendar .fc-scroller::-webkit-scrollbar-thumb,
.sfc-co-calendar::-webkit-scrollbar-thumb,
.sfc-co-calendar-page::-webkit-scrollbar-thumb,
.sfc-co-calendar-wrap::-webkit-scrollbar-thumb {
  background: #9CA3AF !important;
  border: 2px solid var(--sfc-co-color-surface-muted, #F3F4F6) !important;
  border-radius: 8px !important;
}
.sfc-co-calendar .fc-scroller::-webkit-scrollbar-thumb:hover,
.sfc-co-calendar::-webkit-scrollbar-thumb:hover,
.sfc-co-calendar-page::-webkit-scrollbar-thumb:hover,
.sfc-co-calendar-wrap::-webkit-scrollbar-thumb:hover {
  background: var(--sfc-co-color-primary, #D71920) !important;
}
@media (min-width: 900px) {
  .sfc-co-app,
  .sfc-co-calendar-page,
  .sfc-co-calendar-wrap,
  .sfc-co-calendar-container,
  .sfc-co-calendar-shell {
    max-width: none !important;
  }
}


/* Niraplast Calendar 2.1.8 — month view days: white at rest, neutral grey on hover only */
.sfc-co-calendar .fc-daygrid-day,
.sfc-co-calendar .fc-daygrid-day-frame,
.sfc-co-calendar .fc-daygrid-day-top,
.sfc-co-calendar .fc-daygrid-day-events,
.sfc-co-calendar .fc-daygrid-day-bg,
.sfc-co-calendar .fc-daygrid-day-number,
.sfc-co-calendar .fc-daygrid-day.fc-day-today,
.sfc-co-calendar .fc-daygrid-day.fc-day-today .fc-daygrid-day-frame,
.sfc-co-calendar .fc-daygrid-day.fc-day-past,
.sfc-co-calendar .fc-daygrid-day.fc-day-future,
.sfc-co-calendar .fc-daygrid-day.fc-day-other {
  background: var(--sfc-co-color-surface, #FFFFFF) !important;
  background-color: var(--sfc-co-color-surface, #FFFFFF) !important;
}
.sfc-co-calendar .fc-daygrid-day:hover,
.sfc-co-calendar .fc-daygrid-day:hover .fc-daygrid-day-frame,
.sfc-co-calendar .fc-daygrid-day:hover .fc-daygrid-day-top,
.sfc-co-calendar .fc-daygrid-day:hover .fc-daygrid-day-events,
.sfc-co-calendar .fc-daygrid-day:hover .fc-daygrid-day-number {
  background: var(--sfc-co-color-surface-muted, #F3F4F6) !important;
  background-color: var(--sfc-co-color-surface-muted, #F3F4F6) !important;
  border-color: var(--sfc-co-color-border, #D1D5DB) !important;
  color: #1F2937 !important;
  transition: background-color .12s ease, border-color .12s ease !important;
}
/* Keep the current day white too; do not use brand red in month cells. */
.sfc-co-calendar .fc-daygrid-day.fc-day-today,
.sfc-co-calendar .fc-daygrid-day.fc-day-today .fc-daygrid-day-frame,
.sfc-co-calendar .fc-daygrid-day.fc-day-today .fc-daygrid-day-number {
  background: var(--sfc-co-color-surface, #FFFFFF) !important;
  background-color: var(--sfc-co-color-surface, #FFFFFF) !important;
  color: #1F2937 !important;
}
.sfc-co-calendar .fc-daygrid-day.fc-day-today:hover,
.sfc-co-calendar .fc-daygrid-day.fc-day-today:hover .fc-daygrid-day-frame,
.sfc-co-calendar .fc-daygrid-day.fc-day-today:hover .fc-daygrid-day-number {
  background: var(--sfc-co-color-surface-muted, #F3F4F6) !important;
  background-color: var(--sfc-co-color-surface-muted, #F3F4F6) !important;
  color: #1F2937 !important;
}
.sfc-co-calendar .fc-daygrid-day:hover .fc-daygrid-day-number {
  border-color: var(--sfc-co-color-border, #D1D5DB) !important;
  color: #1F2937 !important;
}


/* Niraplast Calendar 2.1.9 — week view: all non-today days use neutral grey header */
.sfc-co-calendar .fc-timegrid .fc-col-header-cell:not(.fc-day-today),
.sfc-co-calendar .fc-timegrid .fc-col-header-cell:not(.fc-day-today) .fc-col-header-cell-cushion,
.sfc-co-calendar .fc-timegrid .fc-timegrid-col:not(.fc-day-today),
.sfc-co-calendar .fc-timegrid .fc-timegrid-col:not(.fc-day-today) .fc-timegrid-col-frame {
  background: var(--sfc-co-color-surface-muted, #F3F4F6) !important;
  background-color: var(--sfc-co-color-surface-muted, #F3F4F6) !important;
}
.sfc-co-calendar .fc-timegrid .fc-col-header-cell:not(.fc-day-today):hover,
.sfc-co-calendar .fc-timegrid .fc-col-header-cell:not(.fc-day-today):hover .fc-col-header-cell-cushion,
.sfc-co-calendar .fc-timegrid .fc-timegrid-col:not(.fc-day-today):hover,
.sfc-co-calendar .fc-timegrid .fc-timegrid-col:not(.fc-day-today):hover .fc-timegrid-col-frame {
  background: var(--sfc-co-color-border-subtle, #E5E7EB) !important;
  background-color: var(--sfc-co-color-border-subtle, #E5E7EB) !important;
}
.sfc-co-calendar .fc-timegrid .fc-col-header-cell.fc-day-today,
.sfc-co-calendar .fc-timegrid .fc-col-header-cell.fc-day-today .fc-col-header-cell-cushion,
.sfc-co-calendar .fc-timegrid .fc-timegrid-col.fc-day-today,
.sfc-co-calendar .fc-timegrid .fc-timegrid-col.fc-day-today .fc-timegrid-col-frame {
  background: var(--sfc-co-color-primary, #D71920) !important;
  background-color: var(--sfc-co-color-primary, #D71920) !important;
  color: var(--sfc-co-color-surface, #FFFFFF) !important;
}


/* Niraplast Calendar 2.2.0 — keep rest-day toggle inline with its label */
.sfc-co-calendar .sfc-co-hours-row,
.sfc-co-calendar .sfc-co-working-day,
.sfc-co-calendar .sfc-co-hours-item {
  align-items: center;
}
.sfc-co-calendar .sfc-co-hours-row .sfc-co-rest-label,
.sfc-co-calendar .sfc-co-working-day .sfc-co-rest-label,
.sfc-co-calendar .sfc-co-hours-item .sfc-co-rest-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.sfc-co-calendar .sfc-co-hours-row .sfc-co-rest-label input,
.sfc-co-calendar .sfc-co-working-day .sfc-co-rest-label input,
.sfc-co-calendar .sfc-co-hours-item .sfc-co-rest-label input {
  margin: 0;
  flex: 0 0 auto;
}


/* Niraplast Calendar 2.2.1 — remove nested-looking location selector borders */
.sfc-co-calendar select,
.sfc-co-calendar .sfc-co-location-select,
.sfc-co-calendar .sfc-co-location-field select,
.sfc-co-calendar .select2-container,
.sfc-co-calendar .select2-selection {
  box-sizing: border-box;
}
.sfc-co-calendar .sfc-co-location-field,
.sfc-co-calendar .sfc-co-location-select-wrap,
.sfc-co-calendar .sfc-co-location-control {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
}
.sfc-co-calendar .sfc-co-location-field select,
.sfc-co-calendar .sfc-co-location-select-wrap select,
.sfc-co-calendar .sfc-co-location-control select,
.sfc-co-calendar select.sfc-co-location-select {
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  border: 1px solid var(--sfc-co-color-border, #CBD5E1) !important;
  border-radius: 10px !important;
  background-color: var(--sfc-co-color-surface, #FFFFFF) !important;
  box-shadow: none !important;
  padding: 10px 36px 10px 12px !important;
  appearance: auto;
}
.sfc-co-calendar .sfc-co-location-field:focus-within,
.sfc-co-calendar .sfc-co-location-select-wrap:focus-within,
.sfc-co-calendar .sfc-co-location-control:focus-within {
  border: 0 !important;
  box-shadow: none !important;
}


/* Niraplast Calendar 2.2.22 — keep the header admin/profile chip transparent, including hover/focus. */
.sfc-co-app .sfc-co-header .sfc-co-profile-wrap > button.sfc-co-user,
.sfc-co-app .sfc-co-header .sfc-co-profile-wrap > button.sfc-co-user:hover,
.sfc-co-app .sfc-co-header .sfc-co-profile-wrap > button.sfc-co-user:active,
.sfc-co-app .sfc-co-header .sfc-co-profile-wrap > button.sfc-co-user:focus,
.sfc-co-app .sfc-co-header .sfc-co-profile-wrap > button.sfc-co-user:focus-visible,
.sfc-co-app .sfc-co-header .sfc-co-profile-wrap > button.sfc-co-user[aria-expanded="true"] {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}
.sfc-co-app .sfc-co-header .sfc-co-profile-wrap > button.sfc-co-user > span,
.sfc-co-app .sfc-co-header .sfc-co-profile-wrap > button.sfc-co-user > span:hover,
.sfc-co-app .sfc-co-header .sfc-co-profile-wrap > button.sfc-co-user > span strong,
.sfc-co-app .sfc-co-header .sfc-co-profile-wrap > button.sfc-co-user > span small {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}
.sfc-co-app .sfc-co-header .sfc-co-profile-wrap > button.sfc-co-user:hover > span strong {
  color: #374151 !important;
}


/* Niraplast Calendar 2.2.23 — make inactive pill switches clearly visible on white and grey surfaces. */
.sfc-co-app .sfc-co-switch {
  flex: 0 0 48px;
  width: 48px;
  min-width: 48px;
  height: 26px;
}
.sfc-co-app .sfc-co-switch > span {
  box-sizing: border-box !important;
  display: block !important;
  background: var(--sfc-co-color-border, #D1D5DB) !important;
  background-color: var(--sfc-co-color-border, #D1D5DB) !important;
  border: 1px solid #9CA3AF !important;
  border-radius: 999px !important;
  opacity: 1 !important;
}
.sfc-co-app .sfc-co-switch > span::after {
  top: 3px !important;
  left: 3px !important;
  width: 18px !important;
  height: 18px !important;
  background: var(--sfc-co-color-surface, #FFFFFF) !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .24) !important;
}
.sfc-co-app .sfc-co-switch input:checked + span {
  background: var(--sfc-co-color-primary, #D71920) !important;
  background-color: var(--sfc-co-color-primary, #D71920) !important;
  border-color: var(--sfc-co-color-primary, #D71920) !important;
}
.sfc-co-app .sfc-co-switch input:checked + span::after {
  transform: translateX(22px) !important;
}
.sfc-co-app .sfc-co-switch input:focus-visible + span {
  outline: 2px solid rgba(215, 25, 32, .28) !important;
  outline-offset: 2px !important;
}
