.fbs-portal-page { width: 100%; max-width: 100%; min-height: 70vh; padding: clamp(38px, 7vw, 90px) 0; overflow-x: clip; }
.fbs-portal-page > .container { width: 100%; max-width: 100%; padding-right: clamp(16px, 4vw, 32px); padding-left: clamp(16px, 4vw, 32px); }
.fbs-portal {
  --fbs-ink: #17221d;
  --fbs-muted: #69776f;
  --fbs-line: #dfe7e2;
  --fbs-soft: #f4f8f5;
  --fbs-accent: #176b4a;
  --fbs-accent-dark: #0e5036;
  width: min(1120px, 100%);
  margin: 32px auto;
  color: var(--fbs-ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
}
.fbs-portal *, .fbs-portal *::before, .fbs-portal *::after { box-sizing: border-box; }
.fbs-portal button, .fbs-portal input, .fbs-portal select, .fbs-portal textarea { font: inherit; text-transform: none; }
.fbs-portal-notice { margin-bottom: 18px; padding: 13px 16px; border-radius: 8px; font-weight: 700; }
.fbs-portal-notice.is-success { color: #0e5a36; background: #dff3e8; }
.fbs-portal-notice.is-error { color: #8b2424; background: #fbe5e5; }
.fbs-portal-login { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); min-height: 520px; overflow: hidden; background: #fff; border: 1px solid var(--fbs-line); border-radius: 20px; box-shadow: 0 20px 60px rgba(30,58,45,.1); }
.fbs-portal-intro { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 7vw, 72px); color: #fff; background: linear-gradient(145deg, #123d2c, #1c7654); }
.fbs-portal-intro > span, .fbs-portal-header > div > span { color: #bce8d3; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.fbs-portal-intro h1, .fbs-portal-header h1 { margin: 10px 0; color: inherit; font-size: clamp(30px, 5vw, 48px); line-height: 1.12; text-transform: none; }
.fbs-portal-intro p, .fbs-portal-header p { max-width: 580px; margin: 0; color: rgba(255,255,255,.78); }
.fbs-portal-card { padding: 48px 36px; background: #fff; }
.fbs-login-card { display: flex; flex-direction: column; justify-content: center; }
.fbs-login-card input[type=text], .fbs-login-card input[type=password] { font-family: "dm-sans", sans-serif; font-weight: 500; letter-spacing: 0; text-transform: none; }
.fbs-password-field { position: relative; display: block; }
.fbs-password-field input { padding-right: 48px !important; }
.fbs-password-toggle { position: absolute; top: calc(50% + 3px); right: 7px; display: grid; width: 36px; height: 36px; padding: 7px; place-items: center; color: var(--fbs-muted); background: transparent; border: 0; border-radius: 6px; cursor: pointer; transform: translateY(-50%); }
.fbs-password-toggle:hover, .fbs-password-toggle:focus-visible { color: var(--fbs-accent); background: var(--fbs-soft); outline: 0; }
.fbs-password-toggle svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fbs-password-toggle .fbs-eye-closed, .fbs-password-toggle.is-visible .fbs-eye-open { display: none; }
.fbs-password-toggle.is-visible .fbs-eye-closed { display: block; }
.fbs-portal-card h2 { margin: 0 0 22px; color: var(--fbs-ink); font-size: 23px; text-transform: none; }
.fbs-portal label { display: block; margin-bottom: 16px; color: var(--fbs-ink); font-size: 14px; font-weight: 750; }
.fbs-portal input:not([type=checkbox]), .fbs-portal select, .fbs-portal textarea { width: 100%; min-width: 0; min-height: 46px; margin-top: 6px; padding: 9px 12px; color: var(--fbs-ink); background: #fff; border: 1px solid #cbd8d1; border-radius: 8px; }
.fbs-portal textarea { resize: vertical; }
.fbs-portal input:focus, .fbs-portal select:focus, .fbs-portal textarea:focus { border-color: var(--fbs-accent); box-shadow: 0 0 0 3px rgba(23,107,74,.13); outline: 0; }
.fbs-portal-check { display: flex !important; gap: 8px; align-items: center; }
.fbs-portal-check input, .fbs-day-check input { width: 17px; height: 17px; margin: 0; }
.fbs-portal-primary, .fbs-portal-secondary { min-height: 44px; padding: 10px 18px; border-radius: 8px; cursor: pointer; font-size: 14px; font-weight: 800; line-height: 1.25; }
.fbs-portal-primary { color: #fff; background: var(--fbs-accent); border: 1px solid var(--fbs-accent); }
.fbs-portal-primary:hover { color: #fff; background: var(--fbs-accent-dark); }
.fbs-portal-secondary { color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.55); }
.fbs-portal-header { position: relative; inset: auto; z-index: auto; display: flex; width: 100%; max-width: 100%; min-height: 0; height: auto; justify-content: space-between; gap: 30px; align-items: center; padding: 36px 40px; overflow: visible; color: #fff; background: linear-gradient(135deg, #123d2c, #1c7654); border-radius: 18px; }
.fbs-portal-header > div { min-width: 0; }
.fbs-portal-header h1, .fbs-portal-header p { overflow-wrap: anywhere; }
.fbs-portal-header form { flex: 0 0 auto; margin: 0; }
.fbs-portal-header h1 { font-size: clamp(28px, 4vw, 40px); }
.fbs-portal-nav { display: flex; gap: 6px; margin: 16px 0 24px; padding: 6px; overflow-x: auto; background: #fff; border: 1px solid var(--fbs-line); border-radius: 10px; }
.fbs-portal-nav a { flex: 0 0 auto; padding: 9px 13px; color: var(--fbs-accent-dark); border-radius: 7px; font-size: 13px; font-weight: 750; text-decoration: none; }
.fbs-portal-nav a:hover { background: var(--fbs-soft); }
.fbs-portal-section { margin-top: 22px; padding: clamp(20px, 4vw, 34px); background: #fff; border: 1px solid var(--fbs-line); border-radius: 14px; box-shadow: 0 4px 20px rgba(30,58,45,.05); scroll-margin-top: 24px; }
.fbs-section-heading { display: flex; justify-content: space-between; gap: 30px; align-items: start; margin-bottom: 24px; }
.fbs-section-heading > div { display: flex; gap: 11px; align-items: center; }
.fbs-section-heading > div > span { display: grid; width: 30px; height: 30px; place-items: center; flex: 0 0 auto; color: var(--fbs-accent); background: #e7f4ed; border-radius: 50%; font-size: 11px; font-weight: 800; }
.fbs-section-heading h2 { margin: 0; color: var(--fbs-ink); font-size: 22px; line-height: 1.25; text-transform: none; }
.fbs-section-heading p { max-width: 470px; margin: 2px 0 0; color: var(--fbs-muted); font-size: 13px; text-align: right; }
.fbs-booking-list { display: grid; gap: 12px; }
.fbs-booking-card { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 18px; align-items: start; padding: 18px; border: 1px solid var(--fbs-line); border-radius: 10px; }
.fbs-booking-date { display: flex; height: 60px; align-items: center; justify-content: center; flex-direction: column; color: var(--fbs-accent-dark); background: var(--fbs-soft); border-radius: 9px; }
.fbs-booking-date strong { font-size: 23px; line-height: 1; }
.fbs-booking-date span { margin-top: 4px; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.fbs-booking-main { min-width: 0; }
.fbs-booking-main > div:first-child { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.fbs-booking-main h3 { margin: 0; color: var(--fbs-ink); font-size: 17px; line-height: 1.3; text-transform: none; overflow-wrap: anywhere; }
.fbs-booking-main p { margin: 3px 0 0; color: var(--fbs-muted); font-size: 13px; }
.fbs-booking-main .fbs-booking-service { margin-top: 7px; color: var(--fbs-accent-dark); font-weight: 750; }
.fbs-booking-status { flex: 0 0 auto; padding: 4px 8px; color: #0e5a36; background: #dff3e8; border-radius: 20px; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.fbs-booking-status.is-cancelled { color: #8b2424; background: #fbe5e5; }
.fbs-booking-status.is-completed { color: #4d5963; background: #edf0f2; }
.fbs-booking-main dl { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 18px; margin: 15px 0 0; }
.fbs-booking-main dl div { min-width: 0; }
.fbs-booking-main dl .is-wide { grid-column: 1 / -1; }
.fbs-booking-main dt { color: var(--fbs-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.fbs-booking-main dd { margin: 2px 0 0; overflow-wrap: anywhere; font-size: 13px; }
.fbs-booking-actions { display: flex; gap: 8px; align-self: center; margin: 0; }
.fbs-portal-link { padding: 7px 10px; color: var(--fbs-accent); background: transparent; border: 1px solid #bed6ca; border-radius: 7px; cursor: pointer; font-size: 12px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.fbs-portal-link.is-danger { color: #9e2f2f; border-color: #e6bcbc; }
.fbs-portal-service-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr); gap: 20px; align-items: start; }
.fbs-portal-services { display: grid; gap: 9px; }
.fbs-portal-service-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--fbs-line); border-radius: 9px; }
.fbs-portal-service-row > div:first-child { min-width: 0; }
.fbs-portal-service-row strong, .fbs-portal-service-row small { display: block; overflow-wrap: anywhere; }
.fbs-portal-service-row small { margin-top: 3px; color: var(--fbs-muted); }
.fbs-portal-service-row > div:first-child > span { display: inline-block; margin-top: 7px; padding: 3px 7px; color: #6c7781; background: #edf0f2; border-radius: 20px; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.fbs-portal-service-row > div:first-child > span.is-active { color: #0e5a36; background: #dff3e8; }
.fbs-portal-service-actions { display: flex; flex: 0 0 auto; gap: 7px; align-items: center; }
.fbs-portal-service-actions form { margin: 0; }
.fbs-portal-service-form { padding: 18px; background: var(--fbs-soft); border-radius: 10px; }
.fbs-portal-service-form h3 { margin: 0 0 18px; color: var(--fbs-ink); font-size: 18px; text-transform: none; }
.fbs-portal-service-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fbs-portal-service-fields label { min-width: 0; }
.fbs-portal-service-form-actions { display: flex; gap: 9px; align-items: center; }
.fbs-portal-service-selection { margin: 0; }
.fbs-portal-service-options { display: grid; gap: 10px; margin-bottom: 20px; }
.fbs-portal-service-option { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, .38fr); gap: 22px; align-items: center; padding: 16px; border: 1px solid var(--fbs-line); border-radius: 10px; }
.fbs-portal-service-choice { min-width: 0; margin: 0 !important; align-items: flex-start; }
.fbs-portal-service-choice > span { min-width: 0; }
.fbs-portal-service-choice strong, .fbs-portal-service-choice small, .fbs-portal-service-choice em { display: block; overflow-wrap: anywhere; }
.fbs-portal-service-choice small { margin-top: 4px; color: var(--fbs-muted); font-weight: 500; }
.fbs-portal-service-choice em { margin-top: 5px; color: var(--fbs-muted); font-size: 12px; font-style: normal; font-weight: 400; }
.fbs-portal-service-price { min-width: 0; margin: 0 !important; }
.fbs-portal-service-price > span { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.fbs-portal-service-price input { min-width: 0; margin: 6px 0 0 !important; }
.fbs-portal-service-price em { color: var(--fbs-muted); font-size: 12px; font-style: normal; font-weight: 800; }
.fbs-portal-schedule { margin-bottom: 20px; border-top: 1px solid var(--fbs-line); }
.fbs-portal-day { display: grid; grid-template-columns: minmax(130px, .8fr) minmax(270px, 1.2fr); gap: 24px; align-items: center; padding: 14px 2px; border-bottom: 1px solid var(--fbs-line); }
.fbs-day-check { display: flex !important; gap: 9px; align-items: center; margin: 0 !important; }
.fbs-portal-day > div { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: end; }
.fbs-portal-day label { margin: 0; color: var(--fbs-muted); font-size: 11px; }
.fbs-override-form { display: grid; grid-template-columns: 1.2fr .8fr .8fr 1.2fr auto; gap: 12px; align-items: end; padding: 18px; background: var(--fbs-soft); border-radius: 10px; }
.fbs-override-form label { margin: 0; }
.fbs-override-form .fbs-portal-primary { margin-bottom: 0; }
.fbs-overrides { display: grid; gap: 8px; margin-top: 18px; }
.fbs-override-row { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 12px 14px; border: 1px solid var(--fbs-line); border-radius: 8px; }
.fbs-override-row > div { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.fbs-override-row span { padding: 3px 7px; border-radius: 20px; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.fbs-override-row span.is-available { color: #0e5a36; background: #dff3e8; }
.fbs-override-row span.is-unavailable { color: #8b2424; background: #fbe5e5; }
.fbs-override-row small { color: var(--fbs-muted); }
.fbs-override-row form { margin: 0; }
.fbs-portal-empty { margin: 0; padding: 26px; color: var(--fbs-muted); background: var(--fbs-soft); border-radius: 9px; text-align: center; }
.fbs-confirm-dialog { width: min(450px, calc(100vw - 32px)); max-width: 100%; margin: auto; padding: 0; color: var(--fbs-ink); background: #fff; border: 0; border-radius: 14px; box-shadow: 0 24px 80px rgba(7, 23, 16, .35); }
.fbs-confirm-dialog::backdrop { background: rgba(7, 18, 13, .68); backdrop-filter: blur(2px); }
.fbs-dialog-content { padding: 28px; }
.fbs-dialog-kicker { color: var(--fbs-accent); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.fbs-confirm-dialog h2 { margin: 8px 0 10px; color: var(--fbs-ink); font-size: 25px; line-height: 1.2; text-transform: none; }
.fbs-confirm-dialog p { margin: 0; color: var(--fbs-muted); font-size: 14px; line-height: 1.6; }
.fbs-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.fbs-dialog-actions .fbs-portal-link { min-height: 42px; padding: 9px 13px; background: #fff; white-space: normal; }
.fbs-dialog-actions .fbs-dialog-confirm { color: #fff; background: #9e2f2f; border-color: #9e2f2f; }
.fbs-dialog-actions .fbs-dialog-confirm:hover { background: #812525; }
@media (max-width: 860px) {
  .fbs-portal-login { grid-template-columns: 1fr; }
  .fbs-portal-intro { min-height: 300px; }
  .fbs-portal-header, .fbs-section-heading { align-items: stretch; flex-direction: column; }
	.fbs-section-heading p { max-width: none; text-align: left; }
	.fbs-portal-service-layout { grid-template-columns: 1fr; }
  .fbs-override-form { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .fbs-override-form .fbs-portal-primary { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .fbs-portal-page { padding: 24px 0; }
  .fbs-portal { margin: 0 auto; }
  .fbs-portal-login, .fbs-portal-header, .fbs-portal-section { border-radius: 10px; }
  .fbs-portal-intro, .fbs-portal-card, .fbs-portal-header { padding: 26px 20px; }
  .fbs-portal-header { gap: 22px; }
  .fbs-portal-header > div > span { font-size: 10px; }
  .fbs-portal-header h1 { margin: 8px 0; font-size: clamp(28px, 9vw, 36px); line-height: 1.06; }
  .fbs-portal-header p { font-size: 13px; line-height: 1.5; }
  .fbs-portal-header form, .fbs-portal-header .fbs-portal-secondary { width: 100%; }
  .fbs-portal-secondary { min-height: 46px; padding: 10px 12px; font-size: 12px; white-space: normal; }
  .fbs-portal-section { margin-top: 16px; padding: 20px 16px; }
  .fbs-section-heading { gap: 12px; margin-bottom: 18px; }
  .fbs-section-heading h2 { font-size: 20px; }
  .fbs-section-heading p { font-size: 12px; line-height: 1.55; }
  .fbs-booking-card { grid-template-columns: 48px minmax(0,1fr); gap: 12px; padding: 13px; }
  .fbs-booking-date { width: 48px; height: 54px; }
  .fbs-booking-main > div:first-child { align-items: flex-start; flex-direction: column; gap: 7px; }
  .fbs-booking-main dl { grid-template-columns: 1fr; }
  .fbs-booking-main dl .is-wide { grid-column: auto; }
	.fbs-booking-actions { grid-column: 1 / -1; justify-content: flex-end; }
	.fbs-portal-service-row { align-items: flex-start; flex-direction: column; }
	.fbs-portal-service-actions { width: 100%; justify-content: flex-end; }
	.fbs-portal-service-fields { grid-template-columns: 1fr; }
	.fbs-portal-service-option { grid-template-columns: 1fr; gap: 13px; }
	.fbs-portal-service-form-actions { align-items: stretch; flex-direction: column; }
	.fbs-portal-service-form-actions > * { width: 100%; text-align: center; }
  .fbs-portal-day { grid-template-columns: 1fr; gap: 10px; }
  .fbs-portal-day > div { gap: 7px; }
  .fbs-override-form { grid-template-columns: 1fr; }
  .fbs-override-form .fbs-portal-primary { grid-column: auto; }
  .fbs-override-row { align-items: flex-start; }
  .fbs-dialog-content { padding: 22px 18px; }
  .fbs-confirm-dialog h2 { font-size: 22px; }
  .fbs-dialog-actions { align-items: stretch; flex-direction: column-reverse; }
  .fbs-dialog-actions .fbs-portal-link { width: 100%; }
}
