:root{
  --schedly-bg:#f6f4ff;
  --schedly-card:#ffffff;
  --schedly-text:#111827;
  --schedly-muted:#6b7280;
  --schedly-border:#e9ddff;
  --schedly-primary:#7c3aed;
  --schedly-primary-2:#8b5cf6;
  --schedly-danger:#dc2626;
  --schedly-success:#059669;
  --schedly-shadow:0 24px 60px rgba(31,41,55,.10);
}

.schedly-booking-wrap{
  width:min(100%, 800px);
  max-width:800px;
  margin:24px auto;
  background:linear-gradient(180deg,#ffffff 0%,#fcfbff 100%);
  border:1px solid var(--schedly-border);
  border-radius:26px;
  overflow:hidden;
  box-shadow:var(--schedly-shadow);
}

.schedly-layout{
  display:grid;
  grid-template-columns:210px minmax(0, 1fr);
  min-height:680px;
}

.schedly-sidebar{
  position:relative;
  padding:26px 20px;
  color:#fff;
  background:
    radial-gradient(circle at top left, rgba(168,85,247,.45), transparent 30%),
    linear-gradient(180deg,#111827 0%,#1f2937 100%);
}

.schedly-brand{
  position:relative;
  z-index:1;
  margin-bottom:22px;
}

.schedly-brand h2{
  margin:0 0 8px;
  font-size:24px;
  line-height:1.12;
  letter-spacing:-.03em;
}

.schedly-brand p{
  margin:0;
  color:rgba(255,255,255,.72);
  font-size:13px;
  line-height:1.45;
}

.schedly-steps{
  display:flex;
  flex-direction:column;
  gap:10px;
  position:relative;
  z-index:1;
}

.schedly-step{
  display:flex;
  gap:12px;
  align-items:center;
  padding:12px 14px;
  border-radius:16px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.09);
  transition:all .22s ease;
}

.schedly-step.is-active{
  background:rgba(255,255,255,.14);
  border-color:rgba(255,255,255,.18);
  box-shadow:0 12px 28px rgba(0,0,0,.18);
}

.schedly-step-index{
  width:34px;
  height:34px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.15);
  font-size:13px;
  font-weight:800;
  flex-shrink:0;
}

.schedly-step.is-active .schedly-step-index{
  background:linear-gradient(135deg,var(--schedly-primary) 0%,var(--schedly-primary-2) 100%);
}

.schedly-step-body{
  display:flex;
  flex-direction:column;
}

.schedly-step-title{
  font-size:14px;
  font-weight:700;
}

.schedly-step-sub{
  color:rgba(255,255,255,.7);
  font-size:11px;
  line-height:1.35;
}

.schedly-main{
  padding:22px 22px 20px;
  background:linear-gradient(180deg,#ffffff 0%,#fcfbff 100%);
}

.schedly-panel{
  max-width:520px;
}

.schedly-step-panel{
  opacity:0;
  transform:translateY(14px);
}

.schedly-step-panel.is-visible{
  opacity:1;
  transform:translateY(0);
  animation:schedlyPanelIn .28s cubic-bezier(.22,1,.36,1);
}

.schedly-panel-title{
  margin:0 0 8px;
  font-size:30px;
  line-height:1.1;
  letter-spacing:-.04em;
  color:var(--schedly-text);
}

.schedly-panel-subtitle{
  margin:0 0 18px;
  color:var(--schedly-muted);
  font-size:14px;
  line-height:1.5;
}

.schedly-field{
  margin-bottom:14px;
}

.schedly-inline-action{
  display:flex;
  gap:10px;
  align-items:stretch;
}

.schedly-inline-action--coupon{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
}

.schedly-inline-action .schedly-input{
  flex:1 1 auto;
}

.schedly-inline-action .schedly-btn{
  flex:0 0 auto;
}

.schedly-field label{
  display:block;
  margin-bottom:6px;
  color:#374151;
  font-size:13px;
  font-weight:700;
}

.schedly-input,
.schedly-select,
.schedly-textarea{
  width:100%;
  border:1px solid var(--schedly-border);
  background:#fff;
  color:var(--schedly-text);
  border-radius:16px;
  padding:12px 14px;
  font-size:14px;
  box-shadow:0 6px 20px rgba(15,23,42,.04);
  transition:all .2s ease;
}

.schedly-select{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  padding-right:46px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 5.25L7 9.25L11 5.25' stroke='%236b7280' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 16px center;
  background-size:14px 14px;
}

.schedly-textarea{
  min-height:54px;
  resize:vertical;
}

.schedly-input:focus,
.schedly-select:focus,
.schedly-textarea:focus{
  outline:none;
  border-color:var(--schedly-primary);
  box-shadow:0 0 0 4px rgba(124,58,237,.12);
}

.schedly-summary-card{
  margin-top:16px;
  padding:18px;
  border-radius:20px;
  background:linear-gradient(180deg,#faf5ff 0%,#f5f3ff 100%);
  border:1px solid #e9d5ff;
  box-shadow:0 16px 34px rgba(139,92,246,.10);
}

.schedly-coupon-card{
  margin-top:16px;
  padding:12px 14px;
  border-radius:16px;
  background:linear-gradient(180deg,#ffffff 0%,#fcfbff 100%);
  border:1px solid var(--schedly-border);
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}

.schedly-coupon-card__head{
  margin-bottom:10px;
}

.schedly-coupon-card__head h3{
  margin:0 0 4px;
  color:var(--schedly-text);
  font-size:16px;
  line-height:1.2;
}

.schedly-coupon-card__head p{
  margin:0;
  color:var(--schedly-muted);
  font-size:12px;
  line-height:1.45;
}

.schedly-summary-card h3{
  margin:0 0 12px;
  color:var(--schedly-text);
  font-size:17px;
}

.schedly-summary-list{
  display:grid;
  gap:12px;
}

.schedly-summary-row{
  display:flex;
  justify-content:space-between;
  gap:18px;
  font-size:14px;
  color:#374151;
}

.schedly-summary-row strong{
  color:var(--schedly-text);
}

.schedly-deposit-box{
  margin-top:16px;
  padding:15px 16px;
  border-radius:16px;
  background:#fff;
  border:1px solid var(--schedly-border);
  color:#4b5563;
  font-size:14px;
  line-height:1.55;
}

.schedly-coupon-preview{
  margin-top:10px;
  padding:12px 14px;
  border-radius:14px;
  background:#fff;
  border:1px solid var(--schedly-border);
  box-shadow:0 6px 20px rgba(15,23,42,.04);
}

.schedly-coupon-preview.is-error{
  background:#fff7f7;
  border-color:#fecaca;
}

.schedly-coupon-preview.is-success{
  background:#f3fff8;
  border-color:#bbf7d0;
}

.schedly-coupon-preview__message{
  margin:0 0 10px;
  font-size:13px;
  font-weight:700;
  color:var(--schedly-text);
}

.schedly-coupon-preview__message.is-error{
  color:#991b1b;
}

.schedly-coupon-preview__message.is-success{
  color:#166534;
}

.schedly-coupon-preview__amounts{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}

.schedly-coupon-preview__amounts span{
  display:block;
  margin-bottom:3px;
  color:var(--schedly-muted);
  font-size:11px;
}

.schedly-coupon-preview__amounts strong{
  color:var(--schedly-text);
  font-size:14px;
}

.schedly-actions{
  display:flex;
  gap:12px;
  margin-top:18px;
  flex-wrap:wrap;
}

.schedly-btn{
  appearance:none;
  border:none;
  border-radius:14px;
  padding:12px 18px;
  font-size:14px;
  font-weight:800;
  cursor:pointer;
  transition:all .2s ease;
  text-decoration:none;
}

.schedly-btn-primary{
  color:#fff;
  background:linear-gradient(135deg,var(--schedly-primary) 0%,var(--schedly-primary-2) 100%);
  box-shadow:0 14px 28px rgba(124,58,237,.24);
}

.schedly-btn-primary:hover{
  transform:translateY(-1px);
  box-shadow:0 18px 32px rgba(124,58,237,.30);
}

.schedly-btn-secondary{
  color:var(--schedly-text);
  background:#fff;
  border:1px solid #e5e7eb;
}

#schedly-apply-coupon.is-loading{
  opacity:.72;
  pointer-events:none;
}

.schedly-inline-message{
  margin-top:14px;
  padding:12px 14px;
  border-radius:14px;
  font-size:13px;
  line-height:1.55;
}

.schedly-inline-message.is-error{
  background:#fef2f2;
  color:#991b1b;
  border:1px solid #fecaca;
}

.schedly-inline-message.is-success{
  background:#ecfdf5;
  color:#065f46;
  border:1px solid #a7f3d0;
}

.schedly-success-screen{
  padding:22px;
  border-radius:24px;
  background:linear-gradient(180deg,#ecfdf5 0%,#f0fdf4 100%);
  border:1px solid #bbf7d0;
  box-shadow:0 14px 28px rgba(5,150,105,.08);
}

.schedly-success-screen h3{
  margin:0 0 10px;
  color:#065f46;
  font-size:22px;
}

.schedly-success-screen p{
  margin:0;
  color:#166534;
  line-height:1.6;
}

/* ===== PREMIUM SERVICE PICKER ===== */
.schedly-picker-trigger{
  width:100%;
  min-height:58px;
  padding:16px 18px;
  border-radius:18px;
  border:1px solid var(--schedly-border);
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:16px;
  color:var(--schedly-text);
  cursor:pointer;
  box-shadow:0 6px 20px rgba(15,23,42,.04);
  transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.schedly-picker-trigger-arrow{
  width:14px;
  height:14px;
  display:block;
  border-right:2px solid #6b7280;
  border-bottom:2px solid #6b7280;
  color:transparent;
  font-size:0;
  line-height:0;
  text-indent:-9999px;
  overflow:hidden;
  transform:rotate(45deg) translateY(-2px);
  transform-origin:center;
  flex:0 0 auto;
  transition:transform .2s ease, border-color .2s ease;
}

.schedly-picker-trigger.is-open{
  border-color:rgba(124,58,237,.45);
  box-shadow:0 0 0 4px rgba(124,58,237,.10);
}

.schedly-picker-trigger.is-open .schedly-picker-trigger-arrow{
  transform:rotate(-135deg) translateY(-1px);
  border-color:var(--schedly-primary);
}

.schedly-service-picker{
  margin-top:12px;
  border:1px solid var(--schedly-border);
  border-radius:22px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 18px 40px rgba(15,23,42,.08);
  transform-origin:top center;
  animation:schedlyPickerIn .22s ease;
}

.schedly-service-picker-grid{
  display:grid;
  grid-template-columns:280px 1fr;
  min-height:340px;
}

.schedly-service-cats{
  border-right:1px solid #efe9ff;
  background:#faf8ff;
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:8px;
  max-height:420px;
  overflow:auto;
}

.schedly-service-cat{
  width:100%;
  border:none;
  background:#fff;
  border:1px solid #eee7ff;
  border-radius:14px;
  padding:14px 14px;
  text-align:left;
  display:flex;
  justify-content:space-between;
  align-items:center;
  cursor:pointer;
  color:#374151;
  font-weight:700;
}

.schedly-service-cat small{
  color:#6b7280;
  font-weight:600;
}

.schedly-service-cat.is-active{
  border-color:#c4b5fd;
  background:#f5f3ff;
  color:#5b21b6;
}

.schedly-service-list{
  padding:14px;
  max-height:420px;
  overflow:auto;
}

.schedly-service-group{
  display:none;
}

.schedly-service-group.is-active{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.schedly-service-item{
  width:100%;
  border:1px solid #ece7fb;
  background:#fff;
  border-radius:16px;
  padding:14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  cursor:pointer;
  text-align:left;
  transition:all .18s ease;
}

.schedly-service-item:hover{
  border-color:#c4b5fd;
  box-shadow:0 10px 24px rgba(124,58,237,.10);
}

.schedly-service-item.is-selected{
  border-color:#7c3aed;
  background:#faf5ff;
  box-shadow:0 12px 24px rgba(124,58,237,.12);
}

.schedly-service-item-main{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.schedly-service-item-main strong{
  font-size:15px;
  color:#111827;
}

.schedly-service-item-main span{
  font-size:13px;
  color:#6b7280;
}

.schedly-service-item-price{
  font-size:13px;
  font-weight:700;
  color:#312e81;
  white-space:nowrap;
  letter-spacing:-.01em;
  padding:6px 10px;
  border-radius:999px;
  background:linear-gradient(180deg,#faf5ff 0%,#f5f3ff 100%);
  border:1px solid #e9d5ff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}

.schedly-service-extras-group{
  display:grid;
  gap:10px;
}

.schedly-extra-item{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:12px;
  align-items:start;
  padding:14px 16px;
  border:1px solid #e5e7eb;
  border-radius:16px;
  background:#fff;
  cursor:pointer;
}

.schedly-extra-item input{
  margin-top:3px;
}

.schedly-extra-item__content{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.schedly-extra-item__content strong{
  color:#111827;
}

.schedly-extra-item__content small{
  color:#6b7280;
}

.schedly-extra-item__price{
  font-weight:700;
  color:#065f46;
  white-space:nowrap;
}

/* ===== PREMIUM CALENDAR ===== */
.schedly-calendar-box{
  border:1px solid var(--schedly-border);
  border-radius:24px;
  background:#fff;
  padding:18px;
  box-shadow:0 10px 28px rgba(15,23,42,.05);
}

.schedly-calendar-toolbar{
  display:grid;
  grid-template-columns:1fr 1fr auto;
  gap:14px;
  align-items:center;
  margin-bottom:18px;
}

.schedly-calendar-select{
  min-height:54px;
}

.schedly-calendar-nav{
  display:flex;
  gap:0;
  overflow:hidden;
  border:1px solid var(--schedly-border);
  border-radius:16px;
  height:54px;
}

.schedly-calendar-nav-btn{
  width:64px;
  border:none;
  background:#fff;
  font-size:26px;
  cursor:pointer;
  color:#111827;
}

.schedly-calendar-nav-btn + .schedly-calendar-nav-btn{
  border-left:1px solid var(--schedly-border);
}

.schedly-calendar-weekdays{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:10px;
  margin-bottom:12px;
  color:#374151;
  font-weight:700;
  text-align:center;
}

.schedly-calendar-days{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:10px;
}

.schedly-calendar-day{
  min-height:64px;
  border-radius:16px;
  border:1.5px solid #d8ccff;
  background:#fff;
  color:#4338ca;
  font-size:20px;
  font-weight:700;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:all .18s ease;
}

.schedly-calendar-day:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(99,102,241,.10);
}

.schedly-calendar-day.is-muted{
  background:#f8fafc;
  color:#cbd5e1;
  border-color:#e5e7eb;
  cursor:default;
}

.schedly-calendar-day.is-past{
  background:#f3f4f6;
  color:#cbd5e1;
  border-color:#e5e7eb;
  cursor:not-allowed;
}

.schedly-calendar-day.is-selected{
  background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);
  border-color:#1d4ed8;
  color:#fff;
  box-shadow:0 14px 26px rgba(37,99,235,.24);
}

.schedly-selected-date-label{
  margin:0 0 14px;
  font-size:18px;
  font-weight:700;
  color:#111827;
}

.schedly-slots{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(120px,1fr));
  gap:12px;
  margin-top:18px;
}

.schedly-slots-premium{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.schedly-slot-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  border-radius:18px;
  border:1px solid var(--schedly-border);
  background:#fff;
  color:var(--schedly-text);
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  transition:all .2s ease;
  box-shadow:0 8px 22px rgba(15,23,42,.04);
}

.schedly-slots-premium .schedly-slot-btn{
  min-height:58px;
  font-size:18px;
  border-radius:16px;
  font-weight:700;
}

.schedly-slot-btn:hover{
  transform:translateY(-1px);
  border-color:var(--schedly-primary);
  box-shadow:0 14px 28px rgba(124,58,237,.16);
}

.schedly-slot-btn.is-selected{
  color:#fff;
  border-color:transparent;
  background:linear-gradient(135deg,var(--schedly-primary) 0%,var(--schedly-primary-2) 100%);
  box-shadow:0 16px 30px rgba(124,58,237,.28);
}

.schedly-empty{
  padding:16px;
  border-radius:16px;
  background:#f8fafc;
  color:#64748b;
  border:1px dashed #cbd5e1;
}

@media (max-width: 980px){
  .schedly-layout{
    grid-template-columns:1fr;
  }

  .schedly-main{
    padding:28px 22px;
  }

  .schedly-sidebar{
    padding:26px 22px;
  }

  .schedly-service-picker-grid{
    grid-template-columns:1fr;
  }

  .schedly-service-cats{
    border-right:none;
    border-bottom:1px solid #efe9ff;
  }

  .schedly-calendar-toolbar{
    grid-template-columns:1fr;
  }
}

@media (max-width: 640px){
  .schedly-panel-title{
    font-size:28px;
  }

  .schedly-inline-action{
    flex-direction:column;
  }

  .schedly-inline-action--coupon{
    grid-template-columns:1fr;
  }

  .schedly-coupon-preview__amounts{
    grid-template-columns:1fr;
  }

  .schedly-slots{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .schedly-slots-premium{
    grid-template-columns:1fr;
  }

  .schedly-calendar-days{
    gap:8px;
  }

  .schedly-calendar-day{
    min-height:54px;
    font-size:18px;
  }
}

.schedly-slots-stage-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

.schedly-booking-alert{
  margin-top:14px;
  padding:14px 16px;
  border-radius:14px;
  font-size:14px;
  line-height:1.5;
}

.schedly-booking-alert--error{
  background:#fff5f5;
  border:1px solid #fecaca;
  color:#b91c1c;
}

.schedly-booking-alert--success{
  background:#f0fdf4;
  border:1px solid #bbf7d0;
  color:#166534;
}

button.is-loading,
.schedly-submit-btn.is-loading,
[data-schedly-submit].is-loading{
  opacity:.75;
  pointer-events:none;
  position:relative;
}

button.is-loading::after,
.schedly-submit-btn.is-loading::after,
[data-schedly-submit].is-loading::after{
  content:'';
  width:14px;
  height:14px;
  margin-left:8px;
  border:2px solid rgba(255,255,255,.45);
  border-top-color:#fff;
  border-radius:50%;
  display:inline-block;
  vertical-align:middle;
  animation:schedly-spin .7s linear infinite;
}

@keyframes schedly-spin{
  to{transform:rotate(360deg);}
}

.schedly-empty-slots{
  padding:14px;
  border:1px dashed #cbd5e1;
  border-radius:12px;
  color:#64748b;
  background:#f8fafc;
}

/* Compact booking polish */
.schedly-booking-wrap{
  max-width:1120px;
  margin:24px auto;
  border-radius:26px;
}

.schedly-layout{
  grid-template-columns:272px 1fr;
  min-height:680px;
}

.schedly-sidebar{
  padding:26px 22px;
}

.schedly-brand{
  margin-bottom:22px;
}

.schedly-brand h2{
  font-size:24px;
}

.schedly-brand p{
  font-size:13px;
}

.schedly-steps{
  gap:10px;
}

.schedly-step{
  gap:12px;
  padding:12px 14px;
  border-radius:16px;
}

.schedly-step-index{
  width:34px;
  height:34px;
}

.schedly-step-title{
  font-size:14px;
}

.schedly-step-sub{
  font-size:11px;
  line-height:1.35;
}

.schedly-main{
  padding:30px 30px 28px;
}

.schedly-panel{
  max-width:700px;
}

.schedly-panel-title{
  font-size:30px;
}

.schedly-panel-subtitle{
  margin-bottom:20px;
  font-size:14px;
  line-height:1.55;
}

.schedly-field{
  margin-bottom:14px;
}

.schedly-input,
.schedly-select,
.schedly-textarea{
  border-radius:16px;
  padding:13px 14px;
  font-size:14px;
}

.schedly-textarea{
  min-height:54px;
}

.schedly-summary-card{
  margin-top:16px;
  padding:18px;
  border-radius:20px;
}

.schedly-summary-card h3{
  margin-bottom:12px;
  font-size:17px;
}

.schedly-summary-list{
  gap:10px;
}

.schedly-coupon-card{
  margin-top:16px;
  border-radius:16px;
}

.schedly-deposit-box{
  margin-top:12px;
  padding:13px 14px;
}

.schedly-actions{
  margin-top:20px;
}

.schedly-btn{
  border-radius:14px;
  padding:12px 18px;
  font-size:14px;
}

.schedly-inline-message{
  margin-top:14px;
  padding:12px 14px;
  border-radius:14px;
  font-size:13px;
}

.schedly-inline-message.is-info{
  background:#eff6ff;
  color:#1d4ed8;
  border:1px solid #bfdbfe;
}

.schedly-picker-trigger{
  min-height:52px;
  padding:14px 16px;
  border-radius:16px;
  font-size:15px;
}

.schedly-service-picker{
  margin-top:10px;
  border-radius:18px;
}

.schedly-service-picker-grid{
  grid-template-columns:220px 1fr;
  min-height:300px;
}

.schedly-service-cats{
  padding:10px;
  max-height:360px;
}

.schedly-service-cat{
  border-radius:12px;
  padding:11px 12px;
}

.schedly-service-list{
  padding:12px;
  max-height:360px;
}

.schedly-service-group.is-active{
  gap:8px;
}

.schedly-service-item{
  border-radius:14px;
  padding:12px 14px;
}

.schedly-service-item-main strong{
  font-size:14px;
}

.schedly-service-item-main span{
  font-size:12px;
}

.schedly-service-item-price{
  font-size:12px;
  padding:5px 8px;
}

.schedly-service-extras-group{
  gap:8px;
}

.schedly-extra-item{
  gap:10px;
  padding:12px 14px;
  border-radius:14px;
}

.schedly-calendar-box{
  border-radius:20px;
  padding:14px;
}

.schedly-calendar-toolbar{
  gap:10px;
  margin-bottom:14px;
}

.schedly-calendar-select{
  min-height:48px;
}

.schedly-calendar-nav{
  border-radius:14px;
  height:48px;
}

.schedly-calendar-nav-btn{
  width:54px;
  font-size:22px;
}

.schedly-calendar-weekdays{
  gap:8px;
  margin-bottom:10px;
  font-size:12px;
}

.schedly-calendar-days{
  gap:8px;
}

.schedly-calendar-day{
  min-height:56px;
  border-radius:14px;
  font-size:17px;
}

.schedly-slots-stage-head{
  gap:12px;
}

.schedly-selected-date-label{
  margin:0;
  font-size:16px;
}

.schedly-slots-field{
  margin-bottom:0;
}

.schedly-slots{
  grid-template-columns:repeat(auto-fill,minmax(104px,1fr));
  gap:10px;
  margin-top:12px;
}

.schedly-slots-premium{
  grid-template-columns:repeat(auto-fit,minmax(112px,1fr));
  gap:10px;
}

.schedly-slot-btn{
  min-height:46px;
  border-radius:14px;
  font-size:13px;
}

.schedly-slots-premium .schedly-slot-btn{
  min-height:48px;
  border-radius:14px;
  font-size:14px;
}

.schedly-empty{
  padding:14px;
}

.schedly-empty__eyebrow{
  margin-bottom:6px;
  color:#6d28d9;
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.schedly-empty__title{
  color:#111827;
  font-size:16px;
  font-weight:700;
  line-height:1.3;
}

.schedly-empty__copy{
  margin-top:6px;
  font-size:13px;
  line-height:1.55;
}

.schedly-empty--waitlist{
  border-style:solid;
  border-color:#ddd6fe;
  background:linear-gradient(180deg,#faf5ff 0%,#f5f3ff 100%);
  box-shadow:0 12px 28px rgba(124,58,237,.08);
}

.schedly-empty--filled{
  border-style:solid;
  border-color:#d8b4fe;
  background:linear-gradient(180deg,#faf5ff 0%,#f8f4ff 100%);
}

.schedly-empty--unavailable{
  border-style:solid;
  border-color:#cbd5e1;
  background:linear-gradient(180deg,#f8fafc 0%,#f1f5f9 100%);
}

.schedly-empty--error{
  border-style:solid;
  border-color:#fecaca;
  background:linear-gradient(180deg,#fff7f7 0%,#fef2f2 100%);
}

.schedly-empty--loading{
  border-style:solid;
  border-color:#dbeafe;
  background:linear-gradient(180deg,#f8fbff 0%,#eff6ff 100%);
}

/* Step 3 rebuilt layout */
.schedly-step-panel[data-step-panel="3"]{
  max-width:none;
}

@keyframes schedlyPanelIn{
  from{
    opacity:0;
    transform:translateY(16px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes schedlyPickerIn{
  from{
    opacity:0;
    transform:translateY(-6px) scale(.98);
  }
  to{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

.schedly-step3-shell{
  display:grid;
  gap:14px;
}

.schedly-step3-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}

.schedly-step3-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:8px;
  padding:5px 9px;
  border-radius:999px;
  background:#f3e8ff;
  color:#6d28d9;
  font-size:11px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
  width:max-content;
  justify-self:start;
}

.schedly-step3-head .schedly-panel-title{
  margin-bottom:4px;
  font-size:28px;
}

.schedly-step3-head .schedly-panel-subtitle{
  margin-bottom:0;
  max-width:560px;
  font-size:13px;
  line-height:1.45;
  color:#6b7280;
}

.schedly-step3-layout{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);
  gap:14px;
  align-items:start;
}

.schedly-step3-main,
.schedly-step3-side{
  display:grid;
  gap:12px;
}

.schedly-step3-card{
  padding:14px;
  border:1px solid #eadcff;
  border-radius:18px;
  background:linear-gradient(180deg,#ffffff 0%,#fdfbff 100%);
  box-shadow:0 12px 28px rgba(124,58,237,.07);
}

.schedly-step3-card-head{
  margin-bottom:10px;
}

.schedly-step3-card-head h3{
  margin:0;
  color:#111827;
  font-size:16px;
}

.schedly-step3-form-stack{
  display:grid;
  gap:10px;
}

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

.schedly-step3-card .schedly-field{
  margin-bottom:0;
}

.schedly-step3-card .schedly-field label{
  margin-bottom:5px;
  font-size:12px;
  font-weight:700;
  color:#4b5563;
}

.schedly-step3-card .schedly-input,
.schedly-step3-card .schedly-select,
.schedly-step3-card .schedly-textarea{
  min-height:40px;
  padding:9px 11px;
  border-radius:12px;
  font-size:12px;
  box-shadow:none;
}

.schedly-step3-card .schedly-textarea{
  min-height:64px;
  line-height:1.45;
}

.schedly-step3-card--coupon{
  padding:12px;
}

.schedly-step3-card--coupon .schedly-field label{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.05em;
  color:#6b7280;
}

.schedly-step3-card--coupon .schedly-inline-action{
  gap:6px;
  align-items:center;
}

.schedly-step3-card--coupon .schedly-btn{
  white-space:nowrap;
  padding:10px 14px;
  min-height:40px;
}

.schedly-step3-card--summary{
  position:sticky;
  top:20px;
  margin:0;
}

.schedly-step3-card--summary h3{
  margin-bottom:10px;
  font-size:15px;
}

.schedly-step3-card--summary .schedly-summary-list{
  gap:8px;
}

.schedly-step3-card--summary .schedly-summary-row{
  align-items:flex-start;
  font-size:12px;
}

.schedly-step3-card--summary .schedly-summary-row span{
  color:#6b7280;
}

.schedly-step3-card--summary .schedly-summary-row strong{
  max-width:58%;
  text-align:right;
  line-height:1.4;
}

.schedly-step3-card--summary .schedly-deposit-box{
  margin-top:10px;
  padding:10px 11px;
  font-size:12px;
}

.schedly-step3-shell > .schedly-inline-message{
  margin:0;
}

.schedly-step3-actions{
  margin-top:0;
  justify-content:flex-start;
  gap:10px;
}

.schedly-step3-actions .schedly-btn{
  min-width:116px;
  padding:10px 15px;
  font-size:12px;
}

@media (max-width: 980px){
  .schedly-main{
    padding:24px 20px;
  }

  .schedly-sidebar{
    padding:22px 20px;
  }

  .schedly-step3-layout{
    grid-template-columns:1fr;
  }

  .schedly-step3-card--summary{
    position:static;
    top:auto;
  }
}

@media (max-width: 640px){
  .schedly-panel-title{
    font-size:24px;
  }

  .schedly-slots-premium{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .schedly-calendar-days{
    gap:6px;
  }

  .schedly-calendar-day{
    min-height:48px;
    font-size:16px;
  }

  .schedly-step3-head .schedly-panel-title{
    font-size:24px;
  }

  .schedly-step3-grid{
    grid-template-columns:1fr;
  }

  .schedly-step3-card{
    padding:14px;
    border-radius:18px;
  }

  .schedly-step3-card--coupon .schedly-inline-action{
    flex-direction:column;
  }
}

/* Step 3 isolated ids */
#schedly-step3-shell{
  gap:12px;
}

#schedly-step3-head{
  display:grid;
  gap:4px;
}

#schedly-step3-head .schedly-panel-title{
  margin:0;
  font-size:26px;
  line-height:1.05;
}

#schedly-step3-head .schedly-panel-subtitle{
  margin:0;
  font-size:13px;
  line-height:1.4;
}

#schedly-step3-layout{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  align-items:start;
}

#schedly-step3-main,
#schedly-step3-side{
  min-width:0;
  display:grid;
  gap:10px;
}

#schedly-step3-main{
  max-height:360px;
  overflow-y:auto;
  padding-right:4px;
}

#schedly-step3-main,
.schedly-slots{
  scrollbar-width:thin;
  scrollbar-color:rgba(124,58,237,.38) transparent;
}

#schedly-step3-main::-webkit-scrollbar,
.schedly-slots::-webkit-scrollbar{
  width:8px;
}

#schedly-step3-main::-webkit-scrollbar-track,
.schedly-slots::-webkit-scrollbar-track{
  background:linear-gradient(180deg,rgba(124,58,237,.04) 0%,rgba(124,58,237,.01) 100%);
  border-radius:999px;
}

#schedly-step3-main::-webkit-scrollbar-thumb,
.schedly-slots::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg,rgba(139,92,246,.72) 0%,rgba(124,58,237,.9) 100%);
  border-radius:999px;
  border:2px solid rgba(255,255,255,.9);
  box-shadow:0 4px 10px rgba(124,58,237,.18);
}

#schedly-step3-main::-webkit-scrollbar-thumb:hover,
.schedly-slots::-webkit-scrollbar-thumb:hover{
  background:linear-gradient(180deg,rgba(139,92,246,.88) 0%,rgba(109,40,217,.98) 100%);
}

#schedly-step3-form-card,
#schedly-step3-coupon-card,
#schedly-step3-summary-card{
  min-width:0;
  padding:12px;
  border-radius:16px;
}

#schedly-step3-form-card{
  padding:12px;
}

#schedly-step3-form-card .schedly-step3-card-head{
  margin-bottom:6px;
}

#schedly-step3-form-card .schedly-step3-card-head h3{
  margin:0;
  font-size:14px;
}

#schedly-step3-form-stack{
  display:grid;
  gap:8px;
}

#schedly-step3-identity-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
}

#schedly-step3-name-field,
#schedly-step3-phone-field,
#schedly-step3-email-field,
#schedly-step3-notes-field,
#schedly-step3-recurrence-field{
  min-width:0;
  width:100%;
  margin:0;
}

#schedly-step3-name-field .schedly-input,
#schedly-step3-phone-field .schedly-input,
#schedly-step3-email-field .schedly-input,
#schedly-step3-notes-field .schedly-textarea,
#schedly-step3-recurrence-field .schedly-select{
  display:block;
  width:100%;
  min-width:0;
  min-height:36px;
  height:auto;
  padding:8px 10px;
  border-radius:12px;
  font-size:12px;
  box-sizing:border-box;
}

#schedly-step3-name-field label,
#schedly-step3-phone-field label,
#schedly-step3-email-field label,
#schedly-step3-notes-field label,
#schedly-step3-recurrence-field label{
  margin-bottom:5px;
  font-size:12px;
}

#schedly-step3-notes-field .schedly-textarea{
  min-height:46px;
  max-height:70px;
}

#schedly-step3-coupon-card{
  padding:10px;
  border-color:#efe7ff;
  background:linear-gradient(180deg,#ffffff 0%,#fdfcff 100%);
}

#schedly-step3-coupon-card .schedly-coupon-card{
  margin:0;
  padding:0;
  border:none;
  box-shadow:none;
  background:transparent;
}

#schedly-step3-coupon-card .schedly-coupon-card__head{
  margin-bottom:6px;
}

#schedly-step3-coupon-card .schedly-coupon-card__head h3{
  margin:0;
  font-size:12px;
  line-height:1.3;
}

#schedly-step3-coupon-inline{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:4px;
  align-items:center;
}

#schedly-step3-coupon-inline .schedly-input{
  min-width:0;
  width:100%;
  min-height:36px;
  padding:8px 10px;
  border-radius:12px;
  font-size:12px;
  box-sizing:border-box;
}

#schedly-step3-coupon-inline .schedly-btn{
  min-height:36px;
  padding:8px 10px;
  border-radius:12px;
  font-size:11px;
  white-space:nowrap;
}

#schedly-step3-summary-card{
  margin:0;
  border-color:#ddccff;
  background:linear-gradient(180deg,#fcf8ff 0%,#f7f2ff 100%);
  box-shadow:0 14px 26px rgba(124,58,237,.08);
}

#schedly-step3-summary-card h3{
  margin-bottom:8px;
  font-size:13px;
}

#schedly-step3-summary-card .schedly-summary-list{
  gap:6px;
}

#schedly-step3-summary-card .schedly-summary-row{
  font-size:11px;
}

#schedly-step3-summary-card .schedly-summary-row strong{
  max-width:55%;
  font-weight:700;
}

#schedly-step3-actions{
  margin-top:4px;
  gap:8px;
  padding-top:6px;
  border-top:1px solid rgba(233,221,255,.8);
  justify-content:flex-end;
}

#schedly-step3-actions .schedly-btn{
  min-width:96px;
  padding:9px 13px;
  font-size:12px;
}

@media (max-width: 640px){
  #schedly-step3-identity-grid{
    grid-template-columns:1fr;
  }

  #schedly-step3-coupon-inline{
    grid-template-columns:1fr;
  }
}

/* Slots restored size with scroll safety */
.schedly-slots{
  grid-template-columns:repeat(auto-fill,minmax(104px,1fr));
  gap:10px;
  margin-top:12px;
  max-height:420px;
  overflow-y:auto;
  padding-right:4px;
}

.schedly-slots-premium{
  grid-template-columns:repeat(auto-fit,minmax(112px,1fr));
  gap:10px;
}

.schedly-slot-btn{
  min-height:46px;
  padding:10px 8px;
  border-radius:14px;
  font-size:13px;
}

.schedly-slots-premium .schedly-slot-btn{
  min-height:48px;
  padding:10px 8px;
  border-radius:14px;
  font-size:14px;
}

/* Collapsible premium step rail */
.schedly-booking-wrap{
  position:relative;
  width:min(100%, 900px);
}

.schedly-booking-wrap,
.schedly-layout,
.schedly-sidebar,
.schedly-main,
.schedly-brand,
.schedly-step,
.schedly-step-body{
  transition:
    grid-template-columns .34s cubic-bezier(.22,1,.36,1),
    width .34s cubic-bezier(.22,1,.36,1),
    padding .34s cubic-bezier(.22,1,.36,1),
    opacity .22s ease,
    transform .34s cubic-bezier(.22,1,.36,1);
}

.schedly-layout{
  grid-template-columns:200px minmax(0,1fr);
}

.schedly-sidebar{
  isolation:isolate;
  min-width:0;
  overflow:visible;
}

.schedly-sidebar::before{
  content:'';
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    linear-gradient(135deg,rgba(255,255,255,.16) 0%,transparent 28%),
    radial-gradient(circle at 18% 12%,rgba(45,212,191,.32),transparent 28%),
    radial-gradient(circle at 76% 86%,rgba(59,130,246,.26),transparent 34%);
  opacity:.9;
}

.schedly-sidebar::after{
  content:'';
  position:absolute;
  inset:14px;
  z-index:0;
  pointer-events:none;
  border:1px solid rgba(255,255,255,.10);
  border-radius:22px;
  opacity:.75;
}

.schedly-brand,
.schedly-steps{
  position:relative;
  z-index:1;
}

.schedly-sidebar-toggle{
  position:absolute;
  top:18px;
  right:-18px;
  z-index:5;
  width:38px;
  height:54px;
  display:inline-grid;
  place-items:center;
  border:1px solid rgba(226,232,240,.86);
  border-left-color:rgba(255,255,255,.18);
  border-radius:0 18px 18px 0;
  color:#0f172a;
  background:
    radial-gradient(circle at 70% 18%,rgba(45,212,191,.25),transparent 34%),
    linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
  box-shadow:0 18px 36px rgba(15,23,42,.16),inset 1px 0 0 rgba(255,255,255,.92);
  cursor:pointer;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}

.schedly-sidebar-toggle:hover{
  transform:translateX(2px);
  border-color:rgba(45,212,191,.55);
  box-shadow:0 22px 42px rgba(15,23,42,.20),0 0 0 5px rgba(45,212,191,.10);
}

.schedly-sidebar-toggle:focus-visible{
  outline:3px solid rgba(45,212,191,.30);
  outline-offset:3px;
}

.schedly-sidebar-toggle-icon{
  width:10px;
  height:10px;
  border-top:2px solid currentColor;
  border-right:2px solid currentColor;
  transform:rotate(225deg);
  transition:transform .28s cubic-bezier(.22,1,.36,1);
}

.schedly-booking-wrap.is-sidebar-collapsed .schedly-layout{
  grid-template-columns:66px minmax(0,1fr);
}

.schedly-booking-wrap.is-sidebar-collapsed .schedly-sidebar{
  padding:22px 10px;
}

.schedly-booking-wrap.is-sidebar-collapsed .schedly-brand{
  opacity:0;
  transform:translateX(-10px);
  height:0;
  margin:0;
  overflow:hidden;
  pointer-events:none;
}

.schedly-booking-wrap.is-sidebar-collapsed .schedly-steps{
  align-items:center;
  gap:12px;
  padding-top:42px;
}

.schedly-booking-wrap.is-sidebar-collapsed .schedly-step{
  width:50px;
  min-height:50px;
  justify-content:center;
  padding:8px;
  border-radius:18px;
}

.schedly-booking-wrap.is-sidebar-collapsed .schedly-step-body{
  position:absolute;
  opacity:0;
  transform:translateX(-8px);
  pointer-events:none;
}

.schedly-booking-wrap.is-sidebar-collapsed .schedly-step-index{
  width:34px;
  height:34px;
}

.schedly-booking-wrap.is-sidebar-collapsed .schedly-sidebar-toggle-icon{
  transform:rotate(45deg);
}

@media (max-width: 980px){
  .schedly-booking-wrap{
    width:min(100% - 24px, 760px);
  }

  .schedly-layout,
  .schedly-booking-wrap.is-sidebar-collapsed .schedly-layout{
    grid-template-columns:1fr;
  }

  .schedly-sidebar,
  .schedly-booking-wrap.is-sidebar-collapsed .schedly-sidebar{
    padding:20px 18px 18px;
    border-radius:0;
  }

  .schedly-sidebar-toggle{
    top:14px;
    right:16px;
    width:48px;
    height:34px;
    border-radius:999px;
    border-left-color:rgba(226,232,240,.86);
  }

  .schedly-sidebar-toggle-icon{
    transform:rotate(315deg);
  }

  .schedly-booking-wrap.is-sidebar-collapsed .schedly-sidebar-toggle-icon{
    transform:rotate(135deg);
  }

  .schedly-brand{
    padding-right:58px;
  }

  .schedly-steps{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .schedly-booking-wrap.is-sidebar-collapsed .schedly-brand{
    height:auto;
    opacity:1;
    transform:none;
    margin-bottom:0;
  }

  .schedly-booking-wrap.is-sidebar-collapsed .schedly-brand p,
  .schedly-booking-wrap.is-sidebar-collapsed .schedly-steps{
    display:none;
  }

  .schedly-main{
    padding:24px 18px;
  }
}

@media (max-width: 640px){
  .schedly-booking-wrap{
    width:100%;
    margin:0 auto;
    border-radius:0;
    border-left:none;
    border-right:none;
  }

  .schedly-sidebar{
    padding:16px 14px 14px;
  }

  .schedly-brand h2{
    font-size:20px;
  }

  .schedly-brand p{
    font-size:12px;
    line-height:1.45;
  }

  .schedly-steps{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:7px;
  }

  .schedly-step{
    min-width:0;
    gap:7px;
    align-items:center;
    padding:9px 8px;
    border-radius:15px;
  }

  .schedly-main{
    padding:20px 14px 22px;
  }

  .schedly-panel{
    max-width:none;
  }

  .schedly-step-index{
    width:28px;
    height:28px;
    font-size:12px;
  }

  .schedly-step-title{
    font-size:12px;
    line-height:1.15;
    white-space:nowrap;
  }

  .schedly-step-sub{
    display:none;
  }

  .schedly-picker-trigger{
    min-height:50px;
    padding:12px 14px;
    font-size:14px;
  }

  .schedly-service-picker-grid{
    display:block;
    min-height:0;
  }

  .schedly-service-cats{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
    max-height:none;
    overflow:visible;
    border-right:none;
    border-bottom:1px solid #efe9ff;
    padding:10px;
  }

  .schedly-service-cat{
    min-width:0;
    justify-content:center;
    padding:10px 8px;
    text-align:center;
    font-size:12px;
    line-height:1.15;
  }

  .schedly-service-cat small{
    display:none;
  }

  .schedly-service-list{
    max-height:none;
    overflow:visible;
    padding:10px;
  }

  .schedly-service-item{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:8px;
    align-items:start;
    padding:13px 14px;
  }

  .schedly-service-item-main{
    min-width:0;
  }

  .schedly-service-item-main strong{
    font-size:14px;
    line-height:1.25;
  }

  .schedly-service-item-price{
    justify-self:start;
    max-width:100%;
    white-space:normal;
    line-height:1.2;
    text-align:left;
  }
}
