/* ===== Premium UI for [sgc_otp_booking] ===== */
.sgc-ob {
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --ring: rgba(255, 113, 0, 0.28);
  --brand: #ff7100;
  --brand2: #e66200;
  --ok: #16a34a;
  --bad: #dc2626;


  max-width: 560px;
  margin: 0 auto;
  padding: 22px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  color: var(--text);
  font-family: inherit;
}

.sgc-ob h3 {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.sgc-ob-step {
  display: grid;
  gap: 12px;
}

.sgc-ob label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 4px;
}

.sgc-ob input[type="text"],
.sgc-ob input[type="date"],
.sgc-ob input[type="time"] {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  outline: none;
  font-size: 15px;
  color: var(--text);
  transition: box-shadow 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.sgc-ob input[type="text"]:focus,
.sgc-ob input[type="date"]:focus,
.sgc-ob input[type="time"]:focus {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 0 0 4px var(--ring);
}

.sgc-ob button {
  width: 100%;
  appearance: none;
  border: none;
  border-radius: 12px;
  padding: 12px 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 160ms ease, filter 160ms ease;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.18);
}

.sgc-ob button:hover {
  filter: brightness(1.03);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.24);
  transform: translateY(-1px);
}

.sgc-ob button:active {
  transform: translateY(0px);
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.18);
}

.sgc-ob .sgc-ob-msg {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #f8fafc;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.sgc-ob .sgc-ob-msg[style*="green"] {
  border-color: rgba(22, 163, 74, 0.25);
  background: rgba(22, 163, 74, 0.08);
  color: var(--ok) !important;
}

.sgc-ob .sgc-ob-msg[style*="red"] {
  border-color: rgba(220, 38, 38, 0.25);
  background: rgba(220, 38, 38, 0.08);
  color: var(--bad) !important;
}

/* Step sections spacing */
.sgc-ob-step-2,
.sgc-ob-step-3 {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}

/* Responsive */
@media (max-width: 480px) {
  .sgc-ob { padding: 16px; border-radius: 16px; }
  .sgc-ob h3 { font-size: 18px; }
}


.sgc-ob-header {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
}

.sgc-ob-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #0A1F44;
}

.sgc-ob-steps {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sgc-ob-pill {
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 6px 10px;
}

.sgc-ob-pill.is-active {
  color: #0A1F44;
  background: rgba(37, 99, 235, 0.10);
  border-color: rgba(37, 99, 235, 0.25);
}




