
.sbk-page {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: #0f172a;
  padding: 20px 16px 20px;
  min-height: 60vh;
}
.sbk-container {
  max-width: 1380px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 28px 32px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.05), 0 2px 8px rgba(15, 23, 42, 0.04);
}

/* Header */
.sbk-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e2e8f0;
}
.sbk-head__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
  flex-shrink: 0;
}
.sbk-head__badge svg { width: 20px; height: 20px; color: #fff; stroke-width: 2.2; }
.sbk-head__text { flex: 1; min-width: 0; }
.sbk-head h1 {
  font-size: 22px;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.1px;
  line-height: 1.2;
}
.sbk-head__sub {
  font-size: 13px;
  color: #475569;
  margin: 2px 0 0;
}

/* Grid */
.sbk-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.1fr 340px;
  gap: 32px;
  margin-top: 24px;
}
@media (max-width: 1080px) {
  .sbk-grid { grid-template-columns: 1fr 1fr; }
  .sbk-grid > :nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .sbk-grid { grid-template-columns: 1fr; gap: 22px; }
  .sbk-container { padding: 22px 18px; }
}

/* Section */
.sbk-section { margin-bottom: 20px; }
.sbk-section:last-child { margin-bottom: 0; }
.sbk-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 10px;
  letter-spacing: -0.1px;
}
.sbk-label__req::after {
  content: '*';
  color: #dc2626;
  margin-left: 3px;
  font-weight: 700;
}

/* Inputs */
.sbk-input,
.sbk-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: #0f172a;
  transition: border-color .15s, box-shadow .15s, background .15s;
  outline: none;
  -webkit-appearance: none;
}
.sbk-input:hover,
.sbk-textarea:hover { border-color: #cbd5e1; }
.sbk-input:focus,
.sbk-textarea:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
  background: #fff;
}
.sbk-input::placeholder,
.sbk-textarea::placeholder { color: #64748b; }
.sbk-textarea { resize: vertical; min-height: 100px; line-height: 1.5; }
.sbk-input + .sbk-input,
.sbk-input + .sbk-textarea,
.sbk-textarea + .sbk-input { margin-top: 10px; }

/* Date strip */
.sbk-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sbk-date {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 14px;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
  min-width: 62px;
  transition: all .18s cubic-bezier(.4,0,.2,1);
  position: relative;
}
.sbk-date:hover {
  border-color: #fca5a5;
  background: #fef2f2;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(220, 38, 38, 0.06);
}
.sbk-date.is-active {
  border-color: #dc2626;
  background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.18);
}
.sbk-date.is-active::before {
  content: '';
  position: absolute;
  top: 6px;
  right: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #dc2626;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.25);
}
.sbk-date__dow {
  font-size: 12px;
  color: #334155;
  font-weight: 500;
  display: block;
}
.sbk-date.is-active .sbk-date__dow { color: #991b1b; }
.sbk-date__day {
  font-size: 14.5px;
  font-weight: 600;
  color: #0f172a;
  margin-top: 3px;
  display: block;
}
.sbk-date.is-active .sbk-date__day { color: #dc2626; }

/* Time slots */
.sbk-times {
  background: linear-gradient(180deg, #fafbfc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 18px;
}
.sbk-time-group { margin-bottom: 16px; }
.sbk-time-group:last-child { margin-bottom: 0; }
.sbk-time-group__title {
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: .8px;
  margin-bottom: 9px;
  text-transform: uppercase;
}
.sbk-slot-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
}
@media (max-width: 600px) { .sbk-slot-row { grid-template-columns: repeat(4, 1fr); } }
.sbk-slot {
  padding: 8px 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #1e293b;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
  font-weight: 500;
}
.sbk-slot:hover:not(.is-disabled) {
  border-color: #fca5a5;
  background: #fef2f2;
  color: #991b1b;
  transform: translateY(-1px);
}
.sbk-slot.is-active {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border-color: #dc2626;
  color: #fff;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
}
.sbk-slot.is-disabled {
  opacity: .4;
  cursor: not-allowed;
  background: #f1f5f9;
  color: #64748b;
}

/* ============================================================
   IMAGE UPLOAD
   ============================================================ */
.sbk-upload {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 10px;
}
.sbk-upload__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.sbk-upload__head svg { width: 16px; height: 16px; color: #dc2626; }
.sbk-upload__title {
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}
.sbk-upload__hint {
  font-size: 11.5px;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 12px;
}
.sbk-upload__drop {
  border: 1.5px dashed #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  padding: 18px 14px;
  text-align: center;
  cursor: pointer;
  transition: all .15s;
  position: relative;
}
.sbk-upload__drop:hover,
.sbk-upload__drop.is-dragover {
  border-color: #dc2626;
  background: #fef2f2;
}
.sbk-upload__drop svg {
  width: 28px;
  height: 28px;
  color: #64748b;
  margin: 0 auto 6px;
  display: block;
}
.sbk-upload__drop:hover svg { color: #dc2626; }
.sbk-upload__btn {
  display: inline-block;
  background: #fff;
  color: #dc2626;
  border: 1px solid #fca5a5;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  margin-top: 4px;
}
.sbk-upload__btn:hover { background: #fef2f2; }
.sbk-upload__drop input[type=file] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.sbk-upload__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.sbk-upload__list:empty { display: none; }
.sbk-thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}
.sbk-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sbk-thumb__del {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border: none;
  background: rgba(15, 23, 42, 0.7);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
  padding: 0;
}
.sbk-thumb__del:hover { background: #b91c1c; }

/* ============================================================
   SERVICE BOX
   ============================================================ */
.sbk-service-box {
  background: linear-gradient(180deg, #fafbfc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 16px;
  margin-bottom: 12px;
}
.sbk-service-head {
  text-align: center;
  margin-bottom: 12px;
  padding: 14px 12px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}
.sbk-service-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}
.sbk-service-icons svg { width: 24px; height: 24px; color: #dc2626; stroke-width: 1.6; }
.sbk-service-title {
  font-size: 14.5px;
  font-weight: 600;
  color: #0f172a;
}
.sbk-service-sub {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 3px;
}
.sbk-service-search {
  position: relative;
  margin-bottom: 12px;
}
.sbk-service-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: #64748b;
  pointer-events: none;
}
.sbk-service-search input {
  width: 100%;
  padding: 9px 14px 9px 34px;
  border: 1px solid #e2e8f0;
  border-radius: 100px;
  background: #fff;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.sbk-service-search input:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.sbk-quick-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sbk-tag {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 100px;
  padding: 6px 13px;
  font-size: 12px;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
}
.sbk-tag:hover {
  border-color: #fca5a5;
  color: #991b1b;
  background: #fef2f2;
}
.sbk-tag.is-active {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border-color: #dc2626;
  color: #fff;
  box-shadow: 0 3px 8px rgba(220, 38, 38, 0.25);
}

/* Hotline */
.sbk-hotline {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 12px;
  text-decoration: none;
  color: inherit;
  transition: all .15s;
}
.sbk-hotline:hover {
  border-color: #fca5a5;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.08);
  transform: translateY(-1px);
}
.sbk-hotline__icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sbk-hotline__icon svg { width: 16px; height: 16px; color: #dc2626; }
.sbk-hotline__label { font-size: 12.5px; color: #475569; flex: 1; line-height: 1.3; }
.sbk-hotline__label small { display: block; font-size: 10.5px; color: #64748b; }
.sbk-hotline__number {
  font-size: 15.5px;
  font-weight: 600;
  color: #dc2626;
  letter-spacing: -0.2px;
}

.sbk-note {
  background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 12px;
  color: #991b1b;
  line-height: 1.55;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.sbk-note svg { width: 16px; height: 16px; color: #dc2626; flex-shrink: 0; margin-top: 1px; }

.sbk-warning {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 11px 14px;
}
.sbk-warning strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #0f172a;
  margin-bottom: 4px;
}
.sbk-warning strong svg { width: 14px; height: 14px; color: #dc2626; }
.sbk-warning p { font-size: 11.5px; color: #475569; margin: 0; line-height: 1.55; }

/* ============================================================
   ACTIONS
   ============================================================ */
.sbk-actions {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.sbk-btn {
  padding: 12px 26px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  transition: all .18s cubic-bezier(.4,0,.2,1);
  letter-spacing: -0.1px;
}
.sbk-btn svg { width: 16px; height: 16px; fill: currentColor; }
.sbk-btn--primary {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.3);
}
.sbk-btn--primary:hover {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(220, 38, 38, 0.4);
}
.sbk-btn--secondary {
  background: #fff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}
.sbk-btn--secondary:hover {
  background: #f8fafc;
  border-color: #64748b;
}
.sbk-btn:disabled { opacity: .65; cursor: wait; transform: none !important; }

.sbk-consent {
  text-align: center;
  font-size: 11.5px;
  color: #64748b;
  margin-top: 14px;
  line-height: 1.5;
}

/* Error / Success */
.sbk-input.is-invalid,
.sbk-textarea.is-invalid {
  border-color: #b91c1c;
  background: #fef2f2;
}
.sbk-input.is-invalid:focus,
.sbk-textarea.is-invalid:focus {
  box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.08);
}

.sbk-success {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid #6ee7b7;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  margin: 24px 0;
}
.sbk-success__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
}
.sbk-success__icon svg { width: 28px; height: 28px; color: #059669; stroke-width: 3; }
.sbk-success h3 { font-size: 18px; color: #064e3b; margin: 0 0 6px; font-weight: 600; }
.sbk-success p { font-size: 13.5px; color: #047857; margin: 0; line-height: 1.55; }
.sbk-success__detail {
  margin-top: 14px;
  padding: 12px;
  background: rgba(255,255,255,0.6);
  border-radius: 8px;
  font-size: 13px;
  color: #064e3b;
}
.sbk-success__detail strong { color: #dc2626; }

/* Spinner */
.sbk-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: sbk-spin .8s linear infinite;
}
@keyframes sbk-spin { to { transform: rotate(360deg); } }

/* ============================================================
   LOOKUP MODAL
   ============================================================ */
.sbk-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.sbk-modal-backdrop.is-open { display: flex; animation: sbk-fade .18s; }
@keyframes sbk-fade { from { opacity: 0; } to { opacity: 1; } }
.sbk-modal {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 640px;
  max-height: 88vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
  border: 1px solid #e2e8f0;
  animation: sbk-scale .22s cubic-bezier(.4,0,.2,1);
}
@keyframes sbk-scale { from { transform: scale(.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.sbk-modal__head {
  padding: 18px 22px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sbk-modal__head h2 { margin: 0; font-size: 17px; font-weight: 600; color: #0f172a; letter-spacing: -.2px; }
.sbk-modal__close {
  width: 32px;
  height: 32px;
  background: #f1f5f9;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  transition: background .15s;
}
.sbk-modal__close:hover { background: #e2e8f0; color: #0f172a; }
.sbk-modal__close svg { width: 16px; height: 16px; }
.sbk-modal__body { padding: 22px; overflow-y: auto; flex: 1; }
.sbk-modal__sub { font-size: 13.5px; color: #475569; margin: 0 0 16px; line-height: 1.5; }
.sbk-modal__form { display: flex; gap: 8px; margin-bottom: 16px; }
.sbk-modal__form .sbk-input { flex: 1; margin: 0; }
.sbk-modal__form .sbk-btn { flex-shrink: 0; padding: 12px 18px; font-size: 13.5px; }

.sbk-lookup-results { display: flex; flex-direction: column; gap: 10px; }
.sbk-lookup-empty {
  text-align: center;
  padding: 28px 16px;
  color: #64748b;
  font-size: 13.5px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
}
.sbk-lookup-empty strong { display: block; color: #1e293b; margin-bottom: 4px; font-weight: 600; }

.sbk-result-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.sbk-result-card__time {
  flex-shrink: 0;
  background: linear-gradient(180deg, #fef2f2 0%, #fee2e2 100%);
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 10px 12px;
  text-align: center;
  min-width: 70px;
}
.sbk-result-card__time__big { font-size: 18px; font-weight: 700; color: #dc2626; letter-spacing: -.4px; line-height: 1; }
.sbk-result-card__time__small { font-size: 11px; color: #991b1b; font-weight: 500; margin-top: 4px; }
.sbk-result-card__main { flex: 1; min-width: 0; }
.sbk-result-card__top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.sbk-result-card__id {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #475569;
  background: #f1f5f9;
  padding: 2px 7px;
  border-radius: 100px;
}
.sbk-result-card__status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
}
.sbk-result-card__status__dot { width: 6px; height: 6px; border-radius: 50%; }
.sbk-result-card__status--new { background: #dbeafe; color: #2563eb; }
.sbk-result-card__status--new .sbk-result-card__status__dot { background: #2563eb; }
.sbk-result-card__status--called { background: #fef3c7; color: #d97706; }
.sbk-result-card__status--called .sbk-result-card__status__dot { background: #d97706; }
.sbk-result-card__status--confirmed { background: #d1fae5; color: #059669; }
.sbk-result-card__status--confirmed .sbk-result-card__status__dot { background: #059669; }
.sbk-result-card__status--cancelled { background: #fee2e2; color: #dc2626; }
.sbk-result-card__status--cancelled .sbk-result-card__status__dot { background: #dc2626; }
.sbk-result-card__device { font-size: 13px; color: #1e293b; font-weight: 500; margin-bottom: 3px; }
.sbk-result-card__issue { font-size: 12px; color: #64748b; }
.sbk-result-card__services { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.sbk-result-card__pill {
  display: inline-flex;
  padding: 2px 8px;
  background: #f1f5f9;
  color: #475569;
  border-radius: 100px;
  font-size: 11px;
}
.sbk-result-card__imgs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 8px; }
.sbk-result-card__imgs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid #e2e8f0;
}

/* Toast */
.sbk-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #0f172a;
  color: #fff;
  padding: 12px 22px;
  border-radius: 100px;
  font-size: 13.5px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
  z-index: 99999;
  opacity: 0;
  transition: opacity .25s, transform .25s;
  max-width: calc(100vw - 32px);
  text-align: center;
  font-family: inherit;
}
.sbk-toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }
.sbk-toast--err { background: #b91c1c; }
