.pb-booking-wrapper {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    padding: 20px;
    max-width: 520px;
    box-shadow: 0 10px 30px rgba(15,23,42,0.08);
    display: grid;
    gap: 14px;
}
.pb-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}
.pb-subtitle {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
}
.pb-booking-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Stepper */
.pb-step.is-hidden{ display:none; }

.pb-stepbar{ display:flex; flex-direction:column; gap:8px; }
.pb-stepbar-track{ width:100%; height:6px; border-radius:999px; background:rgba(15,23,42,0.08); overflow:hidden; }
.pb-stepbar-fill{ display:block; height:100%; width:50%; background:rgba(37,99,235,.75); border-radius:999px; transition:width .18s ease; }
.pb-stepbar-meta{ display:flex; justify-content:space-between; gap:10px; font-size:12px; color:#64748b; }
.pb-stepbar-step.is-active{ color:#0f172a; font-weight:600; }

.pb-next{
  border:1px solid rgba(148,163,184,0.22);
  background:#ffffff;
  border-radius:999px;
  padding:10px 14px;
  font-weight:600;
  cursor:pointer;
  box-shadow:0 2px 10px rgba(15,23,42,0.06);
}
.pb-next:hover{ box-shadow:0 6px 16px rgba(15,23,42,0.08); transform: translateY(-1px); }
.pb-hint{ font-size:12px; color:#64748b; margin-top:-4px; }

.pb-step-2-top{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.pb-back{ font-size:12px; color:#2563eb; text-decoration:none; }
.pb-back:hover{ text-decoration:underline; }
.pb-chosen{ font-size:12px; color:#64748b; text-align:right; }
.pb-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.pb-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: #0f172a;
}
.pb-input {
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 9px 10px;
    background: #f8fafc;
    font-size: 0.9rem;
    transition: all .12s ease;
}
.pb-input:focus {
    outline: none;
    border-color: rgba(37, 99, 235, .6);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
.pb-submit {
    border: none;
    background: #2563eb;
    color: #ffffff;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background .1s ease;
}
.pb-submit:hover {
    background: #1d4ed8;
}
.pb-booking-result {
    background: #ecfdf3;
    border: 1px solid rgba(22,163,74,0.12);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.85rem;
}


/* Unavailable times helper */
.pb-unavailable-box { margin-top: 8px; }
.pb-unavailable-note {
  font-size: 0.85rem;
  color: #991b1b;
  margin-bottom: 6px;
}
.pb-chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pb-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.8rem;
  line-height: 1;
  border: 1px solid rgba(153,27,27,0.25);
  background: rgba(220,38,38,0.08);
  color: #991b1b;
}
.pb-chip-unavailable { }


/* Services as cards */
.pb-hidden { display: none !important; }

.pb-services-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 540px){
  .pb-services-grid{ grid-template-columns: 1fr 1fr; }
}

.pb-service-card{
  width: 100%;
  text-align: left;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  background: #ffffff;
  padding: 12px 12px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(15,23,42,0.06);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.pb-service-card:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15,23,42,0.08);
}
.pb-service-card.is-active{
  border-color: rgba(37, 99, 235, .55);
  box-shadow: 0 8px 18px rgba(37, 99, 235, .10);
}

.pb-service-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 10px;
}
.pb-service-name{
  font-size: 0.95rem;
  font-weight: 650;
  color: #0f172a;
}
.pb-service-price{
  font-size: 0.9rem;
  font-weight: 650;
  color: #0f172a;
  white-space: nowrap;
}

.pb-service-meta{
  margin-top: 8px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  color: #64748b;
  font-size: 0.85rem;
}
.pb-service-pill{
  display:inline-flex;
  align-items:center;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, .18);
  background: rgba(37, 99, 235, .06);
  color: #1d4ed8;
  font-size: 0.78rem;
  line-height: 1.2;
}

/* =========================================================
   Weekagenda / Doctena-style overzicht
   Vervangt visueel de oude datum + tijd dropdown.
   ========================================================= */
.pb-hidden-field{
  position:absolute!important;
  left:-9999px!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

.pb-week-agenda{
  margin:12px 0 18px;
  padding:18px;
  border:1px solid rgba(148,163,184,.22);
  border-radius:18px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  box-shadow:0 10px 28px rgba(15,23,42,.06);
}

.pb-week-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:16px;
}

.pb-week-label{
  display:block;
  color:#64748b;
  font-size:12px;
  margin-bottom:4px;
}

.pb-week-title{
  display:block;
  color:#0f315f;
  font-size:18px;
  line-height:1.2;
}

.pb-week-nav{
  display:flex;
  gap:8px;
  flex-shrink:0;
}

.pb-week-prev,
.pb-week-next{
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid rgba(37,99,235,.16);
  background:#fff;
  color:#2563eb;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
  box-shadow:0 4px 12px rgba(15,23,42,.04);
}

.pb-week-prev:hover,
.pb-week-next:hover{
  background:#eef4ff;
}

.pb-week-grid{
  display:grid;
  grid-template-columns:repeat(7, minmax(108px,1fr));
  gap:10px;
  overflow-x:auto;
  padding-bottom:4px;
  -webkit-overflow-scrolling:touch;
}

.pb-week-loading,
.pb-week-empty,
.pb-week-note{
  grid-column:1 / -1;
  padding:16px;
  border-radius:14px;
  background:#fff;
  border:1px solid rgba(148,163,184,.22);
  color:#64748b;
  text-align:center;
  font-size:14px;
}

.pb-week-day{
  min-width:108px;
  background:#fff;
  border:1px solid rgba(148,163,184,.20);
  border-radius:16px;
  overflow:hidden;
}

.pb-week-day-head{
  padding:12px 10px;
  background:#f7faff;
  border-bottom:1px solid rgba(148,163,184,.16);
  text-align:center;
}

.pb-week-day-head strong{
  display:block;
  color:#0f315f;
  font-size:13px;
  line-height:1.2;
  margin-bottom:4px;
}

.pb-week-day-head span{
  color:#64748b;
  font-size:11px;
}

.pb-week-slots{
  padding:10px;
  display:grid;
  gap:7px;
}

.pb-slot{
  width:100%;
  min-height:36px;
  border:1px solid rgba(37,99,235,.18);
  border-radius:999px;
  background:#fff;
  color:#2563eb;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  transition:all .16s ease;
}

.pb-slot:hover{
  background:#eef4ff;
  transform:translateY(-1px);
}

.pb-slot.is-selected{
  background:#2563eb;
  color:#fff;
  border-color:#2563eb;
  box-shadow:0 10px 20px rgba(37,99,235,.22);
}

.pb-no-slots{
  padding:10px 8px;
  border-radius:12px;
  background:#f8fafc;
  color:#94a3b8;
  text-align:center;
  font-size:12px;
}

.pb-week-selected{
  margin-top:14px;
  color:#64748b;
  font-size:13px;
  line-height:1.5;
}

.pb-week-selected strong{
  color:#0f315f;
}

@media(max-width:900px){
  .pb-week-grid{
    grid-template-columns:repeat(4, minmax(118px,1fr));
  }
}

@media(max-width:620px){
  .pb-week-agenda{
    padding:14px;
    margin-top:10px;
  }

  .pb-week-head{
    flex-direction:column;
    align-items:stretch;
  }

  .pb-week-nav{
    width:100%;
  }

  .pb-week-prev,
  .pb-week-next{
    width:50%;
  }

  .pb-week-grid{
    display:flex;
    gap:10px;
    overflow-x:auto;
    scroll-snap-type:x proximity;
  }

  .pb-week-day{
    min-width:152px;
    scroll-snap-align:start;
  }
}

/* =========================================================
   Premium week agenda layout fix v2.1
   - keeps everything inside the booking card
   - desktop: clear 7-day week view
   - mobile: swipeable day cards, no horizontal page overflow
   ========================================================= */
.pb-booking-wrapper,
.pb-booking-wrapper *,
.pb-booking-wrapper *::before,
.pb-booking-wrapper *::after{
  box-sizing:border-box;
}

.pb-booking-wrapper{
  width:min(100%, 920px)!important;
  max-width:920px!important;
  margin:0 auto!important;
  padding:34px!important;
  border-radius:28px!important;
  background:rgba(255,255,255,.92)!important;
  border:1px solid rgba(190,203,224,.55)!important;
  box-shadow:0 24px 70px rgba(18,53,95,.08)!important;
  overflow:hidden!important;
}

.pb-title{
  color:#12355f!important;
  font-size:26px!important;
  line-height:1.15!important;
  font-weight:800!important;
  margin:0 0 12px!important;
}

.pb-subtitle{
  color:#6f7890!important;
  font-size:16px!important;
  line-height:1.7!important;
  margin:0 0 28px!important;
}

.pb-booking-form,
.pb-step,
.pb-stepbar,
.pb-field,
.pb-week-agenda{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}

.pb-stepbar{
  margin-bottom:18px!important;
}

.pb-stepbar-track{
  height:6px!important;
  background:#e9edf5!important;
}

.pb-stepbar-fill{
  background:#4c7ff4!important;
}

.pb-stepbar-meta{
  font-size:13px!important;
  color:#6f7890!important;
  margin-top:8px!important;
}

.pb-stepbar-step.is-active{
  color:#12355f!important;
  font-weight:800!important;
}

.pb-step-2-top{
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  margin-bottom:12px!important;
}

.pb-back{
  color:#4c7ff4!important;
  font-weight:700!important;
  font-size:14px!important;
}

.pb-chosen{
  color:#6f7890!important;
  font-size:14px!important;
  text-align:right!important;
}

.pb-label{
  color:#12355f!important;
  font-size:13px!important;
  font-weight:800!important;
  margin-bottom:6px!important;
}

.pb-input{
  width:100%!important;
  max-width:100%!important;
  min-height:48px!important;
  border:1px solid #dbe3f0!important;
  border-radius:14px!important;
  background:#fff!important;
  padding:11px 14px!important;
  color:#12355f!important;
  font-size:15px!important;
  box-shadow:none!important;
}

.pb-input:focus{
  border-color:#4c7ff4!important;
  box-shadow:0 0 0 4px rgba(76,127,244,.12)!important;
}

.pb-week-agenda{
  margin:18px 0 18px!important;
  padding:22px!important;
  border:1px solid #e4eaf5!important;
  border-radius:24px!important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
  box-shadow:0 18px 50px rgba(18,53,95,.08)!important;
  overflow:hidden!important;
}

.pb-week-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  margin-bottom:18px!important;
}

.pb-week-label{
  display:block!important;
  color:#7a88a1!important;
  font-size:12px!important;
  font-weight:700!important;
  letter-spacing:.04em!important;
  margin-bottom:5px!important;
}

.pb-week-title{
  display:block!important;
  color:#12355f!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:24px!important;
  line-height:1.15!important;
  letter-spacing:-.02em!important;
}

.pb-week-nav{
  display:flex!important;
  gap:10px!important;
  flex-shrink:0!important;
}

.pb-week-prev,
.pb-week-next{
  min-height:42px!important;
  padding:0 18px!important;
  border-radius:999px!important;
  border:1px solid rgba(76,127,244,.22)!important;
  background:#fff!important;
  color:#4c7ff4!important;
  font-size:14px!important;
  font-weight:800!important;
  cursor:pointer!important;
  box-shadow:0 10px 24px rgba(18,53,95,.06)!important;
  transition:.2s ease!important;
}

.pb-week-prev:hover,
.pb-week-next:hover{
  transform:translateY(-1px)!important;
  background:#eef4ff!important;
}

.pb-week-grid{
  width:100%!important;
  display:grid!important;
  grid-template-columns:repeat(7, minmax(0,1fr))!important;
  gap:10px!important;
  overflow:visible!important;
  padding:0!important;
}

.pb-week-day{
  min-width:0!important;
  width:100%!important;
  background:#fff!important;
  border:1px solid #e3eaf5!important;
  border-radius:18px!important;
  overflow:hidden!important;
  box-shadow:0 8px 22px rgba(18,53,95,.04)!important;
}

.pb-week-day-head{
  min-height:78px!important;
  padding:13px 8px!important;
  background:#f8fbff!important;
  border-bottom:1px solid #e8edf7!important;
  text-align:center!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:5px!important;
}

.pb-week-day-head strong{
  display:block!important;
  color:#12355f!important;
  font-size:13px!important;
  line-height:1.25!important;
  font-weight:800!important;
  margin:0!important;
}

.pb-week-day-head span{
  display:block!important;
  color:#7a88a1!important;
  font-size:11px!important;
  line-height:1.35!important;
}

.pb-week-slots{
  padding:10px 8px 12px!important;
  display:grid!important;
  gap:8px!important;
  max-height:330px!important;
  overflow-y:auto!important;
  scrollbar-width:thin!important;
}

.pb-slot{
  width:100%!important;
  min-height:42px!important;
  border:1px solid rgba(76,127,244,.22)!important;
  border-radius:12px!important;
  background:#4c7ff4!important;
  color:#fff!important;
  font-size:15px!important;
  font-weight:800!important;
  cursor:pointer!important;
  box-shadow:0 10px 22px rgba(76,127,244,.18)!important;
  transition:.18s ease!important;
}

.pb-slot:hover{
  transform:translateY(-1px)!important;
  background:#3f73e8!important;
  box-shadow:0 14px 28px rgba(76,127,244,.25)!important;
}

.pb-slot.is-selected{
  background:#12355f!important;
  border-color:#12355f!important;
  box-shadow:0 14px 30px rgba(18,53,95,.25)!important;
}

.pb-no-slots{
  min-height:42px!important;
  padding:12px 8px!important;
  border-radius:14px!important;
  background:#f3f6fb!important;
  color:#9aa6bb!important;
  text-align:center!important;
  font-size:12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}

.pb-week-selected{
  margin-top:16px!important;
  padding:12px 14px!important;
  border-radius:16px!important;
  background:#f7f8fd!important;
  color:#6f7890!important;
  font-size:14px!important;
  line-height:1.55!important;
}

.pb-week-selected strong{
  color:#12355f!important;
  font-weight:800!important;
}

.pb-submit{
  width:auto!important;
  min-height:50px!important;
  padding:0 24px!important;
  border-radius:12px!important;
  background:#12355f!important;
  color:#fff!important;
  font-size:16px!important;
  font-weight:800!important;
  box-shadow:0 14px 30px rgba(18,53,95,.18)!important;
}

.pb-submit:hover{
  background:#4c7ff4!important;
}

/* Tablet: 4 dagen per rij voor voldoende leesbaarheid */
@media(max-width:1024px){
  .pb-booking-wrapper{
    max-width:760px!important;
  }

  .pb-week-grid{
    grid-template-columns:repeat(4, minmax(0,1fr))!important;
  }
}

/* Mobile: compacte kaart + horizontale swipe agenda */
@media(max-width:767px){
  .pb-booking-wrapper{
    width:100%!important;
    max-width:100%!important;
    padding:24px 18px!important;
    border-radius:22px!important;
  }

  .pb-title{
    font-size:24px!important;
  }

  .pb-subtitle{
    font-size:15px!important;
    margin-bottom:22px!important;
  }

  .pb-step-2-top{
    align-items:flex-start!important;
  }

  .pb-chosen{
    max-width:55%!important;
    font-size:13px!important;
  }

  .pb-week-agenda{
    padding:16px!important;
    border-radius:22px!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  .pb-week-head{
    flex-direction:column!important;
    align-items:stretch!important;
    gap:14px!important;
  }

  .pb-week-title{
    font-size:22px!important;
  }

  .pb-week-nav{
    width:100%!important;
  }

  .pb-week-prev,
  .pb-week-next{
    flex:1!important;
    min-height:44px!important;
  }

  .pb-week-grid{
    display:flex!important;
    grid-template-columns:none!important;
    gap:12px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x mandatory!important;
    -webkit-overflow-scrolling:touch!important;
    padding:2px 2px 10px!important;
    margin-left:-2px!important;
    margin-right:-2px!important;
  }

  .pb-week-day{
    flex:0 0 74%!important;
    min-width:230px!important;
    scroll-snap-align:start!important;
    border-radius:20px!important;
  }

  .pb-week-day-head{
    min-height:70px!important;
  }

  .pb-week-day-head strong{
    font-size:15px!important;
  }

  .pb-week-slots{
    max-height:none!important;
    padding:12px!important;
  }

  .pb-slot{
    min-height:46px!important;
    font-size:16px!important;
    border-radius:14px!important;
  }

  .pb-submit{
    width:100%!important;
    border-radius:999px!important;
  }
}

@media(max-width:420px){
  .pb-week-day{
    flex-basis:82%!important;
    min-width:218px!important;
  }

  .pb-week-agenda{
    padding:14px!important;
  }
}
