/* ===== EventNook NEXT · registration form (paste AFTER the THEME EDITOR END line) ===== */

/* Brand colours: replaces the green primary and other defaults */
:root{
  --bs-primary:#5B5CF5; --bs-primary-rgb:91,92,245;
  --bs-link-color:#5B5CF5; --bs-link-hover-color:#1D52AE;
  --xw-surface:#FFFFFF; --xw-border:#E3E8F2;
  --xw-heading:#0A1B3D; --xw-text-muted:#5B6478;
  --xw-radius-sm:12px; --xw-radius-md:16px; --xw-radius-lg:20px;
}

/* 1 · Page background: soft blue/purple glows + faint orbit rings */
html body.xw-body-register-details{
  background:
    radial-gradient(40% 45% at 0% 0%, rgba(0,117,237,.20), transparent 70%),
    radial-gradient(40% 45% at 100% 100%, rgba(155,92,246,.20), transparent 70%),
    radial-gradient(28% 35% at 100% 0%, rgba(91,188,255,.16), transparent 70%),
    radial-gradient(28% 35% at 0% 100%, rgba(123,92,246,.12), transparent 70%),
    #F7F8FE !important;
  background-attachment:fixed !important;
  color:#0A1B3D !important;
}
body.xw-body-register-details::before,
body.xw-body-register-details::after{
  content:""; position:fixed; left:50%; top:62%; pointer-events:none; z-index:0;
  border-radius:50%; transform:translate(-50%,-50%);
}
body.xw-body-register-details::before{ width:170vw; height:70vw; border:1.5px solid rgba(91,92,245,.16); }
body.xw-body-register-details::after { width:110vw; height:45vw; border:1.5px solid rgba(0,117,237,.18); }
body.xw-body-register-details #main_app{ position:relative; z-index:1; }

/* Content wrapper: transparent so the background shows through */
body.xw-body-register-details #main_app,
body.xw-body-register-details #main_app_inner,
body.xw-body-register-details .xw-mainapp-inner,
body.xw-body-register-details .xw-theme-mainapp-inner,
body.xw-body-register-details #form_section_wrapper{ background:transparent !important; box-shadow:none !important; }

/* 2 · Title bar */
body.xw-body-register-details .xw-theme-topbar,
body.xw-body-register-details #header{
  background-color:#FFFFFF !important;
  border-bottom:1px solid rgba(10,27,61,.08) !important;
}

/* 3 · Step progress */
body.xw-body-register-details .xw-theme-stepper,
body.xw-body-register-details .bs-stepper,
body.xw-body-register-details #breadcrumb_register{ background:transparent !important; }
body.xw-body-register-details .bs-stepper .bs-stepper-circle{
  background:#E3E8F2 !important; color:#5B6478 !important; font-weight:700 !important;
}
body.xw-body-register-details .bs-stepper .step.active .bs-stepper-circle{
  background:linear-gradient(100deg,#0075ED,#7B5CF6) !important; color:#FFFFFF !important;
  box-shadow:0 6px 16px rgba(91,92,245,.35) !important;
}
body.xw-body-register-details .bs-stepper .bs-stepper-label{ color:#0A1B3D !important; font-weight:600 !important; }
body.xw-body-register-details .bs-stepper .step:not(.active) .bs-stepper-label{ color:#5B6478 !important; }
body.xw-body-register-details .bs-stepper .line{ background:#D9E0EE !important; height:2px !important; }

/* 4 · Registration form */
body.xw-body-register-details .xw-theme-form,
body.xw-body-register-details .xw-main-panel{
  background:#FFFFFF !important; color:#0A1B3D !important;
  border:1px solid rgba(10,27,61,.06) !important; border-radius:20px !important;
  box-shadow:0 20px 50px rgba(10,27,61,.08) !important;
}
body.xw-body-register-details .xw-theme-formheader,
body.xw-body-register-details .reg-header{
  background:linear-gradient(100deg,#EEF3FF,#F3EEFF) !important;
  color:#5B5CF5 !important; border-color:#E3E8F2 !important;
}
body.xw-body-register-details .xw-theme-formheader *,
body.xw-body-register-details .reg-header *{ color:#5B5CF5 !important; }
body.xw-body-register-details .xw-mainapp .card{
  background:#FFFFFF !important; border:1px solid #E3E8F2 !important;
  border-radius:16px !important; overflow:hidden;
}
body.xw-body-register-details .xw-mainapp .card-header{
  background:linear-gradient(100deg,#EEF3FF,#F3EEFF) !important; border-color:#E3E8F2 !important; color:#0A1B3D !important;
}
body.xw-body-register-details .form-group{
  background:#F7F8FE !important; border:1px solid #E3E8F2 !important;
  border-radius:14px !important; box-shadow:none !important;
}
body.xw-body-register-details .xw-mainapp .form-label,
body.xw-body-register-details .xw-mainapp .col-form-label,
body.xw-body-register-details .xw-mainapp label{ color:#0A1B3D !important; font-weight:600 !important; }
body.xw-body-register-details .xw-mainapp .form-control,
body.xw-body-register-details .xw-mainapp .form-select{
  background-color:#FFFFFF !important; color:#0A1B3D !important;
  border:1px solid #D9E0EE !important; border-radius:12px !important; box-shadow:none !important;
}
body.xw-body-register-details .xw-mainapp .form-control:focus,
body.xw-body-register-details .xw-mainapp .form-select:focus{
  border-color:#5B5CF5 !important; box-shadow:0 0 0 4px rgba(91,92,245,.15) !important;
}
body.xw-body-register-details .xw-mainapp .form-control::placeholder{ color:#9AA6BF !important; }

/* 5 · Order summary */
body.xw-body-register-details .xw-theme-ordersummary,
body.xw-body-register-details .xw-order-summary{
  background:#FFFFFF !important; border:1px solid #E3E8F2 !important; border-radius:20px !important;
}
body.xw-body-register-details .xw-mainapp .text-muted{ color:#5B6478 !important; }

/* 6 · Buttons */
body.xw-body-register-details .btn_register,
body.xw-body-register-details .btn-register{
  background:linear-gradient(100deg,#0075ED,#7B5CF6) !important; border:0 !important;
  color:#FFFFFF !important; border-radius:999px !important; font-weight:600 !important;
  box-shadow:0 12px 30px rgba(91,92,245,.35) !important;
}
body.xw-body-register-details .btn_register:hover,
body.xw-body-register-details .btn-register:hover{ background:#1D52AE !important; }
body.xw-body-register-details .btn-outline-primary{
  background:transparent !important; color:#5B5CF5 !important;
  border:1.5px solid #5B5CF5 !important; border-radius:999px !important;
}
body.xw-body-register-details .btn-outline-primary:hover{ background:#F1EDFF !important; }

/* 7 · Messages & validation */
body.xw-body-register-details .alert-info   { background:#EEF3FF !important; color:#1D52AE !important; border-color:#C9D8FF !important; }
body.xw-body-register-details .alert-success{ background:#ECFDF3 !important; color:#067647 !important; border-color:#ABEFC6 !important; }
body.xw-body-register-details .alert-warning{ background:#FFFAEB !important; color:#B54708 !important; border-color:#FEDF89 !important; }
body.xw-body-register-details .alert-danger { background:#FEF3F2 !important; color:#B42318 !important; border-color:#FECDCA !important; }
body.xw-body-register-details .is-invalid{ border-color:#D92D20 !important; background-color:#FEF3F2 !important; }
body.xw-body-register-details .invalid-feedback{ color:#B42318 !important; }