/* ============================================================
   RazorFlow — konfigurator właściciela + Centrum startowe
   Mobile-first (baza 375px). Własne klasy rf-* (celowo bez .btn,
   .card, .actions itd. — panel.css wymusza na nich style mobile).
   ============================================================ */

.rf-onb,
.rf-hub,
.rf-activation-banner {
  --rf-bg: #090e1c;
  --rf-panel: #0e1530;
  --rf-card: rgba(15, 22, 44, 0.92);
  --rf-brd: rgba(255, 255, 255, 0.1);
  --rf-brd-strong: rgba(255, 255, 255, 0.16);
  --rf-acc: #7c5cff;
  --rf-acc-2: #3bdfb9;
  --rf-pos: #37d67a;
  --rf-warn: #f3c316;
  --rf-danger: #ff5c7a;
  --rf-txt: #e8ecf8;
  --rf-muted: #9aa7c7;
  --rf-faint: rgba(255, 255, 255, 0.55);
  --rf-grad-primary: linear-gradient(135deg, #7c5cff, #5a48e0);
  --rf-grad-brand: linear-gradient(135deg, #7c5cff 0%, #4b8dff 55%, #3bdfb9 100%);
  --rf-grad-go: linear-gradient(135deg, #34d97f, #17b569);
}

/* ============================================================
   1. Baner aktywacji e-mail (bez zmian funkcjonalnych)
   ============================================================ */
.rf-activation-banner {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(980px, calc(100vw - 24px));
  z-index: 4300;
  border: 1px solid rgba(255, 184, 71, 0.45);
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(53, 33, 4, 0.98), rgba(32, 20, 3, 0.98));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
  padding: 14px 16px;
  display: none;
  gap: 12px;
  align-items: center;
}

.rf-activation-banner.is-visible {
  display: flex;
}

.rf-activation-banner__badge {
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #fedf9a;
  border: 1px solid rgba(254, 223, 154, 0.32);
  background: rgba(254, 223, 154, 0.11);
}

.rf-activation-banner__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.rf-activation-banner__title {
  font-weight: 700;
  color: #ffe8b2;
}

.rf-activation-banner__sub {
  font-size: 12px;
  color: #f7d9a0;
  opacity: 0.92;
}

.rf-activation-banner__actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.rf-activation-banner__security:not(.rf-registration-security-active) {
  display: none;
}

.rf-activation-banner__security.rf-registration-security-active {
  flex: 0 1 300px;
  min-width: 0;
}

.rf-activation-banner button {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff6e7;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.rf-activation-banner button[data-role="resend"] {
  background: linear-gradient(135deg, #ffd58b, #f7b84e);
  color: #332003;
  border-color: transparent;
}

@media (max-width: 760px) {
  .rf-activation-banner {
    top: 10px;
    width: calc(100vw - 12px);
    padding: 12px;
    flex-wrap: wrap;
  }

  .rf-activation-banner__actions {
    margin-left: 0;
    width: 100%;
  }

  .rf-activation-banner__security.rf-registration-security-active {
    flex: 1 0 100%;
    order: 3;
  }

  .rf-activation-banner__actions button {
    flex: 1;
  }
}

/* ============================================================
   2. Overlay kreatora — mobile: pełnoekranowy sheet,
      desktop (≥768px): wycentrowany modal
   ============================================================ */
.rf-onb {
  position: fixed;
  inset: 0;
  z-index: 4400;
  display: none;
  background: rgba(4, 8, 18, 0.8);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.rf-onb.is-visible {
  display: block;
}

body.rf-onb-lock {
  overflow: hidden;
}

.rf-onb__sheet {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(130% 60% at 15% -8%, rgba(124, 92, 255, 0.16), transparent 55%),
    radial-gradient(110% 50% at 108% 4%, rgba(59, 223, 185, 0.08), transparent 50%),
    linear-gradient(165deg, #0d142c 0%, #090e1c 55%, #0a0f21 100%);
  color: var(--rf-txt);
}

/* nagłówek sheeta */
.rf-onb__head {
  flex: none;
  padding: 14px 16px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(9, 14, 28, 0.6);
}

.rf-onb__head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rf-onb__kicker {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(163, 149, 255, 0.9);
}

.rf-onb__close {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  border: 1px solid var(--rf-brd);
  background: rgba(255, 255, 255, 0.06);
  color: var(--rf-txt);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rf-onb__title {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}

.rf-onb__lead {
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--rf-muted);
}

.rf-onb__progress {
  margin-top: 10px;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.rf-onb__progress > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--rf-grad-brand);
  transition: width 0.4s ease;
}

/* pigułki kroków 1-5 */
.rf-onb__pills {
  margin-top: 10px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}

.rf-onb__pills::-webkit-scrollbar {
  display: none;
}

.rf-onb-pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--rf-brd);
  background: rgba(255, 255, 255, 0.04);
  color: var(--rf-muted);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.rf-onb-pill__no {
  width: 17px;
  height: 17px;
  flex: none;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.09);
  color: var(--rf-txt);
}

.rf-onb-pill.is-active {
  border-color: rgba(124, 92, 255, 0.65);
  background: rgba(124, 92, 255, 0.16);
  color: #fff;
}

.rf-onb-pill.is-active .rf-onb-pill__no {
  background: var(--rf-grad-primary);
  color: #fff;
}

.rf-onb-pill.is-done .rf-onb-pill__no {
  background: rgba(55, 214, 122, 0.2);
  color: var(--rf-pos);
}

.rf-onb-pill.is-done {
  border-color: rgba(55, 214, 122, 0.35);
}

/* treść */
.rf-onb__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: clip;
  -webkit-overflow-scrolling: touch;
  padding: 16px 16px 28px;
}

/* stopka nawigacji */
.rf-onb__foot {
  flex: none;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(8, 12, 24, 0.92);
  padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px));
}

.rf-onb__note {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--rf-muted);
  margin-bottom: 8px;
}

.rf-onb__note:empty {
  display: none;
}

.rf-onb__nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rf-onb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rf-brd-strong);
  border-radius: 12px;
  padding: 12px 16px;
  min-height: 44px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--rf-txt);
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.rf-onb-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.rf-onb-btn--primary {
  flex: 1;
  border-color: transparent;
  background: var(--rf-grad-primary);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(124, 92, 255, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.rf-onb-btn--primary:not(:disabled):active {
  transform: translateY(1px);
}

.rf-onb__skip {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: none;
  background: none;
  color: var(--rf-faint);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* widoki welcome/finale chowają stopkę kroków */
.rf-onb--bare .rf-onb__foot,
.rf-onb--bare .rf-onb__pills,
.rf-onb--bare .rf-onb__progress {
  display: none;
}

/* ============================================================
   3. Ekran powitalny + finał
   ============================================================ */
.rf-onb-welcome,
.rf-onb-finale {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 4px;
}

.rf-onb-hero {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(124, 92, 255, 0.3);
  background:
    radial-gradient(120% 130% at 85% 10%, rgba(59, 223, 185, 0.16), transparent 55%),
    linear-gradient(150deg, rgba(124, 92, 255, 0.28), rgba(13, 19, 40, 0.9) 60%);
  overflow: hidden;
  min-height: 150px;
  padding: 18px;
  display: flex;
  align-items: flex-end;
}

.rf-onb-hero__chips {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.rf-onb-hero__chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(13, 18, 38, 0.92);
  box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.6);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  animation: rfOnbChipIn 0.5s ease forwards;
}

.rf-onb-hero__chip em {
  font-style: normal;
  color: var(--rf-pos);
}

.rf-onb-hero__chip:nth-child(1) { top: 14px; left: 14px; animation-delay: 0.15s; }
.rf-onb-hero__chip:nth-child(2) { top: 46px; right: 16px; animation-delay: 0.45s; }
.rf-onb-hero__chip:nth-child(3) { top: 86px; left: 34px; animation-delay: 0.75s; }

@keyframes rfOnbChipIn {
  to {
    opacity: 1;
    transform: none;
  }
}

.rf-onb-hero__logo {
  position: relative;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.rf-onb-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(124, 92, 255, 0.45);
  background: rgba(124, 92, 255, 0.14);
  color: #cabdff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rf-onb-welcome__title,
.rf-onb-finale__title {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0;
}

.rf-onb-welcome__sub,
.rf-onb-finale__sub {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--rf-muted);
  margin: 0;
}

.rf-onb-welcome__list {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.rf-onb-welcome__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--rf-brd);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--rf-txt);
}

.rf-onb-welcome__ico {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: linear-gradient(150deg, rgba(124, 92, 255, 0.28), rgba(124, 92, 255, 0.07));
  border: 1px solid rgba(124, 92, 255, 0.3);
}

.rf-onb-welcome__time {
  font-size: 12px;
  color: var(--rf-faint);
  text-align: center;
}

.rf-onb-welcome__cta,
.rf-onb-finale__cta {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.rf-onb-btn--ghosttext {
  border: none;
  background: none;
  color: var(--rf-faint);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* finał */
.rf-onb-finale__burst {
  position: relative;
  height: 90px;
  border-radius: 18px;
  border: 1px solid rgba(55, 214, 122, 0.35);
  background:
    radial-gradient(120% 160% at 50% 120%, rgba(55, 214, 122, 0.22), transparent 60%),
    linear-gradient(150deg, rgba(13, 19, 40, 0.9), rgba(9, 14, 28, 0.95));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  overflow: hidden;
}

.rf-onb-finale__burst i {
  position: absolute;
  width: 7px;
  height: 11px;
  border-radius: 2px;
  top: -12px;
  opacity: 0;
  animation: rfOnbConfetti 2.6s ease-in infinite;
}

.rf-onb-finale__burst i:nth-child(1) { left: 12%; background: #7c5cff; animation-delay: 0.1s; }
.rf-onb-finale__burst i:nth-child(2) { left: 28%; background: #3bdfb9; animation-delay: 0.5s; }
.rf-onb-finale__burst i:nth-child(3) { left: 44%; background: #f0c96c; animation-delay: 0.9s; }
.rf-onb-finale__burst i:nth-child(4) { left: 62%; background: #37d67a; animation-delay: 0.3s; }
.rf-onb-finale__burst i:nth-child(5) { left: 78%; background: #6d7bff; animation-delay: 0.7s; }
.rf-onb-finale__burst i:nth-child(6) { left: 90%; background: #ff8ba1; animation-delay: 1.1s; }

@keyframes rfOnbConfetti {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }

  12% {
    opacity: 1;
  }

  100% {
    transform: translateY(120px) rotate(320deg);
    opacity: 0;
  }
}

.rf-onb-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.rf-onb-stat {
  border: 1px solid var(--rf-brd);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rf-onb-stat b {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.rf-onb-stat span {
  font-size: 11.5px;
  color: var(--rf-muted);
}

/* ============================================================
   4. Wspólne klocki formularzy kroków (przeniesione)
   ============================================================ */
.rf-onboarding-inline {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto;
}

/* Grid-blowout guard: dzieci nie mogą rozpychać kolumny swoim min-content
   (np. obrazek hero o dużej szerokości wewnętrznej). */
.rf-onboarding-inline > *,
.rf-onboarding-inline-grid > *,
.rf-mod-grid > * {
  min-width: 0;
}

.rf-onboarding-inline-loading,
.rf-onboarding-inline-msg,
.rf-onboarding-inline-empty {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.5;
  color: #c6d8f7;
}

.rf-onboarding-inline-loading {
  color: #a8c0eb;
}

.rf-onboarding-inline-empty {
  border-style: dashed;
  color: #a6b8da;
}

.rf-onboarding-inline-msg:empty {
  display: none;
}

.rf-onboarding-inline-msg.is-error {
  border-color: rgba(255, 121, 121, 0.44);
  background: rgba(255, 121, 121, 0.13);
  color: #ffd4d4;
}

.rf-onboarding-inline-msg.is-warning {
  border-color: rgba(255, 190, 102, 0.45);
  background: rgba(255, 190, 102, 0.1);
  color: #ffe1b5;
}

.rf-onboarding-inline-block,
.rf-onboarding-inline-form {
  border: 1px solid var(--rf-brd);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  padding: 13px;
}

.rf-onboarding-inline-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.rf-onboarding-inline-divider {
  margin: 12px 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.rf-onboarding-inline-list {
  display: grid;
  gap: 8px;
}

.rf-onboarding-inline-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(7, 13, 28, 0.65);
  padding: 10px 11px;
}

.rf-onboarding-inline-item__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.rf-onboarding-inline-item__title {
  font-size: 13px;
  font-weight: 700;
  color: #e6eeff;
}

.rf-onboarding-inline-item__meta {
  font-size: 12px;
  color: #a8bce0;
  margin-top: 2px;
}

.rf-onboarding-inline-badges {
  margin-top: 8px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.rf-onboarding-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  line-height: 1;
  color: #ccdefd;
  border: 1px solid rgba(142, 192, 255, 0.38);
  background: rgba(142, 192, 255, 0.12);
}

.rf-onboarding-badge.is-muted {
  color: #a8b8d8;
  border-color: rgba(168, 184, 216, 0.28);
  background: rgba(168, 184, 216, 0.08);
}

.rf-onboarding-note {
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.55;
  border: 1px solid rgba(252, 202, 130, 0.45);
  background: rgba(252, 202, 130, 0.1);
  color: #ffe9c6;
}

.rf-step-hero {
  width: 100%;
  margin-bottom: 14px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rf-step-hero img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: cover;
  display: block;
}

/* pola / gridy */
.rf-onboarding-inline-grid {
  display: grid;
  gap: 10px;
}

.rf-onboarding-inline-grid.cols-2,
.rf-onboarding-inline-grid.cols-3 {
  grid-template-columns: 1fr;
}

.rf-onboarding-inline-grid label {
  display: grid;
  gap: 5px;
  font-size: 12px;
  color: #bad0f3;
}

.rf-onboarding-inline-grid input,
.rf-onboarding-inline-grid select {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 10px 11px;
  background: rgba(0, 0, 0, 0.22);
  color: #f0f5ff;
  font-size: 14px;
  min-height: 42px;
}

.rf-onboarding-inline-grid select {
  color-scheme: dark;
}

.rf-onboarding-inline-grid select option {
  background: #111827;
  color: #f9fafb;
}

.rf-onboarding-inline-grid select option:checked,
.rf-onboarding-inline-grid select option:hover,
.rf-onboarding-inline-grid select option:focus {
  background: #5a48e0;
  color: #fff;
}

.rf-onboarding-inline-grid input:focus,
.rf-onboarding-inline-grid select:focus {
  outline: none;
  border-color: rgba(124, 92, 255, 0.65);
  box-shadow: 0 0 0 2px rgba(124, 92, 255, 0.22);
}

.rf-onboarding-inline-checks {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.rf-onboarding-inline-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #c8d6f1;
}

.rf-onboarding-inline-grid .rf-onboarding-inline-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.rf-onboarding-inline-check input {
  width: 16px;
  height: 16px;
}

.rf-onboarding-inline-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rf-onboarding-inline-actions button {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 11px;
  padding: 11px 13px;
  background: rgba(255, 255, 255, 0.08);
  color: #e8efff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.rf-onboarding-inline-actions button[data-role="primary"] {
  border-color: transparent;
  background: var(--rf-grad-go, linear-gradient(135deg, #34d97f, #17b569));
  color: #04160c;
  box-shadow: 0 8px 18px -8px rgba(52, 217, 127, 0.55);
}

.rf-onboarding-inline-actions button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* edycja usług */
.rf-service-item__actions {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.rf-service-btn {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #b8c8eb;
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
  line-height: 1;
}

.rf-service-btn:hover {
  background: rgba(124, 92, 255, 0.16);
  border-color: rgba(124, 92, 255, 0.42);
  color: #cabdff;
}

.rf-service-btn--danger:hover {
  background: rgba(255, 92, 122, 0.15);
  border-color: rgba(255, 92, 122, 0.4);
  color: #ff8ba1;
}

.rf-service-item__edit .rf-onboarding-inline-grid {
  margin-top: 0;
}

/* wiersze progów payroll */
.rf-payroll-tier-list {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.rf-payroll-tier-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: end;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(7, 13, 28, 0.65);
  padding: 10px;
}

.rf-payroll-tier-row label {
  display: grid;
  gap: 5px;
  font-size: 12px;
  color: #bfd2f4;
}

.rf-payroll-tier-row input {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  padding: 9px 10px;
  background: rgba(0, 0, 0, 0.2);
  color: #f0f5ff;
  font-size: 13px;
}

.rf-payroll-tier-row button {
  border-radius: 10px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #e8efff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.rf-onboarding-inline-table {
  display: grid;
  gap: 8px;
}

.rf-onboarding-inline-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(7, 13, 28, 0.65);
  padding: 10px;
}

.rf-onboarding-inline-row__main {
  min-width: 0;
}

.rf-onboarding-inline-row__title {
  font-size: 13px;
  font-weight: 700;
  color: #e8f0ff;
}

.rf-onboarding-inline-row__meta {
  margin-top: 3px;
  font-size: 12px;
  color: #a8bde2;
}

.rf-onboarding-inline-row label {
  display: grid;
  gap: 5px;
  font-size: 12px;
  color: #bfd2f4;
}

.rf-onboarding-inline-row input {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.2);
  color: #f0f5ff;
  font-size: 13px;
}

.rf-onboarding-inline-row button {
  border-radius: 10px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #e8efff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

/* ============================================================
   5. Karty modeli wypłat (przeniesione, akcenty brandowe)
   ============================================================ */
.rf-module-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px;
  background: rgba(10, 15, 30, 0.4);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  user-select: none;
}

.rf-module-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(124, 92, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.rf-module-card.is-active {
  background: rgba(59, 223, 185, 0.05);
  border-color: rgba(59, 223, 185, 0.55);
  box-shadow: 0 0 0 1px rgba(59, 223, 185, 0.3), 0 12px 28px rgba(0, 0, 0, 0.3);
}

.rf-module-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rf-module-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s ease;
}

.rf-module-card.is-active .rf-module-card__icon {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.22), rgba(59, 223, 185, 0.2));
  color: #3bdfb9;
  box-shadow: 0 0 12px rgba(59, 223, 185, 0.2);
}

.rf-module-card__toggle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.rf-module-card__toggle svg {
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  color: #0b1123;
  width: 14px;
  height: 14px;
}

.rf-module-card.is-active .rf-module-card__toggle {
  background: linear-gradient(135deg, #3bdfb9, #37d67a);
  border-color: transparent;
}

.rf-module-card.is-active .rf-module-card__toggle svg {
  opacity: 1;
  transform: scale(1);
}

.rf-module-card__title {
  font-size: 15px;
  font-weight: 700;
  color: #e6eeff;
  margin-top: 4px;
}

.rf-module-card__desc {
  font-size: 12px;
  color: #a8bce0;
  line-height: 1.5;
}

.rf-module-card__hidden-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* ============================================================
   6. Infografiki payroll (przeniesione)
   ============================================================ */
.rf-payroll-infographic {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 16px 0;
  padding: 20px;
  background: linear-gradient(135deg, rgba(12, 18, 38, 0.6), rgba(15, 25, 49, 0.8));
  border: 1px solid rgba(124, 92, 255, 0.2);
  border-radius: 16px;
  box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.2);
  flex-direction: column;
}

.rf-infographic-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  min-width: 120px;
  transition: transform 0.3s ease;
}

.rf-infographic-step:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.05);
}

.rf-infographic-step.focus {
  background: rgba(124, 92, 255, 0.1);
  border-color: rgba(124, 92, 255, 0.4);
  box-shadow: 0 4px 16px rgba(124, 92, 255, 0.15);
}

.rf-infographic-step.result {
  background: rgba(59, 209, 155, 0.1);
  border-color: rgba(59, 209, 155, 0.4);
  box-shadow: 0 4px 16px rgba(59, 209, 155, 0.15);
}

.rf-infographic-icon {
  font-size: 28px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.rf-infographic-text {
  font-size: 13px;
  color: #b8c8eb;
  line-height: 1.4;
}

.rf-infographic-text b {
  display: block;
  font-size: 15px;
  color: #fff;
  margin-top: 2px;
}

.rf-infographic-step.focus .rf-infographic-text b {
  color: #bfaaff;
}

.rf-infographic-step.result .rf-infographic-text b {
  color: #8bfcd2;
}

.rf-infographic-math {
  font-size: 24px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

/* ============================================================
   7. Przełącznik modułu + pola dodatkowe (przeniesione)
   ============================================================ */
.rf-wizard-switch {
  /* position:relative jest KRYTYCZNE: ukryty checkbox ma position:absolute —
     bez tego jego containing blockiem robi się sheet kreatora i input „ucieka"
     setki px od switcha; realny klik → focus → przeglądarka skroluje body
     kreatora do widma → widok skacze w pustkę. */
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s ease, background 0.3s ease;
  user-select: none;
}

.rf-wizard-switch.is-on {
  border-color: rgba(55, 214, 122, 0.5);
  background: rgba(55, 214, 122, 0.08);
}

.rf-wizard-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rf-wizard-switch__track {
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  flex-shrink: 0;
  transition: background 0.3s ease;
}

.rf-wizard-switch__track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.rf-wizard-switch.is-on .rf-wizard-switch__track {
  background: linear-gradient(135deg, #3bdfb9, #37d67a);
}

.rf-wizard-switch.is-on .rf-wizard-switch__track::after {
  transform: translateX(20px);
  background: #fff;
}

.rf-wizard-switch__label {
  font-size: 13px;
  font-weight: 600;
  color: #8b9cc0;
  transition: color 0.3s ease;
}

.rf-wizard-switch.is-on .rf-wizard-switch__label {
  color: #4be39a;
}

.rf-wizard-extras {
  margin-top: 12px;
  width: 100%;
  display: none;
  text-align: left;
}

.rf-wizard-extras.is-visible {
  display: grid;
  gap: 10px;
}

.rf-wizard-extras label {
  display: grid;
  gap: 5px;
  font-size: 12px;
  color: #bad0f3;
}

.rf-wizard-extras input,
.rf-wizard-extras select {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  padding: 9px 10px;
  background: rgba(0, 0, 0, 0.2);
  color: #f0f5ff;
  font-size: 13px;
}

.rf-wizard-extras select {
  color-scheme: dark;
}

.rf-wizard-extras select option {
  background: #111827;
  color: #f9fafb;
}

.rf-wizard-extras select option:checked,
.rf-wizard-extras select option:hover,
.rf-wizard-extras select option:focus {
  background: #5a48e0;
  color: #fff;
}

.rf-wizard-extras input:focus,
.rf-wizard-extras select:focus {
  outline: none;
  border-color: rgba(124, 92, 255, 0.6);
  box-shadow: 0 0 0 2px rgba(124, 92, 255, 0.2);
}

.rf-wizard-extras .rf-onboarding-inline-checks {
  margin-top: 4px;
}

.rf-wizard-extras label.rf-onboarding-inline-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ============================================================
   8. Krok „Moduły" — grupy kafli z przełącznikami
   ============================================================ */
.rf-mod-group {
  margin-top: 14px;
}

.rf-mod-group:first-child {
  margin-top: 0;
}

.rf-mod-group__title {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(163, 149, 255, 0.85);
  margin-bottom: 8px;
}

.rf-mod-salonpick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.rf-mod-salonbtn {
  border: 1px solid var(--rf-brd);
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(255, 255, 255, 0.04);
  color: #c8d6f1;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.rf-mod-salonbtn.is-active {
  border-color: rgba(124, 92, 255, 0.65);
  background: rgba(124, 92, 255, 0.16);
  color: #fff;
}

.rf-mod-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.rf-mod-tile {
  border: 1px solid var(--rf-brd);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.rf-mod-tile.is-on {
  border-color: rgba(55, 214, 122, 0.45);
  background: rgba(55, 214, 122, 0.05);
  box-shadow: 0 0 0 1px rgba(55, 214, 122, 0.2);
}

.rf-mod-tile__row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.rf-mod-tile__ico {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: linear-gradient(150deg, rgba(124, 92, 255, 0.24), rgba(124, 92, 255, 0.06));
  border: 1px solid rgba(124, 92, 255, 0.28);
}

.rf-mod-tile__body {
  flex: 1;
  min-width: 0;
}

.rf-mod-tile__docs {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(163, 149, 255, 0.9);
  text-decoration: none;
}

.rf-mod-tile__docs:hover {
  color: #c9bdff;
  text-decoration: underline;
}

.rf-mod-tile__title {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
}

.rf-mod-tile__desc {
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--rf-muted);
}

.rf-mod-tile__desc.is-open {
  display: block;
}

.rf-mod-tile .rf-wizard-switch {
  margin-top: 10px;
  padding: 8px 10px;
}

.rf-mod-tile .rf-wizard-extras.is-visible {
  margin-top: 10px;
}

.rf-mod-tile--link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.rf-mod-tile--link:hover {
  border-color: rgba(124, 92, 255, 0.45);
}

.rf-mod-tile__go {
  flex: none;
  align-self: center;
  font-size: 16px;
  color: var(--rf-faint);
}

.rf-mod-tile__state {
  display: inline-flex;
  margin-top: 6px;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.rf-mod-tile__state.is-on {
  color: var(--rf-pos);
  background: rgba(55, 214, 122, 0.12);
  border: 1px solid rgba(55, 214, 122, 0.3);
}

.rf-mod-tile__state.is-off {
  color: #a8b8d8;
  background: rgba(168, 184, 216, 0.08);
  border: 1px solid rgba(168, 184, 216, 0.24);
}

/* ============================================================
   9. Krok „Zespół" — taby + kody zaproszeń
   ============================================================ */
.rf-onb-tabs {
  display: flex;
  gap: 6px;
  border: 1px solid var(--rf-brd);
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.22);
  padding: 4px;
  margin-bottom: 12px;
}

.rf-onb-tab {
  flex: 1;
  border: none;
  border-radius: 10px;
  padding: 10px 8px;
  background: transparent;
  color: var(--rf-muted);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.rf-onb-tab.is-active {
  background: rgba(124, 92, 255, 0.2);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(124, 92, 255, 0.45);
}

.rf-invite-result {
  border: 1px solid rgba(55, 214, 122, 0.35);
  border-radius: 14px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(59, 223, 185, 0.1), transparent 55%),
    rgba(55, 214, 122, 0.05);
  padding: 14px;
  margin-top: 10px;
}

.rf-invite-code {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #fff;
  text-align: center;
  padding: 12px 8px;
  border-radius: 12px;
  border: 1px dashed rgba(124, 92, 255, 0.5);
  background: rgba(124, 92, 255, 0.1);
  font-variant-numeric: tabular-nums;
  user-select: all;
}

.rf-invite-meta {
  margin-top: 8px;
  text-align: center;
  font-size: 11.5px;
  color: var(--rf-muted);
}

.rf-invite-actions {
  margin-top: 10px;
  display: flex;
  gap: 8px;
}

.rf-invite-actions .rf-onb-btn {
  flex: 1;
  padding: 10px 8px;
  font-size: 12.5px;
}

.rf-invite-steps {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.rf-invite-steps li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  line-height: 1.5;
  color: #c6d8f7;
}

.rf-invite-steps b {
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  background: var(--rf-grad-primary);
  color: #fff;
}

.rf-invite-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(7, 13, 28, 0.65);
  padding: 9px 11px;
}

.rf-invite-item__code {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #fff;
  white-space: nowrap;
}

.rf-invite-item__meta {
  flex: 1 1 130px;
  min-width: 0;
  font-size: 11px;
  color: var(--rf-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rf-invite-badge {
  flex: none;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rf-invite-badge.is-pending {
  color: #cabdff;
  background: rgba(124, 92, 255, 0.14);
  border: 1px solid rgba(124, 92, 255, 0.4);
}

.rf-invite-badge.is-used {
  color: var(--rf-pos);
  background: rgba(55, 214, 122, 0.12);
  border: 1px solid rgba(55, 214, 122, 0.35);
}

.rf-invite-badge.is-expired,
.rf-invite-badge.is-cancelled {
  color: #a8b8d8;
  background: rgba(168, 184, 216, 0.08);
  border: 1px solid rgba(168, 184, 216, 0.24);
}

.rf-invite-item__cancel {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 1px solid rgba(255, 92, 122, 0.3);
  background: rgba(255, 92, 122, 0.08);
  color: #ff8ba1;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   10. Centrum startowe (dashboard)
   ============================================================ */
.rf-hub {
  margin: 0 0 22px;
  border: 1px solid rgba(124, 92, 255, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(130% 120% at 100% 0%, rgba(59, 223, 185, 0.07), transparent 55%),
    linear-gradient(160deg, rgba(124, 92, 255, 0.12), rgba(12, 18, 38, 0.94) 45%);
  box-shadow: 0 18px 44px -18px rgba(0, 0, 0, 0.6);
  padding: 16px;
  color: var(--rf-txt);
}

.rf-hub__head {
  display: flex;
  align-items: center;
  gap: 13px;
}

.rf-hub__ring {
  width: 58px;
  height: 58px;
  flex: none;
  transform: rotate(-90deg);
}

.rf-hub__ring circle {
  fill: none;
  stroke-width: 6;
}

.rf-hub__ring .rf-hub__ring-track {
  stroke: rgba(255, 255, 255, 0.1);
}

.rf-hub__ring .rf-hub__ring-fill {
  stroke: url(#rfHubRingGrad);
  stroke-linecap: round;
  transition: stroke-dashoffset 0.6s ease;
}

.rf-hub__ringwrap {
  position: relative;
  flex: none;
}

.rf-hub__ringpct {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

.rf-hub__headtxt {
  flex: 1;
  min-width: 0;
}

.rf-hub__kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(163, 149, 255, 0.85);
}

.rf-hub__title {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin-top: 2px;
}

.rf-hub__count {
  font-size: 12px;
  color: var(--rf-muted);
  margin-top: 2px;
}

.rf-hub__resume {
  flex: none;
  padding: 11px 14px;
  font-size: 13px;
}

.rf-hub__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 14px;
}

.rf-hub-group__title {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rf-faint);
  margin-bottom: 7px;
}

.rf-hub-group__list {
  display: grid;
  gap: 6px;
}

.rf-hub-task {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
  min-height: 54px;
  border: 1px solid var(--rf-brd);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.03);
  padding: 9px 12px;
  color: var(--rf-txt);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.rf-hub-task:hover {
  border-color: rgba(124, 92, 255, 0.45);
  background: rgba(124, 92, 255, 0.07);
}

.rf-hub-task__ico {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.rf-hub-task__body {
  min-width: 0;
}

.rf-hub-task__title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rf-hub-task__desc {
  font-size: 11px;
  color: var(--rf-muted);
  margin-top: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rf-hub-task__state {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--rf-faint);
  background: rgba(255, 255, 255, 0.05);
}

.rf-hub-task.is-done {
  border-color: rgba(55, 214, 122, 0.28);
}

.rf-hub-task.is-done .rf-hub-task__title {
  color: #b8e9cd;
}

.rf-hub-task.is-done .rf-hub-task__state {
  background: rgba(55, 214, 122, 0.16);
  color: var(--rf-pos);
}

.rf-hub-task__opt {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a8b8d8;
  border: 1px solid rgba(168, 184, 216, 0.28);
  background: rgba(168, 184, 216, 0.08);
  border-radius: 999px;
  padding: 2px 7px;
}

.rf-hub--celebrate {
  border-color: rgba(55, 214, 122, 0.45);
}

.rf-hub__celebrate {
  margin-top: 14px;
  border: 1px solid rgba(55, 214, 122, 0.35);
  border-radius: 14px;
  background: rgba(55, 214, 122, 0.07);
  padding: 13px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.rf-hub__celebrate-txt {
  flex: 1;
  min-width: 0;
}

.rf-hub__celebrate-title {
  font-size: 14px;
  font-weight: 800;
  color: #d9f7e5;
}

.rf-hub__celebrate-sub {
  font-size: 11.5px;
  color: var(--rf-muted);
  margin-top: 1px;
}

.rf-hub__hide {
  flex: none;
  border: 1px solid rgba(55, 214, 122, 0.4);
  border-radius: 11px;
  background: rgba(55, 214, 122, 0.14);
  color: #b8e9cd;
  font-size: 12.5px;
  font-weight: 700;
  padding: 10px 13px;
  cursor: pointer;
}

/* ============================================================
   11. Desktop (≥768px) — modal zamiast sheeta, gridy 2-3 kol.
   ============================================================ */
@media (min-width: 768px) {
  .rf-onb {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 26px;
  }

  .rf-onb.is-visible {
    display: flex;
  }

  .rf-onb__sheet {
    position: relative;
    inset: auto;
    /* Duże monitory = duża przestrzeń robocza: kreator ma dużo formularzy,
       ciasny modal 880px zmuszał do pracy „w okienku". */
    width: min(1160px, calc(100vw - 52px));
    height: auto;
    max-height: min(94vh, 1040px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: 0 34px 80px -20px rgba(0, 0, 0, 0.75), 0 0 60px -20px rgba(124, 92, 255, 0.4);
    overflow: hidden;
  }

  .rf-onb__head {
    padding: 18px 22px 14px;
  }

  .rf-onb__title {
    font-size: 23px;
  }

  .rf-onb__body {
    padding: 20px 26px 30px;
  }

  .rf-onb__foot {
    padding: 12px 22px 14px;
  }

  .rf-onb__note {
    margin-bottom: 8px;
  }

  .rf-onb__nav {
    justify-content: flex-end;
  }

  .rf-onb-btn--primary {
    flex: 0 0 auto;
    min-width: 170px;
  }

  .rf-onb__skip {
    width: auto;
    margin: 8px 0 0 auto;
  }

  .rf-onboarding-inline-grid.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rf-onboarding-inline-grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rf-payroll-tier-row {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  }

  .rf-onboarding-inline-row {
    grid-template-columns: minmax(0, 1fr) 140px auto;
    align-items: end;
  }

  .rf-payroll-infographic {
    flex-direction: row;
  }

  .rf-infographic-math {
    transform: none;
  }

  .rf-step-hero img {
    max-height: 160px;
  }

  .rf-mod-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rf-onb-welcome__title,
  .rf-onb-finale__title {
    font-size: 28px;
  }

  .rf-onb-hero {
    min-height: 180px;
  }

  .rf-onb-welcome__cta,
  .rf-onb-finale__cta {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .rf-hub {
    padding: 20px 22px;
  }

  .rf-hub__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .rf-hub-group--foundation {
    grid-column: 1 / -1;
  }

  .rf-hub-group--foundation .rf-hub-group__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Bardzo szerokie ekrany: kreator korzysta z pełnej szerokości modala. */
@media (min-width: 1180px) {
  .rf-onb__body {
    padding: 24px 32px 36px;
  }

  .rf-mod-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ============================================================
   12. Dostępność
   ============================================================ */
@media (prefers-reduced-motion: reduce) {

  .rf-onb-hero__chip,
  .rf-onb-finale__burst i {
    animation: none;
  }

  .rf-onb-hero__chip {
    opacity: 1;
    transform: none;
  }

  .rf-onb-finale__burst i {
    display: none;
  }

  .rf-onb .rf-hours-day__fill {
    transition: none;
  }
}

/* ============================================================
   13. Edytor godzin otwarcia per dzień (krok „Twój salon")
   Mobile-first 375px. Selektory pod .rf-onb — specyficzność
   (0,2,0) wygrywa z mobilnym min-height przycisków z panel.css.
   ============================================================ */
.rf-onb .rf-hours {
  margin-top: 12px;
  border: 1px solid var(--rf-brd);
  border-radius: 14px;
  background: rgba(7, 13, 28, 0.55);
  padding: 12px;
}

.rf-onb .rf-hours__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.rf-onb .rf-hours__head-text {
  min-width: 0;
}

.rf-onb .rf-hours__title {
  font-size: 14px;
  font-weight: 800;
  color: #eef3ff;
}

.rf-onb .rf-hours__sub {
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--rf-muted);
}

.rf-onb .rf-hours__total {
  flex: 0 0 auto;
  border: 1px solid rgba(59, 223, 185, 0.4);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 800;
  color: var(--rf-acc-2);
  background: rgba(59, 223, 185, 0.09);
  white-space: nowrap;
}

.rf-onb .rf-hours__presets {
  margin-top: 11px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 3px;
  scrollbar-width: none;
}

.rf-onb .rf-hours__presets::-webkit-scrollbar {
  display: none;
}

.rf-onb .rf-hours__preset {
  flex: 0 0 auto;
  display: grid;
  gap: 2px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 8px 11px;
  min-height: 44px;
  background: rgba(255, 255, 255, 0.05);
  color: #e8efff;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.rf-onb .rf-hours__preset:active {
  transform: scale(0.97);
}

.rf-onb .rf-hours__preset:hover {
  border-color: rgba(124, 92, 255, 0.55);
  background: rgba(124, 92, 255, 0.12);
}

.rf-onb .rf-hours__preset-name {
  font-size: 12px;
  font-weight: 800;
}

.rf-onb .rf-hours__preset-desc {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--rf-muted);
  white-space: nowrap;
}

.rf-onb .rf-hours__days {
  margin-top: 11px;
  display: grid;
  gap: 8px;
}

.rf-onb .rf-hours-day {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px 9px 9px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.rf-onb .rf-hours-day.is-closed {
  background: rgba(255, 255, 255, 0.015);
}

.rf-onb .rf-hours-day.is-error {
  border-color: rgba(255, 92, 122, 0.6);
  background: rgba(255, 92, 122, 0.06);
}

.rf-onb .rf-hours-day__row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.rf-onb .rf-hours-day__toggle {
  flex: 0 0 auto;
  width: 48px;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: var(--rf-faint);
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.rf-onb .rf-hours-day__toggle.is-on {
  background: var(--rf-grad-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 16px rgba(124, 92, 255, 0.32);
}

.rf-onb .rf-hours-day__times {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.rf-onb .rf-hours-day__times input[type="time"] {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 7px 8px;
  min-height: 40px;
  background: rgba(0, 0, 0, 0.24);
  color: #f0f5ff;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  color-scheme: dark;
}

.rf-onb .rf-hours-day__times input[type="time"]:focus {
  outline: none;
  border-color: rgba(124, 92, 255, 0.65);
  box-shadow: 0 0 0 2px rgba(124, 92, 255, 0.22);
}

.rf-onb .rf-hours-day__sep {
  flex: 0 0 auto;
  color: var(--rf-faint);
}

.rf-onb .rf-hours-day__closed {
  flex: 1;
  min-width: 0;
  min-height: 40px;
  text-align: left;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  padding: 8px 11px;
  background: none;
  color: var(--rf-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.rf-onb .rf-hours-day__closed:hover {
  border-color: rgba(59, 223, 185, 0.5);
  color: var(--rf-acc-2);
}

.rf-onb .rf-hours-day__len {
  flex: 0 0 auto;
  min-width: 46px;
  text-align: right;
  font-size: 12px;
  font-weight: 800;
  color: var(--rf-acc-2);
  font-variant-numeric: tabular-nums;
}

.rf-onb .rf-hours-day.is-closed .rf-hours-day__len {
  color: var(--rf-faint);
}

.rf-onb .rf-hours-day.is-error .rf-hours-day__len {
  color: var(--rf-danger);
}

.rf-onb .rf-hours-day__track {
  position: relative;
  margin-top: 7px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.rf-onb .rf-hours-day__fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: var(--rf-grad-brand);
  transition: left 0.25s ease, width 0.25s ease;
}

.rf-onb .rf-hours__tools {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rf-onb .rf-hours__tool {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 8px 11px;
  min-height: 40px;
  background: rgba(255, 255, 255, 0.05);
  color: #dbe6ff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.rf-onb .rf-hours__tool:hover {
  border-color: rgba(124, 92, 255, 0.55);
  background: rgba(124, 92, 255, 0.12);
}

.rf-onb .rf-hours__summary {
  margin-top: 9px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--rf-muted);
}

.rf-onb .rf-hours__summary.is-warning {
  color: #ffd27d;
}

@media (min-width: 520px) {
  .rf-onb .rf-hours {
    padding: 14px;
  }

  .rf-onb .rf-hours-day__toggle {
    width: 56px;
  }

  .rf-onb .rf-hours-day__len {
    min-width: 56px;
  }
}

/* ============================================================
   14. Import konfiguracji z Booksy
   ============================================================ */
.rf-onb .rf-booksy-card,
.rf-onb .rf-booksy-candidates {
  border: 1px solid rgba(124, 92, 255, 0.38);
  border-radius: 16px;
  padding: 14px;
  background:
    radial-gradient(circle at 100% 0, rgba(59, 223, 185, 0.12), transparent 42%),
    linear-gradient(145deg, rgba(124, 92, 255, 0.13), rgba(14, 21, 48, 0.96));
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);
}

.rf-onb .rf-booksy-card.is-unavailable {
  border-style: dashed;
  border-color: var(--rf-brd-strong);
  background: rgba(255, 255, 255, 0.025);
}

.rf-onb .rf-booksy-card.is-busy {
  opacity: 0.78;
}

.rf-onb .rf-booksy-card__head,
.rf-onb .rf-booksy-candidates__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.rf-onb .rf-booksy-card__kicker,
.rf-onb .rf-booksy-preview__eyebrow,
.rf-onb .rf-booksy-candidates__head span {
  display: block;
  margin-bottom: 4px;
  color: var(--rf-acc-2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.rf-onb .rf-booksy-card h3 {
  margin: 0;
  color: var(--rf-txt);
  font-size: 17px;
  line-height: 1.3;
}

.rf-onb .rf-booksy-card > p,
.rf-onb .rf-booksy-candidates > p {
  margin: 9px 0 12px;
  color: var(--rf-muted);
  font-size: 12px;
  line-height: 1.55;
}

.rf-onb .rf-booksy-status {
  flex: 0 0 auto;
  border: 1px solid var(--rf-brd-strong);
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--rf-muted);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.rf-onb .rf-booksy-status.is-ready,
.rf-onb .rf-booksy-status.is-applied {
  border-color: rgba(55, 214, 122, 0.4);
  background: rgba(55, 214, 122, 0.12);
  color: #91f0b7;
}

.rf-onb .rf-booksy-status.is-pending {
  border-color: rgba(243, 195, 22, 0.4);
  background: rgba(243, 195, 22, 0.1);
  color: #ffe07c;
}

.rf-onb .rf-booksy-status.is-error {
  border-color: rgba(255, 92, 122, 0.4);
  color: #ff9aae;
}

.rf-onb .rf-booksy-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.rf-onb .rf-booksy-form label,
.rf-onb .rf-booksy-candidate__form label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--rf-muted);
  font-size: 11px;
  font-weight: 650;
}

.rf-onb .rf-booksy-form input,
.rf-onb .rf-booksy-form select,
.rf-onb .rf-booksy-candidate__form input,
.rf-onb .rf-booksy-candidate__form select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--rf-brd-strong);
  border-radius: 11px;
  padding: 10px 11px;
  background: rgba(7, 12, 27, 0.84);
  color: var(--rf-txt);
  font-size: 13px;
}

.rf-onb .rf-booksy-form input:focus,
.rf-onb .rf-booksy-form select:focus,
.rf-onb .rf-booksy-candidate__form input:focus,
.rf-onb .rf-booksy-candidate__form select:focus {
  border-color: rgba(124, 92, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.14);
  outline: none;
}

.rf-onb label.rf-booksy-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--rf-muted);
  font-size: 11px;
  line-height: 1.45;
  cursor: pointer;
}

.rf-onb label.rf-booksy-consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
  padding: 0;
  accent-color: var(--rf-acc);
}

.rf-onb .rf-booksy-actions,
.rf-onb .rf-booksy-candidate__actions,
.rf-onb .rf-booksy-invite-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rf-onb .rf-booksy-actions .rf-onb-btn,
.rf-onb .rf-booksy-candidate__actions .rf-onb-btn {
  flex: 1 1 150px;
}

.rf-onb .rf-booksy-preview {
  margin-top: 12px;
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--rf-brd);
  padding-top: 12px;
}

.rf-onb .rf-booksy-preview__salon {
  display: grid;
  gap: 3px;
  border: 1px solid rgba(59, 223, 185, 0.22);
  border-radius: 13px;
  padding: 12px;
  background: rgba(59, 223, 185, 0.06);
}

.rf-onb .rf-booksy-preview__salon strong {
  color: var(--rf-txt);
  font-size: 16px;
}

.rf-onb .rf-booksy-preview__salon > span:not(.rf-booksy-preview__eyebrow) {
  color: var(--rf-muted);
  font-size: 11px;
  line-height: 1.45;
}

.rf-onb .rf-booksy-preview__section {
  min-width: 0;
}

.rf-onb .rf-booksy-preview__title {
  margin-bottom: 7px;
  color: var(--rf-txt);
  font-size: 12px;
  font-weight: 800;
}

.rf-onb .rf-booksy-services {
  display: grid;
  gap: 7px;
}

.rf-onb .rf-booksy-service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid var(--rf-brd);
  border-radius: 11px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.035);
}

.rf-onb .rf-booksy-service.needs-review {
  border-color: rgba(243, 195, 22, 0.32);
  background: rgba(243, 195, 22, 0.06);
}

.rf-onb .rf-booksy-service__main {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.rf-onb .rf-booksy-service__main strong {
  overflow: hidden;
  color: var(--rf-txt);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rf-onb .rf-booksy-service__main span,
.rf-onb .rf-booksy-muted {
  color: var(--rf-muted);
  font-size: 10px;
  line-height: 1.45;
}

.rf-onb .rf-booksy-review,
.rf-onb .rf-booksy-ok {
  flex: 0 0 auto;
  max-width: 46%;
  border-radius: 999px;
  padding: 4px 7px;
  background: rgba(243, 195, 22, 0.11);
  color: #ffe07c;
  font-size: 9px;
  font-weight: 750;
  text-align: center;
}

.rf-onb .rf-booksy-ok {
  background: rgba(55, 214, 122, 0.1);
  color: #91f0b7;
}

.rf-onb .rf-booksy-people {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.rf-onb .rf-booksy-person {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--rf-brd);
  border-radius: 999px;
  padding: 5px 9px 5px 5px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--rf-txt);
  font-size: 11px;
}

.rf-onb .rf-booksy-person img,
.rf-onb .rf-booksy-person__avatar {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(124, 92, 255, 0.25);
  color: #fff;
  font-weight: 800;
}

.rf-onb .rf-booksy-warnings {
  border: 1px solid rgba(243, 195, 22, 0.34);
  border-radius: 12px;
  padding: 10px 11px;
  background: rgba(243, 195, 22, 0.07);
  color: #ffe8a2;
  font-size: 11px;
  line-height: 1.45;
}

.rf-onb .rf-booksy-warnings ul {
  margin: 6px 0 0;
  padding-left: 17px;
}

.rf-onb .rf-booksy-diff {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rf-onb .rf-booksy-diff__pill {
  border: 1px solid rgba(124, 92, 255, 0.32);
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(124, 92, 255, 0.1);
  color: #d8d2ff;
  font-size: 10px;
  font-weight: 700;
}

.rf-onb .rf-booksy-diff__pill.is-warning {
  border-color: rgba(243, 195, 22, 0.34);
  color: #ffe07c;
}

.rf-onb .rf-booksy-apply {
  margin-top: 12px;
  display: grid;
  gap: 7px;
  border-top: 1px solid var(--rf-brd);
  padding-top: 12px;
}

.rf-onb .rf-booksy-apply .rf-onb-btn {
  width: 100%;
  min-height: 48px;
}

.rf-onb .rf-booksy-apply > span {
  color: var(--rf-muted);
  font-size: 10px;
  text-align: center;
}

.rf-onb .rf-booksy-candidates__head strong {
  display: block;
  color: var(--rf-txt);
  font-size: 16px;
}

.rf-onb .rf-booksy-candidates__head > em {
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(59, 223, 185, 0.14);
  color: var(--rf-acc-2);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.rf-onb .rf-booksy-candidates__list {
  display: grid;
  gap: 9px;
}

.rf-onb .rf-booksy-candidate {
  border: 1px solid var(--rf-brd);
  border-radius: 13px;
  padding: 11px;
  background: rgba(7, 12, 27, 0.58);
}

.rf-onb .rf-booksy-candidate__person {
  display: flex;
  align-items: center;
  gap: 9px;
}

.rf-onb .rf-booksy-candidate__person > img,
.rf-onb .rf-booksy-candidate__person > span {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(124, 92, 255, 0.24);
  color: #fff;
  font-weight: 800;
}

.rf-onb .rf-booksy-candidate__person > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.rf-onb .rf-booksy-candidate__person strong {
  overflow: hidden;
  color: var(--rf-txt);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rf-onb .rf-booksy-candidate__person small {
  color: var(--rf-muted);
  font-size: 10px;
}

.rf-onb .rf-booksy-candidate__person em {
  margin-left: auto;
  color: #91f0b7;
  font-size: 10px;
  font-style: normal;
}

.rf-onb .rf-booksy-candidate__form {
  margin-top: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.rf-onb .rf-booksy-candidate__actions {
  align-self: end;
}

.rf-onb .rf-booksy-invite-result {
  margin-top: 10px;
  display: grid;
  gap: 6px;
  border: 1px solid rgba(55, 214, 122, 0.3);
  border-radius: 11px;
  padding: 9px;
  background: rgba(55, 214, 122, 0.07);
  color: #bdf7d2;
  font-size: 10px;
  line-height: 1.45;
}

.rf-onb .rf-booksy-invite-result.is-warning {
  border-color: rgba(243, 195, 22, 0.4);
  background: rgba(243, 195, 22, 0.08);
  color: #ffe8a2;
}

.rf-onb .rf-booksy-invite-result code {
  width: max-content;
  max-width: 100%;
  border-radius: 7px;
  padding: 5px 8px;
  background: rgba(0, 0, 0, 0.22);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

@media (min-width: 700px) {
  .rf-onb .rf-booksy-card,
  .rf-onb .rf-booksy-candidates {
    padding: 18px;
  }

  .rf-onb .rf-booksy-form {
    grid-template-columns: minmax(0, 1.5fr) minmax(180px, 0.7fr);
    align-items: end;
  }

  .rf-onb .rf-booksy-form__url,
  .rf-onb .rf-booksy-consent,
  .rf-onb .rf-booksy-actions {
    grid-column: 1 / -1;
  }

  .rf-onb .rf-booksy-candidate__form {
    grid-template-columns: minmax(0, 1.4fr) minmax(130px, 0.6fr);
  }

  .rf-onb .rf-booksy-candidate__actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  .rf-onb .rf-booksy-candidate__actions .rf-onb-btn {
    flex: 0 0 auto;
  }
}
