/* ========================================
   CARENEXT — WEBSITE BUILDER STYLES
   ======================================== */

/* ===== WEBSITE BUILDER HERO BANNER ===== */
.wb-hero {
  background: linear-gradient(135deg, #0F172A 0%, #1e3564 40%, #0c4a6e 100%);
  border-radius: 20px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.wb-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(99,179,237,0.12);
}
.wb-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: 30%;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(59,130,246,0.1);
}
.wb-hero-content { position: relative; z-index: 1; }
.wb-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99,179,237,0.2);
  border: 1px solid rgba(99,179,237,0.3);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  color: #93C5FD;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.wb-hero h2 {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 10px;
}
.wb-hero h2 span {
  background: linear-gradient(90deg, #60A5FA, #34D399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.wb-hero p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  max-width: 440px;
  line-height: 1.6;
}
.wb-hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}
.wb-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #3B82F6, #06B6D4);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(59,130,246,0.4);
}
.wb-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(59,130,246,0.5);
}
.wb-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
}
.wb-btn-ghost:hover { background: rgba(255,255,255,0.14); }

.wb-hero-visual {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.wb-mockup {
  width: 240px;
  height: 160px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}
.wb-mockup-bar {
  height: 28px;
  background: rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 6px;
}
.wb-mockup-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.wb-mockup-body { padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.wb-mockup-line {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.1);
}
.wb-mockup-line.wide { width: 85%; }
.wb-mockup-line.med { width: 60%; }
.wb-mockup-line.short { width: 40%; }
.wb-mockup-line.tall { height: 40px; }
.wb-status-badge {
  position: absolute;
  bottom: -10px;
  right: -10px;
  background: #10B981;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(16,185,129,0.4);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===== STATS STRIP ===== */
.wb-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.wb-stat {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.2s ease;
}
.wb-stat:hover { border-color: #BFDBFE; box-shadow: 0 4px 16px rgba(59,130,246,0.08); transform: translateY(-2px); }
.wb-stat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.wb-stat-icon.blue { background: #EFF6FF; }
.wb-stat-icon.green { background: #F0FDF4; }
.wb-stat-icon.purple { background: #F5F3FF; }
.wb-stat-icon.amber { background: #FFFBEB; }
.wb-stat-label { font-size: 12px; color: #6B7280; font-weight: 500; margin-bottom: 4px; }
.wb-stat-val { font-size: 22px; font-weight: 900; color: #111827; letter-spacing: -0.03em; }

/* ===== BUILDER LAYOUT ===== */
.wb-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}

/* ===== LEFT PANEL ===== */
.wb-panel {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  overflow: hidden;
  position: sticky;
  top: 88px;
}
.wb-panel-header {
  padding: 20px 20px 16px;
  border-bottom: 1px solid #F3F4F6;
}
.wb-panel-title {
  font-size: 13px;
  font-weight: 800;
  color: #111827;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.wb-panel-nav { padding: 8px; }
.wb-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #4B5563;
  cursor: pointer;
  transition: all 0.18s ease;
  position: relative;
}
.wb-nav-item:hover { background: #F9FAFB; color: #111827; }
.wb-nav-item.active {
  background: #EFF6FF;
  color: #1D4ED8;
  font-weight: 700;
}
.wb-nav-item .wb-nav-icon { font-size: 17px; width: 22px; text-align: center; flex-shrink: 0; }
.wb-nav-item .wb-nav-label { flex: 1; }
.wb-nav-badge {
  font-size: 10px;
  font-weight: 800;
  background: #EF4444;
  color: #fff;
  padding: 2px 7px;
  border-radius: 999px;
}
.wb-nav-badge.green { background: #10B981; }

/* ===== MAIN CONTENT AREA ===== */
.wb-main { display: flex; flex-direction: column; gap: 24px; }
.wb-section {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  overflow: hidden;
}
.wb-section-header {
  padding: 20px 24px;
  border-bottom: 1px solid #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wb-section-title { font-size: 16px; font-weight: 800; color: #111827; letter-spacing: -0.02em; }
.wb-section-sub { font-size: 13px; color: #6B7280; margin-top: 2px; }

/* ===== TEMPLATE CARDS ===== */
.wb-templates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 24px;
}
.wb-template-card {
  border: 2px solid #E5E7EB;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}
.wb-template-card:hover {
  border-color: #93C5FD;
  box-shadow: 0 8px 32px rgba(59,130,246,0.12);
  transform: translateY(-4px);
}
.wb-template-card.selected {
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.2), 0 8px 32px rgba(59,130,246,0.2);
}
.wb-template-selected-badge {
  position: absolute;
  top: 10px; right: 10px;
  background: #3B82F6;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  display: none;
}
.wb-template-card.selected .wb-template-selected-badge { display: block; }

.wb-template-preview {
  height: 180px;
  position: relative;
  overflow: hidden;
}
.wb-tpl-modern {
  background: linear-gradient(160deg, #0F172A 0%, #1e3a5f 100%);
}
.wb-tpl-warm {
  background: linear-gradient(160deg, #78350F 0%, #D97706 100%);
}
.wb-tpl-edu {
  background: linear-gradient(160deg, #1e3a1e 0%, #166534 100%);
}
.wb-tpl-overlay {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 8px;
}
.wb-tpl-nav {
  height: 6px;
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
  width: 70%;
}
.wb-tpl-hero-text {
  height: 20px;
  background: rgba(255,255,255,0.9);
  border-radius: 4px;
  width: 80%;
  margin-top: 8px;
}
.wb-tpl-hero-sub {
  height: 8px;
  background: rgba(255,255,255,0.4);
  border-radius: 4px;
  width: 60%;
}
.wb-tpl-cta {
  height: 22px;
  border-radius: 999px;
  width: 110px;
  margin-top: 4px;
}
.wb-tpl-modern .wb-tpl-cta { background: linear-gradient(90deg, #3B82F6, #06B6D4); }
.wb-tpl-warm .wb-tpl-cta { background: linear-gradient(90deg, #F59E0B, #EF4444); }
.wb-tpl-edu .wb-tpl-cta { background: linear-gradient(90deg, #10B981, #3B82F6); }
.wb-tpl-cards {
  display: flex; gap: 6px; margin-top: 8px;
}
.wb-tpl-card-mini {
  flex: 1; height: 32px; border-radius: 6px;
  background: rgba(255,255,255,0.12);
}
.wb-template-info { padding: 16px; }
.wb-template-name {
  font-size: 15px; font-weight: 800; color: #111827;
  letter-spacing: -0.02em; margin-bottom: 4px;
}
.wb-template-desc { font-size: 12px; color: #6B7280; line-height: 1.5; margin-bottom: 12px; }
.wb-template-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.wb-template-tag {
  font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 999px;
  background: #F3F4F6; color: #4B5563;
}

/* ===== SITE INFO FORM ===== */
.wb-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 24px;
}
.wb-form-full { grid-column: 1 / -1; }
.wb-field { display: flex; flex-direction: column; gap: 6px; }
.wb-label {
  font-size: 12px; font-weight: 700; color: #374151;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.wb-input {
  width: 100%;
  padding: 11px 16px;
  background: #F9FAFB;
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  font-size: 14px;
  color: #111827;
  font-family: inherit;
  transition: all 0.18s ease;
  outline: none;
}
.wb-input:focus {
  border-color: #93C5FD;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
.wb-textarea {
  resize: vertical;
  min-height: 100px;
  padding: 12px 16px;
}
.wb-select { appearance: none; cursor: pointer; }

/* ===== BRAND COLORS ===== */
.wb-color-presets {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 24px;
}
.wb-color-preset {
  border: 2px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
.wb-color-preset:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.wb-color-preset.active { border-color: #3B82F6; box-shadow: 0 0 0 3px rgba(59,130,246,0.2); }
.wb-color-swatch { height: 80px; position: relative; }
.wb-color-accent {
  position: absolute;
  bottom: 8px; right: 8px;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
}
.wb-color-name {
  padding: 8px 10px;
  font-size: 11px; font-weight: 700;
  color: #374151; text-align: center;
  background: #F9FAFB;
}
.wb-color-preset.active .wb-color-name { background: #EFF6FF; color: #1D4ED8; }

/* ===== SECTIONS EDITOR ===== */
.wb-sections-list { padding: 16px 24px; display: flex; flex-direction: column; gap: 10px; }
.wb-section-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #F9FAFB;
  border: 1.5px solid #E5E7EB;
  border-radius: 14px;
  transition: all 0.18s ease;
}
.wb-section-item:hover { border-color: #BFDBFE; background: #fff; }
.wb-section-drag {
  color: #9CA3AF; cursor: grab; font-size: 16px; flex-shrink: 0;
}
.wb-section-icon { font-size: 20px; flex-shrink: 0; }
.wb-section-label {
  flex: 1;
  font-size: 14px; font-weight: 600; color: #374151;
}
.wb-section-sublabel { font-size: 11px; color: #9CA3AF; margin-top: 1px; }
.wb-section-toggle { flex-shrink: 0; }
.wb-edit-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 12px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 8px;
  font-size: 11px; font-weight: 700; color: #1D4ED8;
  cursor: pointer; font-family: inherit;
  transition: all 0.18s ease;
}
.wb-edit-btn:hover { background: #DBEAFE; }

/* ===== TOGGLE SWITCH ===== */
.wb-toggle {
  position: relative; width: 42px; height: 24px;
  display: inline-block;
}
.wb-toggle input { opacity: 0; width: 0; height: 0; }
.wb-toggle-slider {
  position: absolute; cursor: pointer;
  inset: 0;
  background: #D1D5DB; border-radius: 999px;
  transition: 0.3s ease;
}
.wb-toggle-slider::before {
  content: '';
  position: absolute;
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.3s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.wb-toggle input:checked + .wb-toggle-slider { background: #3B82F6; }
.wb-toggle input:checked + .wb-toggle-slider::before { transform: translateX(18px); }

/* ===== PREVIEW PANEL ===== */
.wb-preview-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: #F9FAFB;
  border-bottom: 1px solid #E5E7EB;
}
.wb-preview-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  border-radius: 10px;
  border: 1.5px solid #E5E7EB;
  background: #fff;
  font-size: 12px; font-weight: 700; color: #4B5563;
  cursor: pointer; font-family: inherit;
  transition: all 0.18s ease;
}
.wb-preview-btn:hover { border-color: #93C5FD; color: #1D4ED8; }
.wb-preview-btn.active { background: #EFF6FF; border-color: #93C5FD; color: #1D4ED8; }
.wb-preview-spacer { flex: 1; }
.wb-preview-url {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  background: #fff;
  border: 1.5px solid #E5E7EB;
  border-radius: 10px;
  font-size: 12px; color: #6B7280;
  font-family: monospace;
}
.wb-preview-url span.live { color: #10B981; font-weight: 700; }

.wb-iframe-wrap {
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  background: #F3F4F6;
  display: flex;
  justify-content: center;
}
.wb-iframe-wrap.desktop { height: 540px; }
.wb-iframe-wrap.mobile { height: 540px; }
.wb-iframe-wrap iframe {
  width: 100%; height: 100%; border: none;
  border-radius: 0 0 20px 20px;
}
.wb-iframe-wrap.mobile iframe {
  width: 375px;
  border-left: 6px solid #E5E7EB;
  border-right: 6px solid #E5E7EB;
  border-radius: 24px;
  margin: 16px auto;
  height: 508px;
}

/* ===== DOMAIN SETTINGS ===== */
.wb-domain-status {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  border-radius: 14px;
  margin: 24px;
  border: 1.5px solid;
}
.wb-domain-status.live { background: #F0FDF4; border-color: #86EFAC; }
.wb-domain-status.pending { background: #FFFBEB; border-color: #FCD34D; }
.wb-domain-status.error { background: #FEF2F2; border-color: #FCA5A5; }
.wb-domain-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.wb-domain-status.live .wb-domain-dot { background: #10B981; }
.wb-domain-status.pending .wb-domain-dot { background: #F59E0B; animation: pulse 2s infinite; }
.wb-domain-status.error .wb-domain-dot { background: #EF4444; }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.4; } }
.wb-domain-text { font-size: 14px; font-weight: 600; }
.wb-domain-status.live .wb-domain-text { color: #166534; }
.wb-domain-status.pending .wb-domain-text { color: #92400E; }
.wb-domain-status.error .wb-domain-text { color: #991B1B; }

.wb-domain-input-row {
  display: flex; gap: 12px; padding: 0 24px 24px;
  align-items: flex-end;
}
.wb-domain-input-row .wb-field { flex: 1; }
.wb-connect-btn {
  padding: 11px 22px;
  background: linear-gradient(135deg, #3B82F6, #06B6D4);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 14px; font-weight: 700;
  cursor: pointer; font-family: inherit;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.wb-connect-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(59,130,246,0.4); }

.wb-dns-instructions {
  margin: 0 24px 24px;
  border: 1.5px solid #E5E7EB;
  border-radius: 16px;
  overflow: hidden;
}
.wb-dns-header {
  background: #F9FAFB;
  padding: 14px 18px;
  font-size: 13px; font-weight: 700; color: #374151;
  border-bottom: 1px solid #E5E7EB;
}
.wb-dns-table { width: 100%; border-collapse: collapse; }
.wb-dns-table th {
  font-size: 11px; font-weight: 700; color: #6B7280;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 10px 16px; text-align: left;
  background: #FAFAFA;
  border-bottom: 1px solid #E5E7EB;
}
.wb-dns-table td {
  padding: 12px 16px;
  font-size: 13px; color: #374151;
  border-bottom: 1px solid #F3F4F6;
  font-family: monospace;
}
.wb-dns-table tr:last-child td { border-bottom: none; }
.wb-dns-val {
  display: flex; align-items: center; gap: 8px;
}
.wb-copy-btn {
  padding: 3px 8px;
  background: #EFF6FF; border: 1px solid #BFDBFE;
  border-radius: 6px; font-size: 10px; font-weight: 700;
  color: #1D4ED8; cursor: pointer; font-family: inherit;
}

/* ===== LEADS TABLE ===== */
.wb-leads-header {
  display: flex; gap: 10px; align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid #F3F4F6;
}
.wb-lead-filter {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1.5px solid #E5E7EB;
  background: #fff;
  font-size: 12px; font-weight: 700; color: #4B5563;
  cursor: pointer; font-family: inherit;
  transition: all 0.18s ease;
}
.wb-lead-filter.active { background: #EFF6FF; border-color: #93C5FD; color: #1D4ED8; }
.wb-lead-filter:hover { border-color: #93C5FD; }
.wb-leads-table { width: 100%; border-collapse: collapse; }
.wb-leads-table th {
  font-size: 11px; font-weight: 700; color: #6B7280;
  text-align: left; padding: 10px 20px;
  background: #F9FAFB;
  text-transform: uppercase; letter-spacing: 0.06em;
  border-bottom: 1px solid #E5E7EB;
}
.wb-leads-table td {
  padding: 14px 20px;
  font-size: 14px; color: #374151;
  border-bottom: 1px solid #F3F4F6;
  vertical-align: middle;
}
.wb-leads-table tr:last-child td { border-bottom: none; }
.wb-leads-table tr:hover td { background: #F9FAFB; }
.wb-lead-name { font-weight: 700; color: #111827; }
.wb-lead-contact { font-size: 12px; color: #6B7280; margin-top: 2px; }
.wb-lead-type {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700;
}
.wb-lead-type.tour { background: #EFF6FF; color: #1D4ED8; }
.wb-lead-type.waitlist { background: #F5F3FF; color: #5B21B6; }
.wb-lead-type.contact { background: #F0FDF4; color: #166534; }
.wb-lead-type.enroll { background: #FFFBEB; color: #92400E; }
.wb-lead-status {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700;
}
.wb-lead-status.new { background: #DCFCE7; color: #166534; }
.wb-lead-status.contacted { background: #DBEAFE; color: #1D4ED8; }
.wb-lead-status.enrolled { background: #E0E7FF; color: #3730A3; }
.wb-action-btn {
  padding: 5px 12px;
  border-radius: 8px;
  border: 1.5px solid #E5E7EB;
  background: #fff;
  font-size: 12px; font-weight: 700; color: #374151;
  cursor: pointer; font-family: inherit;
  transition: all 0.15s;
}
.wb-action-btn:hover { border-color: #3B82F6; color: #1D4ED8; background: #EFF6FF; }

/* ===== ONBOARDING WIZARD ===== */
.wb-wizard-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.wb-wizard {
  background: #fff;
  border-radius: 24px;
  width: 100%; max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 40px 100px rgba(0,0,0,0.3);
  position: relative;
}
.wb-wizard-progress {
  padding: 28px 40px 0;
}
.wb-wizard-steps {
  display: flex; gap: 6px; margin-bottom: 8px;
}
.wb-wizard-step-dot {
  flex: 1; height: 6px; border-radius: 3px;
  background: #E5E7EB;
  transition: all 0.4s ease;
}
.wb-wizard-step-dot.done { background: #3B82F6; }
.wb-wizard-step-dot.active { background: linear-gradient(90deg,#3B82F6,#06B6D4); }
.wb-wizard-step-label {
  font-size: 12px; color: #6B7280;
  display: flex; justify-content: space-between;
}
.wb-wizard-body { padding: 32px 40px; }
.wb-wizard-step { display: none; }
.wb-wizard-step.active { display: block; }
.wb-wizard-step-title {
  font-size: 26px; font-weight: 900; color: #111827;
  letter-spacing: -0.03em; margin-bottom: 8px;
}
.wb-wizard-step-desc { font-size: 15px; color: #6B7280; margin-bottom: 28px; }
.wb-wizard-footer {
  padding: 20px 40px 28px;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid #F3F4F6;
}
.wb-wizard-back {
  padding: 10px 20px;
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  background: #fff;
  font-size: 14px; font-weight: 600; color: #4B5563;
  cursor: pointer; font-family: inherit;
  transition: all 0.18s ease;
}
.wb-wizard-back:hover { border-color: #D1D5DB; background: #F9FAFB; }
.wb-wizard-next {
  padding: 11px 28px;
  background: linear-gradient(135deg, #3B82F6, #06B6D4);
  color: #fff;
  border: none; border-radius: 999px;
  font-size: 14px; font-weight: 700;
  cursor: pointer; font-family: inherit;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(59,130,246,0.35);
}
.wb-wizard-next:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(59,130,246,0.45); }
.wb-wizard-close {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px;
  background: #F3F4F6; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer; color: #6B7280;
  border: none;
  transition: all 0.15s;
}
.wb-wizard-close:hover { background: #E5E7EB; color: #111827; }

/* Logo upload zone */
.wb-upload-zone {
  border: 2px dashed #D1D5DB;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #F9FAFB;
}
.wb-upload-zone:hover { border-color: #93C5FD; background: #EFF6FF; }
.wb-upload-zone p { font-size: 13px; color: #6B7280; margin-top: 8px; }
.wb-upload-zone strong { color: #374151; }
.wb-upload-icon { font-size: 32px; }

/* ===== SEO SETTINGS ===== */
.wb-seo-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; padding: 24px;
}
.wb-seo-preview {
  padding: 16px;
  background: #F9FAFB;
  border-radius: 14px;
  border: 1.5px solid #E5E7EB;
  grid-column: 1 / -1;
}
.wb-seo-preview-title { font-size: 11px; font-weight: 700; color: #6B7280; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.wb-google-preview { font-family: Arial, sans-serif; }
.wb-google-url { font-size: 12px; color: #202124; }
.wb-google-title { font-size: 18px; color: #1a0dab; cursor: pointer; margin: 4px 0; }
.wb-google-title:hover { text-decoration: underline; }
.wb-google-desc { font-size: 13px; color: #4d5156; line-height: 1.5; }

/* ===== PUBLISH BUTTON ===== */
.wb-publish-bar {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #0F172A, #1e3564);
  border-radius: 0 0 20px 20px;
}
.wb-publish-info { flex: 1; }
.wb-publish-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.wb-publish-sub { font-size: 12px; color: rgba(255,255,255,0.5); }
.wb-publish-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #10B981, #059669);
  color: #fff;
  border: none; border-radius: 999px;
  font-size: 14px; font-weight: 700;
  cursor: pointer; font-family: inherit;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(16,185,129,0.4);
  white-space: nowrap;
}
.wb-publish-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(16,185,129,0.5); }
.wb-save-draft-btn {
  padding: 11px 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  color: rgba(255,255,255,0.8);
  font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.wb-save-draft-btn:hover { background: rgba(255,255,255,0.16); }

/* ===== PAGE MANAGER ===== */
.wb-pages-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 14px; padding: 24px;
}
.wb-page-card {
  border: 1.5px solid #E5E7EB;
  border-radius: 14px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex; align-items: center; gap: 12px;
}
.wb-page-card:hover { border-color: #93C5FD; background: #EFF6FF; }
.wb-page-card.active { border-color: #3B82F6; background: #EFF6FF; }
.wb-page-icon { font-size: 22px; flex-shrink: 0; }
.wb-page-name { font-size: 13px; font-weight: 700; color: #111827; }
.wb-page-status { font-size: 10px; color: #6B7280; margin-top: 2px; }
.wb-page-pub { color: #10B981; font-weight: 700; }
.wb-page-draft { color: #F59E0B; font-weight: 700; }

/* ===== AI GENERATION ===== */
.wb-ai-card {
  margin: 24px;
  background: linear-gradient(135deg, #F5F3FF, #EFF6FF);
  border: 1.5px solid #DDD6FE;
  border-radius: 18px;
  padding: 24px;
  display: flex; align-items: center; gap: 20px;
}
.wb-ai-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #8B5CF6, #3B82F6);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; flex-shrink: 0;
}
.wb-ai-title { font-size: 16px; font-weight: 800; color: #111827; margin-bottom: 4px; }
.wb-ai-desc { font-size: 13px; color: #6B7280; line-height: 1.5; }
.wb-ai-btn {
  margin-left: auto; flex-shrink: 0;
  padding: 10px 22px;
  background: linear-gradient(135deg, #8B5CF6, #3B82F6);
  color: #fff;
  border: none; border-radius: 999px;
  font-size: 13px; font-weight: 700;
  cursor: pointer; font-family: inherit;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(139,92,246,0.35);
}
.wb-ai-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(139,92,246,0.45); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .wb-layout { grid-template-columns: 240px 1fr; }
  .wb-templates-grid { grid-template-columns: repeat(2,1fr); }
  .wb-color-presets { grid-template-columns: repeat(3,1fr); }
  .wb-stats-strip { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 800px) {
  .wb-layout { grid-template-columns: 1fr; }
  .wb-panel { position: static; }
  .wb-hero { flex-direction: column; }
  .wb-hero-visual { display: none; }
  .wb-pages-grid { grid-template-columns: repeat(2,1fr); }
  .wb-seo-grid { grid-template-columns: 1fr; }
  .wb-form-grid { grid-template-columns: 1fr; }
  .wb-domain-input-row { flex-direction: column; }
}
/* SVG global sizing for builder */
svg.lucide, i[data-lucide] svg {
  width: 1.2em;
  height: 1.2em;
  vertical-align: -0.125em; 
}
