/**
 * Call Scheduler – front-end
 * @package GF_Call_Scheduler
 */

/* -------------------------------------------------------------------------
   Design tokens
   ------------------------------------------------------------------------- */

   .gfcs-widget {
	--gfcs-shell-bg: #eef1f8;
	--gfcs-radius: 18px;
	--gfcs-radius-sm: 10px;
	--gfcs-radius-xs: 6px;
	--gfcs-shadow-card: 0 2px 4px rgba(15, 23, 42, 0.06),
	  0 8px 28px rgba(15, 23, 42, 0.09);
	--gfcs-shadow-hover: 0 4px 8px rgba(15, 23, 42, 0.08),
	  0 16px 40px rgba(15, 23, 42, 0.12);
	--gfcs-border: 1px solid rgba(15, 23, 42, 0.09);
	--gfcs-surface: #ffffff;
	--gfcs-surface-alt: #f8fafc;
	--gfcs-text: #0f172a;
	--gfcs-text-muted: #64748b;
	--gfcs-text-subtle: #94a3b8;
	--gfcs-accent: #1d4ed8;
	--gfcs-accent-soft: #eff6ff;
	--gfcs-accent-mid: #dbeafe;
	--gfcs-accent-active: #1e40af;

	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: 860px;
	margin: 0.35rem 0 0.5rem;
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.45;
	color: var(--gfcs-text);
  }
  
  .gfcs-widget *,
  .gfcs-widget *::before,
  .gfcs-widget *::after {
	box-sizing: border-box;
  }
  
  .gform_wrapper .gfield--type-call_scheduler .ginput_container.gfcs-widget,
  .gform_wrapper .gfield--type-call-scheduler .ginput_container.gfcs-widget,
  .gform-theme--framework .gfield--type-call_scheduler .ginput_container.gfcs-widget,
  .gform-theme--framework .gfield--type-call-scheduler .ginput_container.gfcs-widget {
	width: 100%;
	max-width: none;
  }
  
  /* -------------------------------------------------------------------------
	 Shell – de grijsblauwe buitenste container
	 ------------------------------------------------------------------------- */
  
  .gfcs-widget__shell {
	width: 100%;
	background: var(--gfcs-shell-bg);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: var(--gfcs-radius);
	/* Ruimere padding zodat de witte kaarten echt "zweven" op de achtergrond */
	padding: 1.35rem 1.4rem 1.4rem;
	box-shadow:
	  inset 0 1px 0 rgba(255, 255, 255, 0.7),
	  0 1px 3px rgba(15, 23, 42, 0.04),
	  0 8px 24px rgba(15, 23, 42, 0.07);
  }
  
  .gfcs-visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
  }
  
  /* -------------------------------------------------------------------------
	 Twee-koloms layout: kalender | tijdslots
	 ------------------------------------------------------------------------- */
  
  .gfcs-widget__panels {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: 1.2rem;
	align-items: start; /* FIX: was stretch — panels groeien nu onafhankelijk */
  }
  
  @media (max-width: 680px) {
	.gfcs-widget__panels {
	  grid-template-columns: 1fr;
	}
  }
  
  /* -------------------------------------------------------------------------
	 Linkerkolom: datum-input + maand/jaar selects + kalender
	 ------------------------------------------------------------------------- */
  
  .gfcs-widget__calendar-col {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	min-width: 0;
  }
  
  /* Datum-inputrij (tekstveld + icoon) */
  .gfcs-date-display {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 0.55rem;
	margin: 0;
	cursor: pointer;
  }
  
  .gform_wrapper .gfcs-widget .gfcs-date-input,
  body .gfcs-widget .gfcs-date-input {
	-webkit-appearance: none;
	appearance: none;
	flex: 1 1 auto;
	min-width: 0;
	width: auto;
	min-height: 2.75rem;
	margin: 0;
	padding: 0.6rem 0.9rem;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--gfcs-text);
	background: var(--gfcs-surface);
	border: 1.5px solid rgba(15, 23, 42, 0.13);
	border-radius: var(--gfcs-radius-sm);
	text-align: left;
	letter-spacing: 0.01em;
	transition: border-color 0.15s ease;
  }

  .gform_wrapper .gfcs-widget .gfcs-date-input:hover,
  body .gfcs-widget .gfcs-date-input:hover {
	border-color: rgba(29, 78, 216, 0.4);
  }

  .gfcs-date-display__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 2.75rem;
	width: 2.75rem;
	min-height: 100%;
	color: var(--gfcs-accent);
	background: var(--gfcs-accent-soft);
	border-radius: var(--gfcs-radius-sm);
	border: 1.5px solid rgba(29, 78, 216, 0.2);
	transition: background 0.15s ease, border-color 0.15s ease;
  }
  
  .gfcs-date-display__icon svg {
	flex-shrink: 0;
	display: block;
  }

  .gform_wrapper .gfcs-widget .gfcs-date-input:focus-visible,
  body .gfcs-widget .gfcs-date-input:focus-visible {
	outline: 2px solid var(--gfcs-accent);
	outline-offset: 2px;
	border-color: var(--gfcs-accent);
  }
  
  /* Maand + jaar selects naast elkaar */
  .gfcs-cal__month-year-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.55rem;
	width: 100%;
  }
  
  .gfcs-cal__spin {
	position: relative;
	min-width: 0;
  }
  
  .gform_wrapper .gfcs-widget .gfcs-cal__select,
  body .gfcs-widget .gfcs-cal__select {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	min-height: 2.5rem;
	margin: 0;
	padding: 0.4rem 2.2rem 0.4rem 0.7rem;
	font-family: inherit;
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--gfcs-text);
	background: var(--gfcs-surface)
	  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' viewBox='0 0 10 6'%3E%3Cpath stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' d='m1 1 4 4 4-4'/%3E%3C/svg%3E")
	  no-repeat right 0.65rem center / 10px auto;
	border: 1.5px solid rgba(15, 23, 42, 0.12);
	border-radius: var(--gfcs-radius-sm);
	cursor: pointer;
	transition: border-color 0.15s ease;
  }

  .gform_wrapper .gfcs-widget .gfcs-cal__select:hover,
  body .gfcs-widget .gfcs-cal__select:hover {
	border-color: rgba(29, 78, 216, 0.35);
  }
  
  .gform_wrapper .gfcs-widget .gfcs-cal__select:focus-visible,
  body .gfcs-widget .gfcs-cal__select:focus-visible {
	outline: 2px solid var(--gfcs-accent);
	outline-offset: 2px;
  }
  
  /* -------------------------------------------------------------------------
	 Witte kaarten: kalender + tijdslots
	 ------------------------------------------------------------------------- */
  
  .gfcs-widget__calendar,
  .gfcs-widget__slots {
	background: var(--gfcs-surface);
	border: var(--gfcs-border);
	border-radius: var(--gfcs-radius);
	box-shadow: var(--gfcs-shadow-card);
	transition: box-shadow 0.2s ease;
	min-width: 0;
  }
  
  .gfcs-widget__calendar {
	padding: 1rem 1rem 1.1rem;
  }
  
  .gfcs-widget__slots {
	display: flex;
	flex-direction: column;
	max-height: 476px !important;
	padding: 0;
	overflow: hidden;
  }
  
  .gfcs-widget__calendar:hover,
  .gfcs-widget__slots:hover {
	box-shadow: var(--gfcs-shadow-hover);
  }
  
  /* -------------------------------------------------------------------------
	 Slots: header (sticky boven de scroll)
	 ------------------------------------------------------------------------- */
  
  .gfcs-widget__slots-head {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	padding: 1rem 1.1rem 0.75rem;
	border-bottom: 1px solid rgba(15, 23, 42, 0.07);
	background: var(--gfcs-surface);
  }
  
  .gfcs-widget__slots-nav-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.6rem;
	width: 100%;
  }
  
  .gfcs-widget__slots-title {
	display: block;
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--gfcs-text-subtle);
	margin: 0;
  }
  
  .gfcs-widget__slots-header {
	display: block;
	flex: 1 1 auto;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--gfcs-text);
	line-height: 1.3;
	text-align: center;
  }
  
  /* Navigatiepijlen in de tijdkolom */
  .gform_wrapper .gfcs-widget .gfcs-slots-nav,
  body .gfcs-widget .gfcs-slots-nav {
	-webkit-appearance: none;
	appearance: none;
	flex-shrink: 0;
	width: 2rem;
	height: 2rem;
	margin: 0;
	padding: 0;
	font-size: 1rem;
	line-height: 1;
	color: var(--gfcs-accent);
	cursor: pointer;
	background: var(--gfcs-accent-soft);
	border: 1.5px solid rgba(29, 78, 216, 0.2);
	border-radius: 50%;
	display: grid;
	place-items: center;
	transition: background 0.15s ease, border-color 0.15s ease;
  }
  
  .gform_wrapper .gfcs-widget .gfcs-slots-nav:hover,
  body .gfcs-widget .gfcs-slots-nav:hover {
	background: var(--gfcs-accent-mid);
	border-color: rgba(29, 78, 216, 0.35);
  }
  
  .gform_wrapper .gfcs-widget .gfcs-slots-nav:focus-visible,
  body .gfcs-widget .gfcs-slots-nav:focus-visible {
	outline: 2px solid var(--gfcs-accent);
	outline-offset: 2px;
  }
  
  /* -------------------------------------------------------------------------
	 Tijdslot-grid: SCROLLBAAR
	 ------------------------------------------------------------------------- */
  
  .gfcs-widget__slots-grid {
	/* FIX: scrollable container voor de tijdslots */
	flex: 1 1 auto;
	overflow-y: auto;
	overscroll-behavior: contain;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.45rem;
	align-content: start;
	padding: 0.85rem 1.1rem 1rem;
  
	/* Nette scrollbar styling */
	scrollbar-width: thin;
	scrollbar-color: rgba(29, 78, 216, 0.2) transparent;
  }
  
  .gfcs-widget__slots-grid::-webkit-scrollbar {
	width: 5px;
  }

  .gfcs-widget__slots-grid::-webkit-scrollbar-thumb {
	background: rgba(29, 78, 216, 0.2);
	border-radius: 999px;
  }
  
  /* Lege staat */
  .gfcs-widget__empty {
	grid-column: 1 / -1;
	margin: 0.5rem 0 0;
	padding: 1rem 0.75rem;
	font-size: 0.88rem;
	color: var(--gfcs-text-muted);
	text-align: center;
	background: rgba(248, 250, 252, 0.9);
	border-radius: var(--gfcs-radius-sm);
	border: 1px dashed rgba(100, 116, 139, 0.3);
  }
  
  .gfcs-widget__empty--muted:not([hidden]) {
	display: block;
  }
  
  /* -------------------------------------------------------------------------
	 Tijdslot-knoppen
	 ------------------------------------------------------------------------- */
  
  .gform_wrapper .gfcs-widget button.gfcs-slot,
  body .gfcs-widget button.gfcs-slot {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 2.4rem;
	margin: 0;
	padding: 0.38rem 0.4rem;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--gfcs-accent);
	text-align: center;
	cursor: pointer;
	background: #ffffff;
	border: 1.5px solid rgba(29, 78, 216, 0.35);
	border-radius: var(--gfcs-radius-sm);
	transition: all 0.15s ease;
  }

  .gform_wrapper .gfcs-widget button.gfcs-slot:hover,
  body .gfcs-widget button.gfcs-slot:hover {
	background: var(--gfcs-accent-soft);
	border-color: var(--gfcs-accent);
	transform: translateY(-1px);
  }

  .gform_wrapper .gfcs-widget button.gfcs-slot:focus-visible,
  body .gfcs-widget button.gfcs-slot:focus-visible {
	outline: 2px solid var(--gfcs-accent);
	outline-offset: 2px;
  }

  .gform_wrapper .gfcs-widget button.gfcs-slot.is-active,
  body .gfcs-widget button.gfcs-slot.is-active {
	background: var(--gfcs-accent);
	border-color: var(--gfcs-accent-active);
	color: #ffffff;
	transform: none;
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.35) inset,
		0 4px 14px rgba(29, 78, 216, 0.35);
  }
  
  /* -------------------------------------------------------------------------
	 Footer: tijdzone + clear-knop
	 ------------------------------------------------------------------------- */
  
  .gfcs-widget__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1rem;
	margin-top: 0.9rem;
	padding-top: 10px !important;
  }
  
  .gfcs-widget__hidden-fields {
	position: absolute;
	left: 0;
	top: 0;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
	pointer-events: none;
  }
  
  .gfcs-widget__tz {
	flex: 1 1 180px;
	margin: 0;
	font-size: 0.78rem;
	color: var(--gfcs-text-muted);
	line-height: 1.4;
  }
  
  .gfcs-widget__tz.gfcs-widget__tz--fancy {
	display: inline-flex;
	flex: 1 1 260px;
	align-items: center;
	gap: 0.5rem;
	padding: 0.42rem 0.7rem;
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid rgba(15, 23, 42, 0.09);
	border-radius: var(--gfcs-radius-sm);
	font-size: 0.78rem;
	color: var(--gfcs-text);
	line-height: 1.4;
	cursor: default;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  }
  
  .gfcs-widget__tz-icon {
	flex: 0 0 auto;
	color: var(--gfcs-accent);
	display: grid;
	place-items: center;
  }
  
  .gfcs-widget__tz-inner {
	flex: 1 1 auto;
	min-width: 0;
	line-height: 1.42;
  }
  
  .gfcs-widget__tz-zone {
	display: inline;
	font-weight: 600;
	margin-right: 0.06em;
  }
  
  .gfcs-widget__tz-clock {
	display: inline;
	font-variant-numeric: tabular-nums;
	color: var(--gfcs-text-muted);
	font-weight: 500;
	font-size: 0.93em;
  }
  
  .gfcs-widget__tz-caret {
	flex-shrink: 0;
	width: 0;
	height: 0;
	align-self: center;
	margin-inline-start: 0.1rem;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 6px solid rgba(100, 116, 139, 0.75);
  }
  
  /* Clear-knop */
  .gform_wrapper .gfcs-widget .gfcs-clear,
  body .gfcs-widget .gfcs-clear {
	-webkit-appearance: none;
	appearance: none;
	flex: 0 0 auto;
	margin: 0;
	padding: 0.45rem 0.95rem;
	font-family: inherit;
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--gfcs-text-muted);
	cursor: pointer;
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: var(--gfcs-radius-sm);
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  }
  
  .gform_wrapper .gfcs-widget .gfcs-clear:hover,
  body .gfcs-widget .gfcs-clear:hover {
	background: rgba(15, 23, 42, 0.05);
	color: var(--gfcs-text);
	border-color: rgba(15, 23, 42, 0.22);
  }
  
  .gform_wrapper .gfcs-widget .gfcs-clear:focus-visible,
  body .gfcs-widget .gfcs-clear:focus-visible {
	outline: 2px solid var(--gfcs-accent);
	outline-offset: 2px;
  }
  
  /* -------------------------------------------------------------------------
	 Kalender: days-panel wrapper
	 ------------------------------------------------------------------------- */
  
  .gfcs-cal__days-panel {
	display: flex;
	flex-direction: column;
	gap: 0;
	width: 100%;
	border-radius: var(--gfcs-radius-sm);
	overflow: hidden;
	padding: 0.2rem;
	background: rgba(238, 241, 248, 0.65);
	border: 1px solid rgba(148, 163, 184, 0.28);
	box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.65);
  }
  
  /* -------------------------------------------------------------------------
	 Kalender toolbar (vorige/volgende maand — fallback)
	 ------------------------------------------------------------------------- */
  
  .gfcs-cal__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.65rem;
	padding: 0.1rem 0;
  }
  
  .gfcs-cal__month {
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--gfcs-text);
	text-align: center;
	flex: 1;
  }
  
  .gform_wrapper .gfcs-widget .gfcs-cal__nav,
  body .gfcs-widget .gfcs-cal__nav {
	-webkit-appearance: none;
	appearance: none;
	flex: 0 0 auto;
	width: 2.25rem;
	height: 2.25rem;
	margin: 0;
	padding: 0;
	font-size: 1.1rem;
	line-height: 1;
	color: var(--gfcs-accent);
	cursor: pointer;
	background: var(--gfcs-accent-soft);
	border: 1.5px solid rgba(29, 78, 216, 0.18);
	border-radius: var(--gfcs-radius-sm);
	display: grid;
	place-items: center;
	transition: background 0.15s ease, transform 0.12s ease;
  }
  
  .gform_wrapper .gfcs-widget .gfcs-cal__nav:hover,
  body .gfcs-widget .gfcs-cal__nav:hover {
	background: var(--gfcs-accent-mid);
	transform: scale(1.05);
  }
  
  .gform_wrapper .gfcs-widget .gfcs-cal__nav:focus-visible,
  body .gfcs-widget .gfcs-cal__nav:focus-visible {
	outline: 2px solid var(--gfcs-accent);
	outline-offset: 2px;
  }
  
  /* -------------------------------------------------------------------------
	 Kalender grid: weekdagen + dagrijen
	 ------------------------------------------------------------------------- */
  
  .gfcs-cal__grid {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
  }
  
  .gfcs-cal__weekdays,
  .gfcs-cal__row {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 4px;
  }
  
  .gfcs-cal__weekday {
	text-align: center;
	font-size: 0.6rem;
	font-weight: 800;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gfcs-accent);
	padding: 0.2rem 0 0.35rem;
  }
  
  .gfcs-cal__cell {
	aspect-ratio: 1;
	display: flex;
	align-items: stretch;
	justify-content: stretch;
	padding: 2px;
	font-size: 0.8rem;
	min-height: 0;
  }
  
  .gfcs-cal__cell--empty {
	opacity: 0;
	pointer-events: none;
  }
  
  .gfcs-cal__cell--blocked {
	color: var(--gfcs-text-subtle);
	cursor: not-allowed;
	background: repeating-linear-gradient(
	  -45deg,
	  rgba(241, 245, 249, 0.85),
	  rgba(241, 245, 249, 0.85) 4px,
	  rgba(226, 232, 240, 0.6) 4px,
	  rgba(226, 232, 240, 0.6) 8px
	) !important;
	border-radius: var(--gfcs-radius-xs);
	align-items: center !important;
	justify-content: center !important;
	font-weight: 600 !important;
	font-size: 0.75rem !important;
  }
  
  /* Dagknoppen in de kalender */
  .gform_wrapper .gfcs-widget .gfcs-cal__btn,
  body .gfcs-widget .gfcs-cal__btn {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 100%;
	min-height: 2rem;
	max-width: 2.6rem;
	max-height: 2.6rem;
	margin: 0 auto;
	padding: 0;
	font-family: inherit;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--gfcs-text);
	cursor: pointer;
	background: transparent;
	border: 1.5px solid transparent;
	border-radius: 999px;
	aspect-ratio: 1;
	transition: all 0.15s ease;
  }
  
  .gform_wrapper .gfcs-widget .gfcs-cal__btn:hover,
  body .gfcs-widget .gfcs-cal__btn:hover {
	background: var(--gfcs-accent-mid);
	border-color: rgba(29, 78, 216, 0.22);
	transform: scale(1.08);
  }
  
  .gform_wrapper .gfcs-widget .gfcs-cal__btn:focus-visible,
  body .gfcs-widget .gfcs-cal__btn:focus-visible {
	outline: 2px solid var(--gfcs-accent);
	outline-offset: 1px;
  }
  
  .gform_wrapper .gfcs-widget .gfcs-cal__btn.is-active,
  body .gfcs-widget .gfcs-cal__btn.is-active {
	background: var(--gfcs-accent);
	color: #ffffff;
	border-color: var(--gfcs-accent-active);
	box-shadow: 0 3px 12px rgba(29, 78, 216, 0.35);
	transform: none;
  }
  
  /* Vandaag markering (geen is-active) */
  .gform_wrapper .gfcs-widget .gfcs-cal__btn.is-today:not(.is-active),
  body .gfcs-widget .gfcs-cal__btn.is-today:not(.is-active) {
	border-color: rgba(29, 78, 216, 0.35);
	color: var(--gfcs-accent);
	font-weight: 700;
  }
  
  /* -------------------------------------------------------------------------
	 Voorkeur: minder beweging
	 ------------------------------------------------------------------------- */
  
  @media (prefers-reduced-motion: reduce) {
	.gfcs-widget button,
	.gfcs-widget .gfcs-cal__nav {
	  transition: none;
	}
  
	.gfcs-widget button.gfcs-slot:hover,
	.gfcs-widget .gfcs-cal__btn:hover {
	  transform: none;
	}
  }

.gfcs-widget {
  --gfcs-shell-bg: #eef1f8;
  --gfcs-radius: 18px;
  --gfcs-radius-sm: 10px;
  --gfcs-shadow-card: 0 2px 4px rgba(15,23,42,0.06), 0 8px 28px rgba(15,23,42,0.09);
  --gfcs-shadow-hover: 0 4px 8px rgba(15,23,42,0.08), 0 16px 40px rgba(15,23,42,0.12);
  --gfcs-border: 1px solid rgba(15,23,42,0.09);
  --gfcs-surface: #ffffff;
  --gfcs-surface-alt: #f8fafc;
  --gfcs-text: #0f172a;
  --gfcs-text-muted: #64748b;
  --gfcs-text-subtle: #94a3b8;
  --gfcs-accent: #1d4ed8;
  --gfcs-accent-soft: #eff6ff;
  --gfcs-accent-mid: #dbeafe;
  --gfcs-accent-active: #1e40af;
  --gfcs-slot-active-shadow: 0 4px 14px rgba(29,78,216,0.3);
}

.gfcs-widget__shell {
  background: var(--gfcs-shell-bg) !important;
  border: 1px solid rgba(15,23,42,0.08) !important;
  border-radius: 18px !important;
  padding: 1.35rem 1.4rem 1.4rem !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 1px 3px rgba(15,23,42,0.04), 0 8px 24px rgba(15,23,42,0.07) !important;
}

.gfcs-widget__panels {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) minmax(0,1.05fr) !important;
  gap: 1.2rem !important;
  align-items: start !important;
}

.gfcs-widget__calendar-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
}

.gfcs-widget__calendar,
.gfcs-widget__slots {
  background: #fff !important;
  border: 1px solid rgba(15,23,42,0.09) !important;
  border-radius: 18px !important;
  box-shadow: 0 2px 4px rgba(15,23,42,0.06), 0 8px 28px rgba(15,23,42,0.09) !important;
}

.gfcs-widget__calendar {
  padding: 1rem 1rem 1.1rem !important;
}

.gfcs-widget__slots {
  display: flex !important;
  flex-direction: column !important;
  max-height: 380px !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.gfcs-widget__slots-head {
  flex-shrink: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.45rem !important;
  padding: 1rem 1.1rem 0.75rem !important;
  border-bottom: 1px solid rgba(15,23,42,0.07) !important;
  background: #fff !important;
}

.gfcs-widget__slots-nav-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.6rem !important;
}

.gfcs-widget__slots-title {
  display: block !important;
  font-size: 0.62rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.07em !important;
  text-transform: uppercase !important;
  color: #94a3b8 !important;
  margin: 0 !important;
}

.gfcs-widget__slots-header {
  display: block !important;
  flex: 1 1 auto !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  text-align: center !important;
}

.gform_wrapper .gfcs-widget .gfcs-slots-nav,
body .gfcs-widget .gfcs-slots-nav {
  appearance: none !important;
  width: 2rem !important;
  height: 2rem !important;
  padding: 0 !important;
  font-size: 1rem !important;
  color: #1d4ed8 !important;
  background: #eff6ff !important;
  border: 1.5px solid rgba(29,78,216,0.2) !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
  cursor: pointer !important;
}

.gfcs-widget__slots-grid {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 0.45rem !important;
  align-content: start !important;
  padding: 0.85rem 1.1rem 1rem !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(29,78,216,0.2) transparent !important;
}

.gfcs-widget__slots-grid::-webkit-scrollbar {
  width: 5px !important;
}

.gfcs-widget__slots-grid::-webkit-scrollbar-thumb {
  background: rgba(29,78,216,0.2) !important;
  border-radius: 999px !important;
}

.gform_wrapper .gfcs-widget button.gfcs-slot,
body .gfcs-widget button.gfcs-slot {
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 2.4rem !important;
  padding: 0.38rem 0.4rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: #1d4ed8 !important;
  background: #fff !important;
  border: 1.5px solid rgba(29,78,216,0.35) !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.gform_wrapper .gfcs-widget button.gfcs-slot:hover,
body .gfcs-widget button.gfcs-slot:hover {
  background: #eff6ff !important;
  border-color: #1d4ed8 !important;
  transform: translateY(-1px) !important;
}

.gform_wrapper .gfcs-widget button.gfcs-slot.is-active,
body .gfcs-widget button.gfcs-slot.is-active {
  background: #1d4ed8 !important;
  border-color: #1e40af !important;
  color: #fff !important;
  transform: none !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.35) inset,
    0 4px 14px rgba(29, 78, 216, 0.35) !important;
}

.gform_wrapper .gfcs-widget button.gfcs-slot.is-blocked,
.gform_wrapper .gfcs-widget button.gfcs-slot.is-disabled,
.gform_wrapper .gfcs-widget button.gfcs-slot:disabled,
.gform_wrapper .gfcs-widget button.gfcs-slot[aria-disabled="true"],
body .gfcs-widget button.gfcs-slot.is-blocked,
body .gfcs-widget button.gfcs-slot.is-disabled,
body .gfcs-widget button.gfcs-slot:disabled,
body .gfcs-widget button.gfcs-slot[aria-disabled="true"] {
  background: #f8fafc !important;
  border-color: rgba(148,163,184,0.35) !important;
  color: #94a3b8 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
  transform: none !important;
}

.gform_wrapper .gfcs-widget button.gfcs-slot.is-blocked:hover,
.gform_wrapper .gfcs-widget button.gfcs-slot.is-disabled:hover,
.gform_wrapper .gfcs-widget button.gfcs-slot:disabled:hover,
.gform_wrapper .gfcs-widget button.gfcs-slot[aria-disabled="true"]:hover,
body .gfcs-widget button.gfcs-slot.is-blocked:hover,
body .gfcs-widget button.gfcs-slot.is-disabled:hover,
body .gfcs-widget button.gfcs-slot:disabled:hover,
body .gfcs-widget button.gfcs-slot[aria-disabled="true"]:hover {
  background: #f8fafc !important;
  border-color: rgba(148,163,184,0.35) !important;
  color: #94a3b8 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  transform: none !important;
}

.gfcs-cal__days-panel {
  border-radius: 10px !important;
  overflow: hidden !important;
  padding: 0.2rem !important;
  background: rgba(238,241,248,0.65) !important;
  border: 1px solid rgba(148,163,184,0.28) !important;
}

.gfcs-cal__grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.15rem !important;
}

.gfcs-cal__weekdays,
.gfcs-cal__row {
  display: grid !important;
  grid-template-columns: repeat(7,minmax(0,1fr)) !important;
  gap: 4px !important;
}

.gfcs-cal__weekday {
  text-align: center !important;
  font-size: 0.6rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #1d4ed8 !important;
  padding: 0.2rem 0 0.35rem !important;
}

.gfcs-cal__cell {
  aspect-ratio: 1 !important;
  display: flex !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  padding: 2px !important;
}

.gfcs-cal__cell--empty {
  opacity: 0 !important;
  pointer-events: none !important;
}

.gform_wrapper .gfcs-widget .gfcs-cal__btn,
body .gfcs-widget .gfcs-cal__btn {
  appearance: none !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 2rem !important;
  max-width: 2.6rem !important;
  max-height: 2.6rem !important;
  margin: 0 auto !important;
  padding: 0 !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  background: transparent !important;
  border: 1.5px solid transparent !important;
  border-radius: 999px !important;
  aspect-ratio: 1 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.gform_wrapper .gfcs-widget .gfcs-cal__btn:hover,
body .gfcs-widget .gfcs-cal__btn:hover {
  background: #dbeafe !important;
  border-color: rgba(29,78,216,0.22) !important;
  transform: scale(1.08) !important;
}

.gform_wrapper .gfcs-widget .gfcs-cal__btn.is-active,
body .gfcs-widget .gfcs-cal__btn.is-active {
  background: #1d4ed8 !important;
  color: #fff !important;
  border-color: #1e40af !important;
  box-shadow: 0 3px 12px rgba(29,78,216,0.35) !important;
}

.gform_wrapper .gfcs-widget .gfcs-cal__btn.is-blocked,
.gform_wrapper .gfcs-widget .gfcs-cal__btn.is-disabled,
.gform_wrapper .gfcs-widget .gfcs-cal__btn:disabled,
.gform_wrapper .gfcs-widget .gfcs-cal__btn[aria-disabled="true"],
body .gfcs-widget .gfcs-cal__btn.is-blocked,
body .gfcs-widget .gfcs-cal__btn.is-disabled,
body .gfcs-widget .gfcs-cal__btn:disabled,
body .gfcs-widget .gfcs-cal__btn[aria-disabled="true"] {
  background: #f1f5f9 !important;
  color: #94a3b8 !important;
  border-color: rgba(148,163,184,0.35) !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
  transform: none !important;
}

.gform_wrapper .gfcs-widget .gfcs-cal__btn.is-blocked:hover,
.gform_wrapper .gfcs-widget .gfcs-cal__btn.is-disabled:hover,
.gform_wrapper .gfcs-widget .gfcs-cal__btn:disabled:hover,
.gform_wrapper .gfcs-widget .gfcs-cal__btn[aria-disabled="true"]:hover,
body .gfcs-widget .gfcs-cal__btn.is-blocked:hover,
body .gfcs-widget .gfcs-cal__btn.is-disabled:hover,
body .gfcs-widget .gfcs-cal__btn:disabled:hover,
body .gfcs-widget .gfcs-cal__btn[aria-disabled="true"]:hover {
  background: #f1f5f9 !important;
  color: #94a3b8 !important;
  border-color: rgba(148,163,184,0.35) !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  transform: none !important;
}

.gfcs-widget__footer {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.75rem 1rem !important;
  margin-top: 0.9rem !important;
}

.gfcs-cal__month-year-row {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 0.55rem !important;
}

.gform_wrapper .gfcs-widget .gfcs-cal__select,
body .gfcs-widget .gfcs-cal__select {
  appearance: none !important;
  width: 100% !important;
  min-height: 2.5rem !important;
  padding: 0.4rem 2.2rem 0.4rem 0.7rem !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' viewBox='0 0 10 6'%3E%3Cpath stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' d='m1 1 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 0.65rem center / 10px auto !important;
  border: 1.5px solid rgba(15,23,42,0.12) !important;
  border-radius: 10px !important;
  cursor: pointer !important;
}

.gfcs-date-display {
  display: flex !important;
  gap: 0.55rem !important;
  align-items: stretch !important;
}

.gform_wrapper .gfcs-widget .gfcs-date-input,
body .gfcs-widget .gfcs-date-input {
  appearance: none !important;
  flex: 1 1 auto !important;
  min-height: 2.75rem !important;
  padding: 0.6rem 0.9rem !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  background: #fff !important;
  border: 1.5px solid rgba(15,23,42,0.13) !important;
  border-radius: 10px !important;
}

.gfcs-date-display__icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 2.75rem !important;
  width: 2.75rem !important;
  color: #1d4ed8 !important;
  background: #eff6ff !important;
  border-radius: 10px !important;
  border: 1.5px solid rgba(29,78,216,0.2) !important;
}

.gform_wrapper .gfcs-widget .gfcs-clear,
body .gfcs-widget .gfcs-clear {
  appearance: none !important;
  padding: 0.45rem 0.95rem !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: #64748b !important;
  background: rgba(255,255,255,0.7) !important;
  border: 1px solid rgba(15,23,42,0.12) !important;
  border-radius: 10px !important;
  cursor: pointer !important;
}

.gfcs-widget__tz--fancy {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.42rem 0.7rem !important;
  background: rgba(255,255,255,0.85) !important;
  border: 1px solid rgba(15,23,42,0.09) !important;
  border-radius: 10px !important;
  font-size: 0.78rem !important;
}
