/* ============================================
   MyRyde Driver Onboarding — Wingz Experience
   ============================================ */

:root {
  --ob-primary: #bb09f6;
  --ob-primary-dark: #bb09f6;
  --ob-primary-light: #f55fd7;
  --ob-dark: #0f172a;
  --ob-dark-2: #1e293b;
  --ob-gray: #475569;
  --ob-gray-light: #94a3b8;
  --ob-border: #e2e8f0;
  --ob-bg: #f8fafc;
  --ob-white: #ffffff;
  --ob-success: #f55fd7;
  --ob-warning: #d97706;
  --ob-danger: #dc2626;
  --ob-radius: 12px;
  --ob-radius-sm: 8px;
  --ob-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.07),
    0 1px 2px -1px rgba(0, 0, 0, 0.07);
  --ob-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08),
    0 2px 4px -2px rgba(0, 0, 0, 0.06);
  --ob-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ob-transition: 0.2s ease;
}

.ob-app *:not(#wpadminbar):not(#wpadminbar *),
.ob-app *:not(#wpadminbar):not(#wpadminbar *)::before,
.ob-app *:not(#wpadminbar):not(#wpadminbar *)::after {
  box-sizing: border-box;
}

.ob-app {
  font-family: var(--ob-font);
  color: var(--ob-dark-2);
  background: var(--ob-bg);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ── HEADER ────────────────────────── */
.wingz-login-container .ob-header {
  background: var(--ob-dark);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.admin-bar .ob-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .ob-header {
    top: 46px;
  }
}

.ob-header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.ob-header__logo-icon {
  width: 36px;
  height: 36px;
  background: var(--ob-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 18px;
}

.ob-header__logo-text {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.ob-header__user {
  color: var(--ob-gray-light);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ob-header__user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ob-dark-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ob-primary-light);
  font-weight: 600;
  font-size: 14px;
}

/* ── CONTAINER (30% / 70% Layout) ──── */
.ob-container {
  display: flex;
  max-width: 1320px !important;
  margin: 0 auto;
  padding: 32px 24px;
  gap: 32px;
}

/* ── LEFT SIDEBAR TREE (30%) ───────── */
.ob-sidebar {
  width: 320px;
  flex-shrink: 0;
  position: sticky;
  top: 88px;
  align-self: flex-start;
}

.ob-progress-card {
  background: var(--ob-white);
  border-radius: var(--ob-radius);
  padding: 24px;
  box-shadow: var(--ob-shadow);
  border: 1px solid var(--ob-border);
}

.ob-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.ob-progress-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ob-gray);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.ob-progress-pct {
  font-size: 14px;
  font-weight: 700;
  color: var(--ob-primary-dark);
}

.ob-progress-bar {
  height: 8px;
  background: #f1f5f9;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 20px;
}

.ob-progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--ob-primary), var(--ob-primary-dark));
  border-radius: 99px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Parent Stage Accordion Tree */
.ob-stage {
  margin-bottom: 6px;
}

.ob-stage__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--ob-radius-sm);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--ob-dark-2);
  transition: background var(--ob-transition);
}

.ob-stage__header:hover {
  background: #f8fafc;
}

.ob-stage.is-locked .ob-stage__header {
  opacity: 0.55;
  cursor: not-allowed;
}

.ob-stage__icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--ob-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  transition: all var(--ob-transition);
}

.ob-stage.is-complete .ob-stage__icon {
  background: var(--ob-success);
  border-color: var(--ob-success);
  color: #fff;
}

.ob-stage.is-active .ob-stage__icon {
  background: var(--ob-primary);
  border-color: var(--ob-primary);
  color: #fff !important;
}

.ob-stage.is-locked .ob-stage__icon {
  background: #f1f5f9;
  border-color: var(--ob-border);
  color: var(--ob-gray-light);
}

.ob-stage__title {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ob-stage__chevron {
  font-size: 12px;
  color: var(--ob-gray-light);
  transition: transform var(--ob-transition);
}

.ob-stage.is-open .ob-stage__chevron {
  transform: rotate(90deg);
}

/* Child Steps List */
.ob-stage__steps {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding-left: 12px;
}

.ob-stage.is-open .ob-stage__steps {
  max-height: 600px;
}

.ob-stage__step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px 7px 32px;
  font-size: 13px;
  color: var(--ob-gray);
  cursor: pointer;
  border-radius: 6px;
  transition: all var(--ob-transition);
}

.ob-stage__step:hover:not(.is-locked) {
  background: #fdf5fd;
  color: var(--ob-dark-2);
}

.ob-stage__step.is-active {
  color: var(--ob-primary-dark);
  font-weight: 600;
  background: #FDF5FD;
}

.ob-stage__step.is-complete {
  color: var(--ob-success);
}

.ob-stage__step.is-locked {
  opacity: 0.55;
  cursor: not-allowed;
}

.ob-stage__step-status {
  width: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

/* ── RIGHT CONTENT CARD (70%) ──────── */
.ob-main {
  flex: 1;
  min-width: 0;
}

.ob-card {
  background: var(--ob-white);
  border-radius: var(--ob-radius);
  padding: 44px;
  box-shadow: var(--ob-shadow);
  border: 1px solid var(--ob-border);
  animation: ob-fadeIn 0.25s ease;
}

@keyframes ob-fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ob-card__breadcrumb {
  font-size: 12px;
  font-weight: 700;
  color: var(--ob-primary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}

.ob-card__title {
  font-size: 26px;
  font-weight: 700;
  color: var(--ob-dark);
  margin-bottom: 8px;
  letter-spacing: -0.4px;
}

.ob-card__subtitle {
  font-size: 15px;
  color: var(--ob-gray);
  margin-bottom: 32px;
  line-height: 1.6;
}

/* ── FORM ELEMENTS ─────────────────── */
.ob-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.ob-form-grid.cols-1 {
  grid-template-columns: 1fr;
}

.ob-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ob-field.full-width {
  grid-column: 1 / -1;
}

.ob-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ob-dark-2);
}

.ob-field label .required {
  color: var(--ob-danger);
  margin-left: 2px;
}

.ob-field input,
.ob-field select,
.ob-field textarea {
  padding: 11px 14px;
  border: 1px solid var(--ob-border);
  border-radius: var(--ob-radius-sm);
  font-size: 14px;
  font-family: var(--ob-font);
  color: var(--ob-dark-2);
  background: var(--ob-white);
  transition: all var(--ob-transition);
  outline: none;
}

.ob-field input:focus,
.ob-field select:focus,
.ob-field textarea:focus {
  border-color: var(--ob-primary);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

/* Age Requirement / Notice Card for DOB */
.ob-age-notice {
  margin-top: 10px;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  border-radius: var(--ob-radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.4;
  transition: all var(--ob-transition);
}

.ob-age-notice__icon {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}

.ob-age-notice__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ob-age-notice__content strong {
  color: var(--ob-dark-2);
  font-weight: 600;
  font-size: 14px;
}

.ob-age-notice.verified {
  border: 1px solid #6ee7b7;
  background: #ecfdf5;
  color: #065f46;
}
.ob-age-notice.verified .ob-age-notice__content strong {
  color: #065f46;
}

.ob-age-notice.error {
  border: 1px solid #fca5a5;
  background: #fef2f2;
  color: #991b1b;
}
.ob-age-notice.error .ob-age-notice__content strong {
  color: #991b1b;
}

/* Drag & Drop Upload Zones */
.ob-upload-zone {
  border: 2px dashed var(--ob-border);
  border-radius: var(--ob-radius-sm);
  padding: 28px;
  text-align: center;
  cursor: pointer;
  background: #f8fafc;
  transition: all var(--ob-transition);
  position: relative;
}

.ob-upload-zone:hover,
.ob-upload-zone.is-dragover {
  border-color: var(--ob-primary);
  background: rgba(0, 180, 216, 0.04);
}

.ob-upload-zone input[type='file'] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.ob-upload-zone__icon {
  font-size: 28px;
  margin-bottom: 6px;
}

.ob-upload-zone__text {
  font-size: 14px;
  color: var(--ob-gray);
}

.ob-upload-zone__text strong {
  color: var(--ob-primary-dark);
}

.ob-upload-zone__hint {
  font-size: 12px;
  color: var(--ob-gray-light);
  margin-top: 4px;
}

/* Upload Preview */
.ob-upload-preview {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #f1f5f9;
  border-radius: var(--ob-radius-sm);
  border: 1px solid var(--ob-border);
}

.ob-upload-preview img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
}

.ob-upload-preview__info {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  color: var(--ob-dark-2);
}

/* Checkbox / Agreement box */
.ob-agreement {
  padding: 16px;
  border: 1px solid var(--ob-border);
  border-radius: var(--ob-radius-sm);
  margin-bottom: 12px;
  background: var(--ob-white);
  transition: all var(--ob-transition);
}

.ob-agreement.is-checked {
  border-color: var(--ob-success);
  background: rgba(22, 163, 74, 0.03);
}

.ob-agreement label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.ob-agreement input[type='checkbox'] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--ob-primary);
}

/* ── NAVIGATION BAR & AUTO-SAVE ────── */
.ob-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--ob-border);
}

.ob-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--ob-radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--ob-font);
  cursor: pointer;
  transition: all var(--ob-transition);
  border: none;
  text-decoration: none;
}

.ob-btn--primary {
  background: var(--ob-primary);
  color: #fff;
}

.ob-btn--primary:hover {
  background: var(--ob-primary-dark);
}

.ob-btn--outline {
  background: transparent;
  color: var(--ob-dark-2);
  border: 1px solid var(--ob-border);
}

.ob-btn--outline:hover {
  background: #f1f5f9;
}

.ob-btn--success {
  background: var(--ob-success);
  color: #fff;
}

.ob-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.ob-autosave {
  font-size: 13px;
  color: var(--ob-gray-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.ob-autosave.is-saving {
  color: var(--ob-warning);
}

.ob-autosave.is-saved {
  color: var(--ob-success);
}

/* ── TERMS & CONDITIONS SCROLLABLE BOX ── */
.ob-terms-box {
  max-height: 340px;
  overflow-y: auto;
  border: 1px solid var(--ob-border);
  border-radius: var(--ob-radius-sm);
  padding: 24px;
  background: #fdf5fd;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ob-gray);
  margin-bottom: 24px;
}

.ob-terms-box p {
  margin-bottom: 14px;
}

.ob-terms-box h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ob-dark);
  margin: 16px 0 8px;
}

/* ── WINGZ RADIO CARD SELECTION GROUP ── */
.ob-radio-card-group {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--ob-border);
  border-radius: var(--ob-radius);
  background: #fdf5fd;
}

.ob-radio-card-group__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ob-dark-2);
  margin-bottom: 16px;
}

.ob-radio-card-group__title .required {
  color: var(--ob-danger);
}

.ob-radio-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--ob-border);
  border-radius: var(--ob-radius-sm);
  background: var(--ob-white);
  cursor: pointer;
  margin-bottom: 10px;
  transition: all var(--ob-transition);
  font-size: 14px;
  font-weight: 500;
  color: var(--ob-dark-2);
}

.ob-radio-card:hover {
  border-color: var(--ob-primary-light);
}

.ob-radio-card.is-selected {
  border-color: var(--ob-primary);
  background: rgba(0, 180, 216, 0.05);
  font-weight: 600;
}

.ob-radio-card input[type='radio'] {
  width: 18px;
  height: 18px;
  accent-color: var(--ob-primary);
  cursor: pointer;
}

/* ── INFORMATIONAL / OVERVIEW CARDS ── */
.ob-info-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: #fdf5fd;
  border: 1px solid #f55fd7;
  border-radius: var(--ob-radius-sm);
  color: #bb09f6;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.ob-info-card {
  border: 1px solid var(--ob-border);
  border-radius: var(--ob-radius-sm);
  padding: 20px 24px;
  background: var(--ob-white);
  margin-bottom: 16px;
}

.ob-info-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ob-dark);
  margin-bottom: 12px;
}

.ob-info-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ob-info-card ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--ob-gray);
  line-height: 1.5;
}

.ob-info-card ul li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--ob-primary-dark);
  font-weight: bold;
}

.ob-info-card ul.check-list li::before {
  content: '✓';
  color: var(--ob-success);
}

/* ── FORM SELECT & TEXTAREA ────────── */
.ob-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ob-border);
  border-radius: var(--ob-radius-sm);
  background: #fff;
  font-size: 14px;
  color: var(--ob-dark);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ob-select:focus {
  border-color: var(--ob-primary);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

.ob-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ob-border);
  border-radius: var(--ob-radius-sm);
  background: #fff;
  font-size: 14px;
  color: var(--ob-dark);
  outline: none;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ob-textarea:focus {
  border-color: var(--ob-primary);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

/* ── WINGZ PHOTO UPLOAD CARD ───────── */
.ob-photo-upload-zone {
  position: relative;
  border: 1px dashed #cbd5e1;
  border-radius: var(--ob-radius-sm);
  background: #f8fafc;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.ob-photo-upload-zone:hover {
  border-color: var(--ob-primary);
  background: #f1f5f9;
}

.ob-photo-upload-zone input[type='file'] {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.ob-photo-upload-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 13px;
}

.ob-photo-upload-empty .ob-upload-icon {
  font-size: 32px;
}

.ob-photo-upload-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.ob-photo-upload-preview img {
  max-height: 140px;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  object-fit: contain;
}

.ob-photo-upload-change {
  font-size: 13px;
  font-weight: 600;
  color: #10b981;
}

/* ── STAGE 5 CHECKLIST ITEMS ───────── */
.ob-checklist-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.ob-checklist-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.1s;
}

.ob-checklist-item:hover {
  border-color: #10b981;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.08);
}

.ob-checklist-item__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.ob-checklist-item__icon.is-done {
  background: #10b981;
  border-color: #10b981;
  color: #fff;
}

.ob-checklist-item__body {
  flex: 1;
}

.ob-checklist-item__title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.ob-checklist-item__desc {
  font-size: 13px;
  color: #64748b;
}

.ob-checklist-item__arrow {
  font-size: 18px;
  color: #94a3b8;
  font-weight: 600;
}

.ob-checklist-complete {
  border: 1px solid #a7f3d0;
  background: #f0fdfa;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.ob-progress-bar {
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.ob-progress-bar__fill {
  height: 100%;
  background: #10b981;
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* ── RESPONSIVE ────────────────────── */
@media (max-width: 900px) {
  .ob-container {
    flex-direction: column;
    padding: 16px;
  }

  .ob-sidebar {
    width: 100%;
    position: static;
  }

  .ob-card {
    padding: 24px;
  }

  .ob-form-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   MYRYDE DRIVER AUTH PAGE  (.wl-*)
   Colors match the MyRyde onboarding brand:
     Primary  #00b4d8  (teal button / progress / active dot)
     Navy     #0f172a  (logo background / header)
     BG       #f1f5f9  (light gray page)
   ============================================================ */

/* Page shell */
.wl-page {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  min-height: 100vh;
  background: #FDF5FD;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  -webkit-font-smoothing: antialiased;
  color: #0f172a;
   max-width: 100% !important;
}

/* Logo area */
.wl-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 32px;
}

.wl-logo__icon {
  width: 40px;
  height: 40px;
}

.wl-logo__icon svg { display: block; }

.wl-logo__text {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.3px;
}

/* Center block */
.wl-center {
  width: 100%;
  max-width: 460px;
  text-align: center;
}

.wl-heading {
  font-size: 26px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}

.wl-sub {
  font-size: 15px;
  color: #64748b;
  margin: 0 0 24px;
  line-height: 1.55;
}

/* Card */
.wl-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px 28px 22px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.05);
  text-align: left;
}

/* Fields */
.wl-field { display: flex; flex-direction: column; gap: 6px; }
.wl-label { font-size: 14px; font-weight: 500; color: #334155; }

.wl-input-wrap { position: relative; }

.wl-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: #0f172a;
  background: #fff;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
  -webkit-appearance: none;
}

.wl-input:focus {
  border-color: #f55fd7;
  box-shadow: 0 0 0 3px rgba(245, 95, 215, 0.15);
}

.wl-input.is-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.1);
}

/* Phone +1 prefix */
.wl-phone-prefix {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: #475569;
  pointer-events: none;
  font-family: inherit;
}

.wl-input--phone { padding-left: 42px; }

/* OTP single input */
.wl-input--otp {
  text-align: center;
  letter-spacing: 8px;
  font-size: 22px;
  font-weight: 700;
  padding: 14px 16px;
  color: #0f172a;
}

/* Primary button */
.wl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  margin-top: 16px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background .18s, transform .12s;
  background: #bb09f6;
  color: #ffffff;
     
}

.wl-btn:hover  { background: #f55fd7; }
.wl-btn:active { transform: scale(.99); }
.wl-btn:disabled,
.wl-btn.is-loading { opacity: .6; cursor: not-allowed; }

.wl-spinner {
  width: 17px; height: 17px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: wl-spin .7s linear infinite;
  display: none;
}
.wl-btn.is-loading .wl-spinner   { display: block; }
.wl-btn.is-loading .wl-btn-label { display: none; }
@keyframes wl-spin { to { transform: rotate(360deg); } }

/* Hint text under card */
.wl-hint {
  font-size: 13px;
  color: #94a3b8;
  text-align: center;
  margin-top: 14px;
}

/* Error alert */
.wl-alert {
  padding: 10px 14px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 14px;
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(239,68,68,.07);
  border: 1px solid rgba(239,68,68,.2);
  color: #dc2626;
}
.wl-alert.show { display: flex; }

/* "Change number" / "Resend" links */
.wl-links {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 13px;
}

.wl-links a {
  color: #f35cd8;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
}
.wl-links a:hover { text-decoration: underline; }
.wl-links a.wl-disabled { color: #94a3b8; pointer-events: none; text-decoration: none; }

/* Panels */
.wl-panel { display: none; }
.wl-panel.active {
  display: block;
  animation: wl-fade .22s ease;
}
@keyframes wl-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 480px) {
  .wl-page  { padding: 24px 14px; }
  .wl-card  { padding: 22px 18px 18px; }
  .wl-heading { font-size: 22px; }
  .wl-input--otp { letter-spacing: 5px; font-size: 18px; }
}

/* Logo area */
.wl-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 36px;
}

.wl-logo__icon {
  width: 36px;
  height: 36px;
  position: relative;
      display: none;
}

/* SVG "M" chevron mark like the Wingz bird mark */
.wl-logo__icon svg { display: block; }

.wl-logo__text {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.3px;
}

/* Center block — heading + card */
.wl-center {
  width: 100%;
  max-width: 440px;
  text-align: center;
}

.wl-heading {
  font-size: 26px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}

.wl-sub {
  font-size: 15px;
  color: #6b7280;
  margin: 0 0 28px;
  line-height: 1.5;
}

/* Card */
.wl-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 28px 28px 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.04);
  text-align: left;
}

/* Fields */
.wl-field { display: flex; flex-direction: column; gap: 6px; }
.wl-label { font-size: 14px; font-weight: 500; color: #374151; }

.wl-input-wrap { position: relative; }

.wl-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: #111827;
  background: #fff;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
  -webkit-appearance: none;
}

fdf5fd:focus {
  border-color: #f55fd7;
  box-shadow: 0 0 0 3px rgba(245, 95, 215, 0.18);
}

fdf5fd.is-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.1);
}

/* Phone prefix inside input */
.wl-phone-prefix {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: #374151;
  pointer-events: none;
  font-family: inherit;
}

fdf5fd--phone { padding-left: 44px; }

/* OTP single input (centered dots style) */
fdf5fd--otp {
  text-align: center;
  letter-spacing: 6px;
  font-size: 20px;
  font-weight: 600;
  padding: 14px 16px;
}

/* Button */
.wl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  margin-top: 14px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all .18s;
  background: #bb09f6;
  color: #fff;
}

.wl-btn:hover { background: #f55fd7; }
.wl-btn:active { transform: scale(.99); }
.wl-btn:disabled, .wl-btn.is-loading { opacity: .65; cursor: not-allowed; }

.wl-spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: wl-spin .7s linear infinite;
  display: none;
}
.wl-btn.is-loading .wl-spinner { display: block; }
.wl-btn.is-loading .wl-btn-label { display: none; }
@keyframes wl-spin { to { transform: rotate(360deg); } }

/* Card footer hint */
.wl-hint {
  font-size: 13px;
  color: #9ca3af;
  text-align: center;
  margin-top: 16px;
}

/* Error alert */
.wl-alert {
  padding: 11px 14px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 14px;
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(239,68,68,.07);
  border: 1px solid rgba(239,68,68,.2);
  color: #dc2626;
}
.wl-alert.show { display: flex; }

/* Action links row under verify button */
.wl-links {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 13px;
}

.wl-links a {
  color: #f35cd8;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
}
.wl-links a:hover { text-decoration: underline; }
.wl-links a.wl-disabled { color: #9ca3af; pointer-events: none; }

/* Panels */
.wl-panel { display: none; }
.wl-panel.active {
  display: block;
  animation: wl-fade .22s ease;
}
@keyframes wl-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 480px) {
  .wl-card { padding: 22px 18px 20px; }
  .wl-heading { font-size: 22px; }
}

.ca-page {
  font-family: var(--ob-font);
  min-height: 100vh;
  display: flex;
  background: var(--ob-dark);
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow: hidden;
}
.ca-page *,.ca-page *::before,.ca-page *::after{box-sizing:border-box;}

/* ambient glow */
.ca-page::before{content:'';position:fixed;top:-30%;right:-20%;width:700px;height:700px;background:radial-gradient(circle,rgba(0,180,216,.12) 0%,transparent 70%);pointer-events:none;z-index:0;}
.ca-page::after{content:'';position:fixed;bottom:-20%;left:-10%;width:500px;height:500px;background:radial-gradient(circle,rgba(0,150,183,.08) 0%,transparent 70%);pointer-events:none;z-index:0;}

/* ── SPLIT ── */
.ca-split{display:flex;width:100%;min-height:100vh;position:relative;z-index:1;}

/* ── LEFT PANEL ── */
.ca-panel-left{
  width:45%;flex-shrink:0;display:flex;flex-direction:column;
  padding:48px 56px;position:relative;overflow:hidden;
  background:linear-gradient(145deg,#0f172a 0%,#0c2340 50%,#0a3352 100%);
}
.ca-panel-left::before{content:'';position:absolute;inset:0;background-image:linear-gradient(rgba(0,180,216,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(0,180,216,.04) 1px,transparent 1px);background-size:48px 48px;pointer-events:none;}
.ca-panel-left::after{content:'';position:absolute;top:20%;right:-100px;width:400px;height:400px;background:radial-gradient(circle,rgba(0,180,216,.18) 0%,transparent 65%);pointer-events:none;}

.ca-panel-logo{display:flex;align-items:center;gap:14px;text-decoration:none;position:relative;z-index:2;}
.ca-panel-logo__icon{width:44px;height:44px;background:linear-gradient(135deg,#00b4d8,#0096b7);border-radius:12px;display:flex;align-items:center;justify-content:center;font-weight:900;color:#fff;font-size:20px;box-shadow:0 4px 20px rgba(0,180,216,.4);}
.ca-panel-logo__text{color:#fff;font-size:22px;font-weight:800;letter-spacing:-.4px;}

.ca-panel-hero{margin-top:auto;padding-top:60px;position:relative;z-index:2;}
.ca-panel-badge{display:inline-flex;align-items:center;gap:8px;background:rgba(0,180,216,.15);border:1px solid rgba(0,180,216,.3);border-radius:99px;padding:6px 16px;font-size:12px;font-weight:600;color:#00b4d8;text-transform:uppercase;letter-spacing:.8px;margin-bottom:24px;}
.ca-panel-badge::before{content:'';width:6px;height:6px;background:#00b4d8;border-radius:50%;box-shadow:0 0 8px #00b4d8;}

.ca-panel-headline{font-size:44px;font-weight:900;color:#fff;line-height:1.1;letter-spacing:-1.5px;margin-bottom:20px;}
.ca-panel-headline span{background:linear-gradient(135deg,#00b4d8,#48cae4);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;}
.ca-panel-sub{font-size:16px;color:rgba(255,255,255,.6);line-height:1.6;max-width:380px;margin-bottom:40px;}

.ca-benefits{display:flex;flex-direction:column;gap:20px;margin-bottom:40px;}
.ca-benefit{display:flex;align-items:flex-start;gap:16px;}
.ca-benefit__icon{width:42px;height:42px;border-radius:10px;background:rgba(0,180,216,.12);border:1px solid rgba(0,180,216,.2);display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0;}
.ca-benefit__body h4{font-size:14px;font-weight:700;color:#fff;margin:0 0 3px;}
.ca-benefit__body p{font-size:13px;color:rgba(255,255,255,.5);line-height:1.5;margin:0;}

.ca-panel-stats{display:flex;gap:32px;padding-top:32px;border-top:1px solid rgba(255,255,255,.08);position:relative;z-index:2;}
.ca-stat__value{font-size:24px;font-weight:800;color:#fff;letter-spacing:-.5px;}
.ca-stat__label{font-size:12px;color:rgba(255,255,255,.45);margin-top:2px;}

/* ── RIGHT PANEL ── */
.ca-panel-right{flex:1;display:flex;align-items:center;justify-content:center;padding:48px 32px;background:#f8fafc;position:relative;}
.ca-form-box{width:100%;max-width:480px;}

/* ── STEP PROGRESS ── */
.ca-steps{display:flex;align-items:flex-start;margin-bottom:36px;gap:0;}
.ca-step-item{display:flex;align-items:flex-start;flex:1;position:relative;}
.ca-step-item:last-child{flex:none;}
.ca-step-dot-wrap{display:flex;flex-direction:column;align-items:center;gap:6px;}
.ca-step-dot{width:32px;height:32px;border-radius:50%;border:2px solid #e2e8f0;background:#fff;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;color:#94a3b8;transition:all .2s;flex-shrink:0;}
.ca-step-label{font-size:11px;font-weight:600;color:#94a3b8;white-space:nowrap;}
.ca-step-line{flex:1;height:2px;background:#e2e8f0;margin:0 -2px;position:relative;top:15px;align-self:flex-start;}

.ca-step-item.active .ca-step-dot{border-color:#00b4d8;background:#00b4d8;color:#fff;box-shadow:0 0 0 4px rgba(0,180,216,.2);}
.ca-step-item.active .ca-step-label{color:#0096b7;}
.ca-step-item.done .ca-step-dot{border-color:#10b981;background:#10b981;color:#fff;}
.ca-step-item.done .ca-step-label{color:#059669;}
.ca-step-item.done + .ca-step-item .ca-step-line,.ca-step-item.done .ca-step-line{background:#10b981;}

/* ── HEADING ── */
.ca-form-heading{margin-bottom:28px;}
.ca-form-heading h1,.ca-form-heading h2{font-size:26px;font-weight:800;color:#0f172a;letter-spacing:-.5px;margin:0 0 6px;}
.ca-form-heading p{font-size:14px;color:#475569;line-height:1.6;margin:0;}

/* ── STEP PANELS ── */
.ca-step-panel{display:none;animation:ca-fadeIn .25s ease forwards;}
.ca-step-panel.active{display:block;}
@keyframes ca-fadeIn{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:translateX(0)}}

/* ── FIELDS ── */
.ca-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.ca-form-grid.cols-1{grid-template-columns:1fr;}
.ca-field{display:flex;flex-direction:column;gap:6px;}
.ca-field.full-span{grid-column:1/-1;}
.ca-field label{font-size:13px;font-weight:600;color:#1e293b;}
.ca-field label .req{color:#ef4444;margin-left:2px;}
.ca-input{width:100%;padding:12px 14px;border:1.5px solid #e2e8f0;border-radius:8px;font-size:14px;font-family:inherit;color:#1e293b;background:#fff;transition:all .2s;outline:none;-webkit-appearance:none;}
.ca-input:focus{border-color:#00b4d8;box-shadow:0 0 0 3px rgba(0,180,216,.18);}
.ca-input.is-error{border-color:#ef4444;box-shadow:0 0 0 3px rgba(239,68,68,.12);}

.ca-input-wrap{position:relative;}
.ca-input-wrap .ca-input{padding-right:44px;}
.ca-input-toggle{position:absolute;right:14px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer;color:#94a3b8;display:flex;align-items:center;transition:color .2s;}
.ca-input-toggle:hover{color:#1e293b;}

/* phone */
.ca-phone-wrap{display:flex;border:1.5px solid #e2e8f0;border-radius:8px;overflow:hidden;background:#fff;transition:border-color .2s,box-shadow .2s;}
.ca-phone-wrap:focus-within{border-color:#00b4d8;box-shadow:0 0 0 3px rgba(0,180,216,.18);}
.ca-phone-flag{display:flex;align-items:center;gap:6px;padding:12px 14px;border-right:1.5px solid #e2e8f0;background:#f8fafc;font-size:14px;font-weight:600;color:#1e293b;white-space:nowrap;}
.ca-phone-wrap .ca-input{border:none;box-shadow:none;border-radius:0;}
.ca-phone-wrap .ca-input:focus{box-shadow:none;}

/* OTP boxes */
.ca-otp-wrap{display:flex;gap:10px;justify-content:center;margin:8px 0;}
.ca-otp-digit{width:52px;height:60px;text-align:center;font-size:24px;font-weight:800;border:2px solid #e2e8f0;border-radius:10px;outline:none;color:#0f172a;background:#fff;transition:all .2s;font-family:inherit;-webkit-appearance:none;caret-color:#00b4d8;}
.ca-otp-digit:focus{border-color:#00b4d8;box-shadow:0 0 0 3px rgba(0,180,216,.18);}
.ca-otp-digit.filled{border-color:#00b4d8;background:rgba(0,180,216,.04);}

/* consent */
.ca-consent-box{background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:8px;padding:14px 16px;}
.ca-consent-label{display:flex;align-items:flex-start;gap:12px;cursor:pointer;}
.ca-consent-checkbox{width:18px;height:18px;accent-color:#00b4d8;margin-top:1px;flex-shrink:0;cursor:pointer;}
.ca-consent-text{font-size:12px;color:#475569;line-height:1.6;}

/* alerts */
.ca-alert{padding:12px 16px;border-radius:8px;font-size:13px;font-weight:500;margin-bottom:16px;display:none;align-items:flex-start;gap:10px;}
.ca-alert.show{display:flex;}
.ca-alert--error{background:rgba(239,68,68,.08);border:1px solid rgba(239,68,68,.25);color:#dc2626;}
.ca-alert--success{background:rgba(16,185,129,.08);border:1px solid rgba(16,185,129,.25);color:#059669;}
.ca-alert--info{background:rgba(0,180,216,.08);border:1px solid rgba(0,180,216,.25);color:#0096b7;}

/* buttons */
.ca-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 24px;border-radius:8px;font-size:15px;font-weight:700;font-family:inherit;cursor:pointer;transition:all .2s;border:none;text-decoration:none;width:100%;position:relative;overflow:hidden;}
.ca-btn--primary{background:linear-gradient(135deg,#00b4d8,#0096b7);color:#fff;box-shadow:0 4px 16px rgba(0,180,216,.35);}
.ca-btn--primary:hover{transform:translateY(-1px);box-shadow:0 6px 24px rgba(0,180,216,.45);}
.ca-btn--primary:active{transform:translateY(0);}
.ca-btn--outline{background:transparent;color:#1e293b;border:1.5px solid #e2e8f0;}
.ca-btn--outline:hover{background:#f1f5f9;border-color:#cbd5e1;}
.ca-btn:disabled,.ca-btn.is-loading{opacity:.65;cursor:not-allowed;transform:none!important;}
.ca-btn-row{display:flex;gap:12px;margin-top:24px;}
.ca-btn-row .ca-btn--outline{flex:0 0 auto;width:auto;padding:14px 20px;}
.ca-btn-row .ca-btn--primary{flex:1;}

/* spinner */
.ca-spinner{width:18px;height:18px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:ca-spin .7s linear infinite;display:none;}
.ca-btn.is-loading .ca-spinner{display:block;}
.ca-btn.is-loading .ca-btn-label{display:none;}
@keyframes ca-spin{to{transform:rotate(360deg)}}

/* otp meta */
.ca-otp-phone{font-size:14px;color:#475569;text-align:center;margin-bottom:24px;}
.ca-otp-phone strong{color:#1e293b;font-weight:700;}
.ca-otp-resend{text-align:center;font-size:13px;color:#94a3b8;margin-top:18px;}
.ca-otp-resend a{color:#0096b7;font-weight:600;text-decoration:none;cursor:pointer;}
.ca-otp-resend a:hover{text-decoration:underline;}
.ca-otp-resend a.ca-disabled{color:#94a3b8;pointer-events:none;}

/* login link */
.ca-login-link{text-align:center;font-size:14px;color:#475569;margin-top:24px;padding-top:24px;border-top:1px solid #e2e8f0;}
.ca-login-link a{color:#0096b7;font-weight:600;text-decoration:none;}
.ca-login-link a:hover{text-decoration:underline;}

/* password strength */
.ca-pw-strength{display:flex;gap:4px;margin-top:6px;}
.ca-pw-bar{flex:1;height:3px;border-radius:99px;background:#e2e8f0;transition:background .3s;}
.ca-pw-bar.weak{background:#ef4444;}.ca-pw-bar.fair{background:#f59e0b;}.ca-pw-bar.strong{background:#10b981;}

/* ── RESPONSIVE (create-account) ── */
@media(max-width:900px){
  .ca-split{flex-direction:column;}
  .ca-panel-left{width:100%;padding:32px 28px;min-height:auto;}
  .ca-panel-hero{margin-top:32px;padding-top:0;}
  .ca-panel-headline{font-size:30px;}
  .ca-benefits{display:none;}
  .ca-panel-right{padding:32px 20px 48px;}
  .ca-form-box{max-width:100%;}
}
@media(max-width:480px){
  .ca-form-grid{grid-template-columns:1fr;}
  .ca-otp-digit{width:44px;height:54px;font-size:20px;}
}

.wingz-login-container {
    margin-top: 143px;
}