/**
 * Orthoflow ERP - Connected Patient Portal Styling
 * Enhances Dentacare Webflow styling with modern booking stepper, clinic directory, and ERP integration drawer.
 */

:root {
  --of-primary: #384bf8;
  --of-primary-dark: #2435d6;
  --of-primary-light: #5b6dfc;
  --of-accent: #00d285;
  --of-navy: #030623;
  --of-surface: #f4f6fc;
  --of-surface-alt: #eef1f8;
  --of-card-bg: #ffffff;
  --of-text-dark: #0f172a;
  --of-text-muted: #64748b;
  --of-border: rgba(15, 23, 42, 0.08);
  --of-shadow-sm: 0 4px 12px rgba(3, 6, 35, 0.05);
  --of-shadow-md: 0 10px 30px rgba(3, 6, 35, 0.08);
  --of-shadow-lg: 0 20px 45px rgba(3, 6, 35, 0.12);
  --of-radius-sm: 8px;
  --of-radius-md: 16px;
  --of-radius-lg: 24px;
  --of-radius-full: 9999px;
}

/* Ensure smooth scrolling and font baseline */
html {
  scroll-behavior: smooth;
  font-family: 'Work Sans', 'Catamaran', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  color: var(--of-text-dark);
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, .heading-two, .home-one-about-heading, .trusted-care-heading {
  font-family: 'Clashgrotesk', 'Work Sans', sans-serif !important;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Brand badge in navbar */
.of-brand-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.of-brand-logo-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.of-logo-mark {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--of-primary), #00d285);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 4px 14px rgba(56, 75, 248, 0.35);
}

.of-brand-text {
  display: flex;
  flex-direction: column;
}

.of-brand-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--of-navy);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.of-brand-tagline {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--of-primary);
  font-weight: 600;
}

/* Live ERP status indicator pill */
.of-erp-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--of-radius-full);
  cursor: pointer;
  transition: all 0.25s ease;
}

.of-erp-status-pill:hover {
  background: #dcfce7;
  transform: translateY(-1px);
}

.of-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: of-pulse 1.8s infinite;
}

@keyframes of-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Hero Section Enhancements */
.home-one-banner {
  position: relative;
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
  padding-bottom: 70px;
}

.of-hero-content-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.of-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f3f4ff;
  border: 1px solid rgba(56, 75, 248, 0.2);
  color: var(--of-primary);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: var(--of-radius-full);
  margin-bottom: 20px;
}

.of-hero-title {
  font-size: 54px;
  line-height: 1.12;
  color: var(--of-navy);
  margin-bottom: 22px;
  letter-spacing: -0.03em;
}

.of-hero-title span {
  color: var(--of-primary);
  position: relative;
}

.of-hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--of-text-muted);
  margin-bottom: 34px;
  max-width: 540px;
}

/* Quick Search Widget inside Hero */
.of-quick-finder-card {
  background: #ffffff;
  border-radius: var(--of-radius-md);
  padding: 16px;
  box-shadow: 0 16px 40px rgba(3, 6, 35, 0.09);
  border: 1px solid rgba(56, 75, 248, 0.12);
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: center;
}

.of-finder-field {
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
  border-radius: var(--of-radius-sm);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.of-finder-field label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--of-text-muted);
  margin-bottom: 4px;
}

.of-finder-field select, .of-finder-field input {
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--of-navy);
  outline: none;
}

.of-finder-submit {
  background: var(--of-primary);
  color: white;
  border: none;
  padding: 18px 26px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--of-radius-md);
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.of-finder-submit:hover {
  background: var(--of-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(56, 75, 248, 0.35);
}

/* Hero Showcase Card */
.of-hero-showcase {
  position: relative;
}

.of-hero-card-main {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--of-shadow-lg);
}

.of-hero-card-main img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.of-hero-floating-pill {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  padding: 14px 20px;
  border-radius: var(--of-radius-md);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.of-pill-top-right {
  top: 24px;
  right: -16px;
}

.of-pill-bottom-left {
  bottom: 24px;
  left: -16px;
}

.of-pill-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f3f4ff;
  color: var(--of-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.of-pill-text-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--of-navy);
}

.of-pill-text-sub {
  font-size: 12px;
  color: var(--of-text-muted);
}

/* Section Header Shared */
.of-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px auto;
}

.of-section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--of-primary);
  background: #f3f4ff;
  padding: 6px 16px;
  border-radius: var(--of-radius-full);
  margin-bottom: 14px;
}

.of-section-title {
  font-size: 38px;
  line-height: 1.2;
  color: var(--of-navy);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.of-section-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--of-text-muted);
}

/* Clinics Directory Grid */
.of-clinics-section {
  padding: 90px 24px;
  background: #ffffff;
}

.of-clinics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
  max-width: 1240px;
  margin: 0 auto;
}

.of-clinic-card {
  background: #ffffff;
  border-radius: var(--of-radius-md);
  border: 1px solid var(--of-border);
  overflow: hidden;
  box-shadow: var(--of-shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.of-clinic-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--of-shadow-md);
  border-color: rgba(56, 75, 248, 0.3);
}

.of-clinic-card-image {
  position: relative;
  height: 200px;
}

.of-clinic-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.of-clinic-erp-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(3, 6, 35, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--of-radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
}

.of-clinic-rating-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: #ffffff;
  color: #0f172a;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 4px;
}

.of-clinic-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.of-clinic-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--of-navy);
  margin-bottom: 8px;
}

.of-clinic-address {
  font-size: 14px;
  color: var(--of-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.of-clinic-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.of-clinic-feature-chip {
  font-size: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  padding: 4px 10px;
  border-radius: 6px;
}

.of-clinic-doctors {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--of-border);
  padding-top: 18px;
  margin-top: auto;
}

.of-clinic-doctor-avatars {
  display: flex;
  align-items: center;
}

.of-clinic-doctor-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  object-fit: cover;
  margin-left: -10px;
}

.of-clinic-doctor-avatar:first-child {
  margin-left: 0;
}

.of-clinic-book-btn {
  background: var(--of-primary);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: var(--of-radius-full);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.of-clinic-book-btn:hover {
  background: var(--of-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(56, 75, 248, 0.35);
}

/* Treatment Catalog Tabs & Grid */
.of-treatments-section {
  padding: 90px 24px;
  background: var(--of-surface);
}

.of-tabs-wrapper {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.of-tab-btn {
  background: #ffffff;
  border: 1px solid var(--of-border);
  padding: 10px 22px;
  border-radius: var(--of-radius-full);
  font-weight: 600;
  font-size: 14px;
  color: var(--of-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.of-tab-btn.active, .of-tab-btn:hover {
  background: var(--of-primary);
  color: #ffffff;
  border-color: var(--of-primary);
  box-shadow: 0 4px 12px rgba(56, 75, 248, 0.25);
}

.of-treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
}

.of-treatment-card {
  background: #ffffff;
  border-radius: var(--of-radius-md);
  padding: 28px;
  box-shadow: var(--of-shadow-sm);
  border: 1px solid var(--of-border);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.of-treatment-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--of-shadow-md);
  border-color: rgba(56, 75, 248, 0.3);
}

.of-treatment-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.of-treatment-category-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--of-primary);
  background: #f3f4ff;
  padding: 4px 12px;
  border-radius: var(--of-radius-full);
}

.of-treatment-duration {
  font-size: 12px;
  color: var(--of-text-muted);
  font-weight: 500;
}

.of-treatment-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--of-navy);
  margin-bottom: 10px;
}

.of-treatment-desc {
  font-size: 14px;
  color: var(--of-text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
  flex: 1;
}

.of-treatment-meta {
  background: #f8fafc;
  padding: 12px 16px;
  border-radius: var(--of-radius-sm);
  margin-bottom: 20px;
}

.of-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 6px;
}

.of-meta-row:last-child {
  margin-bottom: 0;
}

.of-meta-label {
  color: var(--of-text-muted);
}

.of-meta-val {
  font-weight: 700;
  color: var(--of-navy);
}

.of-treatment-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--of-border);
}

.of-treatment-pricing {
  font-size: 18px;
  font-weight: 700;
  color: var(--of-primary);
}

.of-book-treatment-btn {
  background: var(--of-navy);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: var(--of-radius-full);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.of-book-treatment-btn:hover {
  background: var(--of-primary);
  transform: translateY(-2px);
}

/* Modal Core Styles */
.of-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 6, 35, 0.65);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px;
  box-sizing: border-box;
}

.of-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.of-modal-container {
  background: #ffffff;
  border-radius: var(--of-radius-lg);
  width: 100%;
  max-width: 760px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.of-modal-backdrop.active .of-modal-container {
  transform: translateY(0) scale(1);
}

.of-modal-header {
  padding: 24px 30px;
  border-bottom: 1px solid var(--of-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 10;
}

.of-modal-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--of-navy);
  margin: 0;
}

.of-modal-close-btn {
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 16px;
  transition: all 0.2s;
}

.of-modal-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Stepper Bar */
.of-stepper-bar {
  display: flex;
  justify-content: space-between;
  padding: 16px 30px;
  background: #f8fafc;
  border-bottom: 1px solid var(--of-border);
}

.of-step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
}

.of-step-item.active {
  color: var(--of-primary);
}

.of-step-item.completed {
  color: #10b981;
}

.of-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.of-step-item.active .of-step-num {
  background: var(--of-primary);
  color: #ffffff;
}

.of-step-item.completed .of-step-num {
  background: #10b981;
  color: #ffffff;
}

.of-modal-body {
  padding: 30px;
}

/* Selection Cards inside Step 1 and Step 2 */
.of-option-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.of-selectable-card {
  border: 2px solid #e2e8f0;
  border-radius: var(--of-radius-md);
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 16px;
}

.of-selectable-card:hover {
  border-color: rgba(56, 75, 248, 0.4);
  background: #f8faff;
}

.of-selectable-card.selected {
  border-color: var(--of-primary);
  background: #f3f4ff;
}

.of-card-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.of-selectable-card.selected .of-card-radio {
  border-color: var(--of-primary);
}

.of-selectable-card.selected .of-card-radio::after {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--of-primary);
  border-radius: 50%;
}

.of-card-info {
  flex: 1;
}

.of-card-info-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--of-navy);
}

.of-card-info-sub {
  font-size: 13px;
  color: var(--of-text-muted);
}

/* Date & Time Slot Grid */
.of-date-picker-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.of-date-chip {
  padding: 12px 16px;
  border-radius: var(--of-radius-sm);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-align: center;
  cursor: pointer;
  min-width: 72px;
  transition: all 0.2s ease;
}

.of-date-chip:hover {
  border-color: var(--of-primary);
}

.of-date-chip.selected {
  background: var(--of-primary);
  color: #ffffff;
  border-color: var(--of-primary);
}

.of-date-chip-day {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.8;
}

.of-date-chip-num {
  font-size: 18px;
  font-weight: 700;
}

.of-slots-period-group {
  margin-bottom: 20px;
}

.of-period-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--of-navy);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.of-time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
  gap: 10px;
}

.of-time-slot-pill {
  padding: 10px 12px;
  text-align: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--of-radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}

.of-time-slot-pill:hover:not(.disabled) {
  border-color: var(--of-primary);
  background: #f3f4ff;
  color: var(--of-primary);
}

.of-time-slot-pill.selected {
  background: var(--of-primary);
  color: #ffffff;
  border-color: var(--of-primary);
}

.of-time-slot-pill.disabled {
  background: #f1f5f9;
  color: #cbd5e1;
  cursor: not-allowed;
  border-color: #e2e8f0;
  text-decoration: line-through;
}

/* Patient Form Inputs */
.of-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.of-form-group {
  display: flex;
  flex-direction: column;
}

.of-form-group.full-width {
  grid-column: 1 / -1;
}

.of-form-label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.of-input {
  padding: 12px 14px;
  border-radius: var(--of-radius-sm);
  border: 1px solid #cbd5e1;
  font-size: 14px;
  outline: none;
  transition: all 0.2s;
  background: #ffffff;
}

.of-input:focus {
  border-color: var(--of-primary);
  box-shadow: 0 0 0 3px rgba(56, 75, 248, 0.15);
}

.of-form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--of-border);
}

/* Confirmation Card */
.of-confirmation-card {
  text-align: center;
  padding: 20px 10px;
}

.of-success-icon-wrap {
  width: 72px;
  height: 72px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px auto;
}

.of-pass-card {
  background: linear-gradient(135deg, #030623 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--of-radius-md);
  padding: 24px;
  margin: 24px 0;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.of-pass-card::after {
  content: "ORTHOFLOW ERP SYNCED";
  position: absolute;
  right: -20px;
  bottom: 15px;
  font-size: 26px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  letter-spacing: 0.1em;
  pointer-events: none;
}

.of-pass-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.of-pass-ref {
  font-family: monospace;
  font-size: 18px;
  font-weight: 700;
  color: #38bdf8;
}

.of-pass-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.of-pass-item-label {
  font-size: 11px;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.05em;
}

.of-pass-item-val {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

/* Floating Orthoflow ERP Console Drawer */
.of-erp-drawer-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--of-navy);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 20px;
  border-radius: var(--of-radius-full);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(3, 6, 35, 0.35);
  z-index: 999;
  transition: all 0.25s ease;
}

.of-erp-drawer-toggle:hover {
  background: var(--of-primary);
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(56, 75, 248, 0.45);
}

.of-erp-drawer {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 520px;
  max-width: 95vw;
  height: 85vh;
  background: #0f172a;
  color: #f8fafc;
  border-top-left-radius: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.4);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  transform: translateY(105%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.of-erp-drawer.open {
  transform: translateY(0);
}

.of-erp-drawer-header {
  padding: 18px 24px;
  background: #090d16;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.of-erp-drawer-tabs {
  display: flex;
  background: #1e293b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.of-erp-tab {
  flex: 1;
  text-align: center;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.of-erp-tab.active {
  color: #38bdf8;
  border-bottom-color: #38bdf8;
  background: rgba(56, 189, 248, 0.06);
}

.of-erp-drawer-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.of-erp-log-entry {
  background: #1e293b;
  border-left: 3px solid #38bdf8;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 12px;
  font-family: monospace;
  font-size: 12px;
}

.of-erp-log-entry.booking {
  border-left-color: #22c55e;
}

.of-erp-log-entry.warning {
  border-left-color: #f59e0b;
}

.of-erp-log-time {
  color: #64748b;
  font-size: 11px;
}

.of-erp-log-msg {
  color: #f1f5f9;
  margin: 6px 0;
  word-break: break-word;
}

.of-erp-log-payload {
  background: #090d16;
  padding: 8px;
  border-radius: 4px;
  color: #38bdf8;
  font-size: 11px;
  overflow-x: auto;
  white-space: pre-wrap;
}

/* Toast alert */
.of-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  background: #030623;
  color: #ffffff;
  padding: 16px 22px;
  border-radius: var(--of-radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 100000;
  transform: translateX(120%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 4px solid var(--of-accent);
}

.of-toast.show {
  transform: translateX(0);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .of-hero-content-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .of-quick-finder-card {
    grid-template-columns: 1fr;
  }
  .of-hero-title {
    font-size: 38px;
  }
  .of-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .of-hero-title {
    font-size: 30px;
  }
  .of-clinics-grid, .of-treatments-grid {
    grid-template-columns: 1fr;
  }
  .of-pill-top-right, .of-pill-bottom-left {
    position: static;
    margin-top: 12px;
  }
}


/* ============================================================= */
/* COMPLETE REMOVAL OF "MADE IN WEBFLOW" BADGE & BRANDING */
/* ============================================================= */
.w-webflow-badge,
a.w-webflow-badge,
[class*="webflow-badge"],
a[href*="webflow.com?utm_campaign=brandjs"],
a[href*="webflow.com/?utm_campaign=brandjs"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  clip: rect(0, 0, 0, 0) !important;
  height: 0 !important;
  width: 0 !important;
  position: absolute !important;
  z-index: -99999 !important;
}


/* ============================================================= */
/* MIDNIGHT NAVY HERO BOOKING WIDGET (REPLACES RED-BOX TEXT) */
/* ============================================================= */
@media (min-width: 992px) {
  .home-one-banner-content {
    top: 16% !important;
    z-index: 10 !important;
  }
}

@media (max-width: 991px) {
  .home-one-banner-content {
    position: relative !important;
    top: 0 !important;
    padding-top: 30px !important;
    padding-bottom: 30px !important;
    z-index: 10 !important;
  }
}

.hero-booking-pod {
  background: #030623 !important;
  color: #f8fafc !important;
  border: 1px solid rgba(56, 75, 248, 0.45) !important;
  border-radius: 24px !important;
  padding: 26px 28px !important;
  width: 100% !important;
  max-width: 480px !important;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.75), 0 0 25px rgba(56, 75, 248, 0.25) !important;
  position: relative !important;
  z-index: 20 !important;
  backdrop-filter: blur(12px) !important;
}

.hero-booking-pod .pod-header {
  margin-bottom: 18px;
}

.hero-booking-pod .pod-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(56, 75, 248, 0.25);
  color: #38bdf8;
  padding: 5px 12px;
  border-radius: 9999px;
  margin-bottom: 10px;
  border: 1px solid rgba(56, 75, 248, 0.3);
}

.hero-booking-pod .pod-title {
  font-size: 25px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 6px 0;
  letter-spacing: -0.02em;
}

.hero-booking-pod .pod-sub {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

.hero-booking-pod .pod-steps {
  display: flex;
  gap: 12px;
  margin: 18px 0;
}

.hero-booking-pod .pod-step-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  padding-bottom: 8px;
  border-bottom: 2px solid #1e293b;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
}

.hero-booking-pod .pod-step-item.active {
  border-bottom-color: #384bf8;
  color: #38bdf8;
}

.hero-booking-pod .pod-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1e293b;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.hero-booking-pod .pod-step-item.active .pod-step-num {
  background: #384bf8;
  color: #ffffff;
}

.hero-booking-pod .pod-section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 8px;
}

.hero-booking-pod .date-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.hero-booking-pod .date-chip {
  min-width: 65px;
  padding: 10px 8px;
  border-radius: 12px;
  background: #0f172a;
  border: 1px solid #1e293b;
  color: #f8fafc;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.hero-booking-pod .date-chip:hover {
  border-color: #384bf8;
}

.hero-booking-pod .date-chip.active {
  background: #384bf8 !important;
  color: #ffffff !important;
  border-color: #384bf8 !important;
  box-shadow: 0 4px 14px rgba(56, 75, 248, 0.45);
}

.hero-booking-pod .date-chip-day {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.85;
}

.hero-booking-pod .date-chip-num {
  font-size: 18px;
  font-weight: 800;
}

.hero-booking-pod .slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.hero-booking-pod .time-pill {
  padding: 10px 6px;
  border-radius: 10px;
  background: #0f172a;
  border: 1px solid #334155;
  color: #f1f5f9;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.hero-booking-pod .time-pill:hover {
  border-color: #384bf8;
}

.hero-booking-pod .time-pill.active {
  background: #384bf8 !important;
  color: #ffffff !important;
  border-color: #384bf8 !important;
  box-shadow: 0 4px 12px rgba(56, 75, 248, 0.4);
}

.hero-booking-pod .hero-selected-slot-pill {
  background: rgba(56, 75, 248, 0.18);
  border: 1px solid rgba(56, 75, 248, 0.35);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #f1f5f9;
}

.hero-booking-pod .hero-change-link {
  background: none;
  border: none;
  color: #38bdf8;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
}

.hero-booking-pod .form-group {
  margin-bottom: 12px;
}

.hero-booking-pod .form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 5px;
}

.hero-booking-pod .input-field {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  background: #0f172a;
  border: 1px solid #334155;
  color: #ffffff;
  font-size: 13px;
  outline: none;
  transition: all 0.2s;
}

.hero-booking-pod .input-field:focus {
  border-color: #384bf8;
  box-shadow: 0 0 0 3px rgba(56, 75, 248, 0.2);
}

.hero-booking-pod .btn-submit {
  width: 100%;
  background: #384bf8;
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  margin-top: 6px;
}

.hero-booking-pod .btn-submit:hover {
  background: #2435d6;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 75, 248, 0.45);
}

.hero-booking-pod .hero-conf-box {
  background: #090d16;
  border: 1px solid rgba(56, 75, 248, 0.3);
  border-radius: 12px;
  padding: 14px;
  text-align: left;
  margin: 12px 0;
}


/* =============================================================
   ORTHOFLOW MOVABLE HERO BOOKING WIDGET (MIDNIGHT NAVY THEME)
   ============================================================= */

.movable-hero-widget {
  position: absolute;
  top: 110px;
  left: 60px;
  width: 440px;
  max-width: calc(100vw - 32px);
  z-index: 60;
  border-radius: 20px;
  background: rgba(3, 6, 35, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(56, 75, 248, 0.45);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(56, 75, 248, 0.25);
  color: #f8fafc;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.movable-hero-widget.is-dragging {
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.9), 0 0 24px rgba(56, 75, 248, 0.6);
  border-color: #38bdf8;
  cursor: grabbing !important;
}

.movable-hero-widget.highlight-pulse {
  animation: widgetPulse 1.2s ease-in-out 2;
}

@keyframes widgetPulse {
  0% { box-shadow: 0 0 0 0 rgba(56, 75, 248, 0.8); }
  50% { box-shadow: 0 0 35px 8px rgba(56, 75, 248, 0.95); }
  100% { box-shadow: 0 0 0 0 rgba(56, 75, 248, 0); }
}

/* Drag Handle Bar */
.widget-drag-handle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  background: linear-gradient(90deg, rgba(56, 75, 248, 0.35) 0%, rgba(15, 23, 42, 0.8) 100%);
  border-bottom: 1px solid rgba(56, 75, 248, 0.25);
  cursor: grab;
  color: #cbd5e1;
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 700;
  transition: background 0.2s;
}

.widget-drag-handle:hover {
  background: linear-gradient(90deg, rgba(56, 75, 248, 0.45) 0%, rgba(30, 41, 59, 0.9) 100%);
  color: #ffffff;
}

.drag-handle-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.drag-icon {
  font-size: 13px;
  color: #38bdf8;
  opacity: 0.85;
}

.drag-label {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #94a3b8;
}

.drag-handle-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.widget-ctrl-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 11px;
  transition: all 0.2s;
  padding: 0;
}

.widget-ctrl-btn:hover {
  background: #384bf8;
  color: #ffffff;
  border-color: #384bf8;
}

/* Minimized State */
.movable-hero-widget.is-minimized {
  width: auto;
  min-width: 260px;
  border-radius: 9999px;
  border-color: #38bdf8;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(56, 75, 248, 0.4);
}

.movable-hero-widget.is-minimized .widget-drag-handle {
  border-radius: 9999px;
  border-bottom: none;
  padding: 10px 18px;
}

.movable-hero-widget.is-minimized #widget-collapsible-body {
  display: none !important;
}

/* Collapsible Body */
.widget-body {
  padding: 22px 24px 24px 24px;
  user-select: auto;
}

.movable-hero-widget .pod-header {
  margin-bottom: 16px;
}

.movable-hero-widget .pod-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #38bdf8;
  background: rgba(56, 75, 248, 0.25);
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 8px;
}

.movable-hero-widget .pod-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.movable-hero-widget .pod-sub {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.45;
}

/* Stepper Tabs */
.movable-hero-widget .pod-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.movable-hero-widget .pod-step-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  padding-bottom: 7px;
  border-bottom: 2px solid #1e293b;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
}

.movable-hero-widget .pod-step-item.active {
  border-bottom-color: #38bdf8;
  color: #38bdf8;
}

.movable-hero-widget .pod-step-num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1e293b;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
}

.movable-hero-widget .pod-step-item.active .pod-step-num {
  background: #384bf8;
  color: #ffffff;
}

.movable-hero-widget .pod-section-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 8px;
}

/* Date Chips */
.movable-hero-widget .date-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 14px;
}

.movable-hero-widget .date-chip {
  flex: 1;
  min-width: 58px;
  padding: 8px 6px;
  border-radius: 10px;
  background: #0f172a;
  border: 1px solid #1e293b;
  color: #f8fafc;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.movable-hero-widget .date-chip:hover {
  border-color: #384bf8;
}

.movable-hero-widget .date-chip.active {
  background: #384bf8 !important;
  color: #ffffff !important;
  border-color: #384bf8 !important;
  box-shadow: 0 4px 14px rgba(56, 75, 248, 0.45);
}

.movable-hero-widget .date-chip-day {
  font-size: 9px;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.85;
}

.movable-hero-widget .date-chip-num {
  font-size: 16px;
  font-weight: 800;
}

/* Time Slots Grid */
.movable-hero-widget .slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.movable-hero-widget .time-pill {
  padding: 9px 4px;
  border-radius: 8px;
  background: #0f172a;
  border: 1px solid #334155;
  color: #f1f5f9;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.movable-hero-widget .time-pill:hover {
  border-color: #384bf8;
}

.movable-hero-widget .time-pill.active {
  background: #384bf8 !important;
  color: #ffffff !important;
  border-color: #384bf8 !important;
  box-shadow: 0 4px 12px rgba(56, 75, 248, 0.4);
}

/* Step 2 Inputs */
.movable-hero-widget .hero-selected-slot-pill {
  background: rgba(56, 75, 248, 0.18);
  border: 1px solid rgba(56, 75, 248, 0.35);
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 12px;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #f1f5f9;
}

.movable-hero-widget .hero-change-link {
  background: none;
  border: none;
  color: #38bdf8;
  font-weight: 700;
  font-size: 11px;
  cursor: pointer;
  text-decoration: underline;
}

.movable-hero-widget .form-group {
  margin-bottom: 10px;
}

.movable-hero-widget .form-group label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 4px;
}

.movable-hero-widget .input-field {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 8px;
  background: #0f172a;
  border: 1px solid #334155;
  color: #ffffff;
  font-size: 12px;
  outline: none;
  transition: all 0.2s;
}

.movable-hero-widget .input-field:focus {
  border-color: #384bf8;
  box-shadow: 0 0 0 2px rgba(56, 75, 248, 0.3);
}

.movable-hero-widget .btn-submit {
  width: 100%;
  box-sizing: border-box;
  background: #384bf8;
  color: #ffffff;
  border: none;
  padding: 12px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  margin-top: 8px;
}

.movable-hero-widget .btn-submit:hover {
  background: #2435d6;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 75, 248, 0.45);
}

.movable-hero-widget .hero-conf-box {
  background: #090d16;
  border: 1px solid rgba(56, 75, 248, 0.3);
  border-radius: 10px;
  padding: 12px;
  text-align: left;
  margin: 10px 0;
}

@media (max-width: 768px) {
  .movable-hero-widget {
    left: 16px !important;
    top: 90px !important;
    width: calc(100vw - 32px);
  }
}


/* =============================================================
   UPPER BAR REMOVAL & HERO BACKGROUND TEXT PURGE
   ============================================================= */
.navbar-top {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

/* Completely remove the hero section background text while preserving Webflow IX2 compatibility */
.home-one-banner-content,
.banner-content.home-one,
.banner-heading,
.banner-text,
.button.book-consultation.banner.home-one {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* =============================================================
   COMPACT VERTICAL SIZING FOR MOVABLE BOOKING WIDGET
   ============================================================= */
.movable-hero-widget {
  position: absolute;
  top: 90px;
  left: 50px;
  width: 380px;
  max-width: calc(100vw - 32px);
  z-index: 60;
  border-radius: 16px;
  background: rgba(3, 6, 35, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(56, 75, 248, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(56, 75, 248, 0.25);
  color: #f8fafc;
  user-select: none;
  touch-action: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.movable-hero-widget.is-dragging {
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.95), 0 0 20px rgba(56, 75, 248, 0.7);
  border-color: #38bdf8;
  cursor: grabbing !important;
}

.movable-hero-widget.highlight-pulse {
  animation: widgetPulse 1.2s ease-in-out 2;
}

/* Compact Drag Handle */
.widget-drag-handle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px;
  background: linear-gradient(90deg, rgba(56, 75, 248, 0.3) 0%, rgba(15, 23, 42, 0.85) 100%);
  border-bottom: 1px solid rgba(56, 75, 248, 0.2);
  cursor: grab;
  color: #cbd5e1;
  font-size: 10px;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.widget-drag-handle:hover {
  background: linear-gradient(90deg, rgba(56, 75, 248, 0.45) 0%, rgba(30, 41, 59, 0.9) 100%);
}

.drag-icon {
  font-size: 11px;
  color: #38bdf8;
}

.drag-label {
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.widget-ctrl-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 9px;
  padding: 0;
  transition: all 0.2s;
}

.widget-ctrl-btn:hover {
  background: #384bf8;
  color: #ffffff;
  border-color: #384bf8;
}

/* Minimized State */
.movable-hero-widget.is-minimized {
  width: auto;
  min-width: 240px;
  border-radius: 9999px;
  border-color: #38bdf8;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(56, 75, 248, 0.4);
}

.movable-hero-widget.is-minimized .widget-drag-handle {
  border-radius: 9999px;
  border-bottom: none;
  padding: 8px 16px;
}

.movable-hero-widget.is-minimized #widget-collapsible-body {
  display: none !important;
}

/* Compact Widget Body */
.widget-body {
  padding: 13px 16px 15px 16px;
  user-select: auto;
}

.movable-hero-widget .pod-header {
  margin-bottom: 9px;
}

.movable-hero-widget .pod-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #38bdf8;
  background: rgba(56, 75, 248, 0.25);
  padding: 2px 7px;
  border-radius: 9999px;
  margin-bottom: 4px;
}

.movable-hero-widget .pod-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 2px 0;
}

.movable-hero-widget .pod-sub {
  font-size: 11px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.35;
}

/* Compact Stepper */
.movable-hero-widget .pod-steps {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.movable-hero-widget .pod-step-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  padding-bottom: 5px;
  border-bottom: 2px solid #1e293b;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
}

.movable-hero-widget .pod-step-item.active {
  border-bottom-color: #38bdf8;
  color: #38bdf8;
}

.movable-hero-widget .pod-step-num {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #1e293b;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
}

.movable-hero-widget .pod-step-item.active .pod-step-num {
  background: #384bf8;
  color: #ffffff;
}

.movable-hero-widget .pod-section-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 4px;
}

/* Compact Date Chips */
.movable-hero-widget .date-row {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  padding-bottom: 2px;
  margin-bottom: 8px;
}

.movable-hero-widget .date-chip {
  flex: 1;
  min-width: 46px;
  padding: 5px 3px;
  border-radius: 8px;
  background: #0f172a;
  border: 1px solid #1e293b;
  color: #f8fafc;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.movable-hero-widget .date-chip:hover {
  border-color: #384bf8;
}

.movable-hero-widget .date-chip.active {
  background: #384bf8 !important;
  color: #ffffff !important;
  border-color: #384bf8 !important;
  box-shadow: 0 3px 10px rgba(56, 75, 248, 0.4);
}

.movable-hero-widget .date-chip-day {
  font-size: 8px;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.85;
}

.movable-hero-widget .date-chip-num {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
}

/* Compact Slots Grid */
.movable-hero-widget .slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-bottom: 10px;
}

.movable-hero-widget .time-pill {
  padding: 6px 2px;
  border-radius: 6px;
  background: #0f172a;
  border: 1px solid #334155;
  color: #f1f5f9;
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.movable-hero-widget .time-pill:hover {
  border-color: #384bf8;
}

.movable-hero-widget .time-pill.active {
  background: #384bf8 !important;
  color: #ffffff !important;
  border-color: #384bf8 !important;
  box-shadow: 0 3px 10px rgba(56, 75, 248, 0.35);
}

/* Compact Button */
.movable-hero-widget .btn-submit {
  width: 100%;
  box-sizing: border-box;
  background: #384bf8;
  color: #ffffff;
  border: none;
  padding: 9px 12px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  margin-top: 4px;
}

.movable-hero-widget .btn-submit:hover {
  background: #2435d6;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(56, 75, 248, 0.4);
}

/* Compact Step 2 Inputs */
.movable-hero-widget .hero-selected-slot-pill {
  background: rgba(56, 75, 248, 0.18);
  border: 1px solid rgba(56, 75, 248, 0.35);
  border-radius: 8px;
  padding: 5px 9px;
  margin-bottom: 8px;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #f1f5f9;
}

.movable-hero-widget .hero-change-link {
  background: none;
  border: none;
  color: #38bdf8;
  font-weight: 700;
  font-size: 10px;
  cursor: pointer;
  text-decoration: underline;
}

.movable-hero-widget .form-group {
  margin-bottom: 6px;
}

.movable-hero-widget .form-group label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
  margin-bottom: 2px;
}

.movable-hero-widget .input-field {
  width: 100%;
  box-sizing: border-box;
  padding: 7px 10px;
  border-radius: 6px;
  background: #0f172a;
  border: 1px solid #334155;
  color: #ffffff;
  font-size: 11px;
  outline: none;
  transition: all 0.2s;
}

.movable-hero-widget .input-field:focus {
  border-color: #384bf8;
  box-shadow: 0 0 0 2px rgba(56, 75, 248, 0.3);
}

.movable-hero-widget .hero-conf-box {
  background: #090d16;
  border: 1px solid rgba(56, 75, 248, 0.3);
  border-radius: 8px;
  padding: 9px 12px;
  text-align: left;
  margin: 8px 0;
}

@media (max-width: 768px) {
  .movable-hero-widget {
    left: 12px !important;
    top: 75px !important;
    width: calc(100vw - 24px);
  }
}

/* ---- Site navigation (replaces the template's demo dropdown menus) ---- */
.of-nav-link { text-decoration: none; color: inherit; }
.of-nav-link .dropdown-hover-border { transition: transform 0.25s ease; }
.of-nav-link:hover .dropdown-hover-border,
.of-nav-link.of-nav-current .dropdown-hover-border { transform: scale(1); }
#services { scroll-margin-top: 110px; }

/* ---- Hero intro text beside the booking widget ---- */
.of-hero-intro {
  position: absolute;
  top: 150px;
  left: 60px;
  width: min(560px, calc(100% - 620px));
  z-index: 50;
  color: #fff;
  text-shadow: 0 2px 18px rgba(3, 6, 35, 0.55);
}
.of-hero-eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #c7d2fe;
  margin-bottom: 14px;
}
.of-hero-title {
  font-size: clamp(34px, 3.6vw, 54px);
  line-height: 1.08;
  font-weight: 700;
  margin: 0 0 18px;
  color: #fff;
}
.of-hero-text {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 28px;
  max-width: 460px;
}
.of-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.of-hero-btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  text-shadow: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.of-hero-btn-primary { background: #384bf8; color: #fff; }
.of-hero-btn-primary:hover { background: #2c3bd6; color: #fff; }
.of-hero-btn-ghost { border: 1px solid rgba(255, 255, 255, 0.7); color: #fff; }
.of-hero-btn-ghost:hover { background: #fff; color: #030623; }


/* Hero layout: intro text on the left, booking widget opens on the right */
@media (max-width: 1280px) {
  .of-hero-intro { left: 50px; top: 120px; width: min(480px, calc(100% - 560px)); }
  .of-hero-text { font-size: 16px; }
}
#movable-hero-booking-widget.movable-hero-widget {
  left: auto;
  right: 60px;
  top: 100px;
  touch-action: auto;
  user-select: auto;
  transform-origin: top right;
  transform: translateY(12px) scale(1.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}
#movable-hero-booking-widget.movable-hero-widget.of-widget-open {
  transform: translateY(0) scale(1.1);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.of-widget-close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 20px;
  line-height: 28px;
  cursor: pointer;
}
.of-widget-close:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }
@media (max-width: 991px) {
  .of-hero-intro { left: 20px; right: 20px; top: 110px; width: auto; }
  #movable-hero-booking-widget.movable-hero-widget {
    left: 12px !important;
    right: 12px;
    top: 80px !important;
    width: auto;
    transform: translateY(12px);
  }
  #movable-hero-booking-widget.movable-hero-widget.of-widget-open { transform: none; }
}

/* Wide screens: open the booking widget between the hero text and the right edge */
@media (min-width: 1600px) {
  #movable-hero-booking-widget.movable-hero-widget {
    left: 57%;
    right: auto;
    top: 170px;
    transform-origin: top center;
    transform: translate(-50%, 12px) scale(1.1);
  }
  #movable-hero-booking-widget.movable-hero-widget.of-widget-open {
    transform: translate(-50%, 0) scale(1.1);
  }
}

/* Booking widget: fill the space between the hero text and the right edge */
@media (min-width: 992px) and (max-width: 1280px) {
  #movable-hero-booking-widget.movable-hero-widget {
    left: 560px;
    right: auto;
    top: 120px;
    width: calc((100% - 600px) / 1.1);
    max-width: none;
    transform-origin: top left;
    transform: translateY(12px) scale(1.1);
  }
  #movable-hero-booking-widget.movable-hero-widget.of-widget-open { transform: scale(1.1); }
}
@media (min-width: 1281px) {
  #movable-hero-booking-widget.movable-hero-widget {
    left: 700px;
    right: auto;
    top: 120px;
    width: calc((100% - 760px) / 1.1);
    max-width: 640px;
    transform-origin: top left;
    transform: translateY(12px) scale(1.1);
  }
  #movable-hero-booking-widget.movable-hero-widget.of-widget-open { transform: scale(1.1); }
}