
/* THRIVE 2026 PROFESSIONAL REGISTRATION THEME
   #a90088 -> #5a38a3 */

:root{
  --thrive-start:#a90088;
  --thrive-end:#5a38a3;
  --thrive-gradient:linear-gradient(135deg,#a90088,#5a38a3);
  --thrive-navy:#1c1730;
  --thrive-text:#484253;
  --thrive-muted:#7b7486;
  --thrive-border:#e8e3ed;
  --thrive-bg:#f7f5fa;
}

*{box-sizing:border-box}
body{
  margin:0;
  color:var(--thrive-text);
  background:
    radial-gradient(circle at 0 0,#a9008810,transparent 28%),
    radial-gradient(circle at 100% 0,#5a38a30c,transparent 28%),
    var(--thrive-bg);
  font-family:Inter,Arial,sans-serif;
}
.wrap{width:min(1180px,calc(100% - 40px));margin:auto}

/* Header */
.reg-header{
  position:sticky;top:0;z-index:100;
  background:rgba(255,255,255,.95);
  backdrop-filter:blur(14px);
  border-bottom:1px solid #5a38a31a;
  box-shadow:0 5px 24px #2715320a;
}
.reg-header .wrap{
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.reg-header .logo{
  color:var(--thrive-navy);
  text-decoration:none;
  font:800 20px/1 Poppins,Arial,sans-serif;
}
.reg-header .logo .dot{
  display:inline-block;
  width:12px;height:12px;border-radius:50%;
  background:var(--thrive-gradient);
  box-shadow:0 0 0 6px #a9008810;
}
.back-link{
  display:inline-flex;align-items:center;gap:7px;
  padding:10px 14px;border-radius:10px;
  color:#625b6d;text-decoration:none;
  font-size:13px;font-weight:600;
}
.back-link:hover{color:var(--thrive-start);background:#a9008809}

/* Main */
.reg-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 330px;
  gap:28px;
  padding:42px 0 80px;
}

/* Registration card */
.reg-form{
  background:#fff;
  border:1px solid var(--thrive-border);
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 20px 60px #2c183d0d;
}
.progress-track{
  height:5px;
  width:25%;
  background:var(--thrive-gradient);
  transition:width .3s ease;
}
.step-panel{padding:38px 42px 34px}
.step-panel:not(.active){display:none}
.eyebrow{
  color:var(--thrive-start);
  font-size:11px;font-weight:800;
  letter-spacing:1.6px;text-transform:uppercase;
  margin:0 0 9px;
}
.step-title{
  margin:0;
  color:var(--thrive-navy);
  font:800 32px/1.15 Poppins,Arial,sans-serif;
  letter-spacing:-1px;
}
.step-sub{
  margin:10px 0 30px;
  color:var(--thrive-muted);
  font-size:14px;line-height:1.65;
}

/* Category cards */
.option-cards{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}
.option-card{
  min-height:110px;
  display:grid;
  grid-template-columns:48px 1fr;
  gap:14px;
  align-items:center;
  padding:18px;
  border:1px solid var(--thrive-border);
  border-radius:14px;
  background:#fff;
  cursor:pointer;
  transition:.2s ease;
}
.option-card:hover{
  transform:translateY(-2px);
  border-color:#a9008850;
  box-shadow:0 10px 28px #5a38a314;
}
.option-card:has(input:checked){
  border-color:var(--thrive-start);
  background:linear-gradient(135deg,#a9008809,#5a38a309);
  box-shadow:0 0 0 3px #a9008810;
}
.option-card input{position:absolute;opacity:0;pointer-events:none}
.option-card .icon{
  width:46px;height:46px;
  display:grid;place-items:center;
  border-radius:12px;
  color:#fff;background:var(--thrive-gradient);
  font-size:21px;
}
.option-card h5{
  margin:0 0 5px;
  color:var(--thrive-navy);
  font:700 15px/1.2 Poppins,Arial,sans-serif;
}
.option-card p{
  margin:0;color:var(--thrive-muted);
  font-size:12px;line-height:1.45;
}

/* Inputs */
.form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.form-group.span-2{grid-column:1/-1}
.form-group label{
  display:block;
  margin:0 0 8px;
  color:#342f40;
  font-size:12px;font-weight:700;
}
.required-mark{color:var(--thrive-start)}
input[type=text],input[type=email],input[type=number],input[type=tel],
input[type=url],select,textarea{
  width:100%;
  padding:12px 13px;
  border:1px solid #ddd7e4;
  border-radius:10px;
  background:#fff;color:#2e2938;
  outline:none;
  font:400 13px/1.4 Inter,Arial,sans-serif;
  transition:.18s ease;
}
textarea{min-height:105px;resize:vertical}
input::placeholder{color:#aaa4b1}
input:focus,select:focus,textarea:focus{
  border-color:var(--thrive-start);
  box-shadow:0 0 0 4px #a9008810;
}
.error{color:#d13e66!important;font-size:11px!important}
.hint{color:#8a8491;font-size:11px;line-height:1.5}

/* Conditional blocks */
.conditional-block{
  margin:20px 0;
  padding:18px;
  border:1px solid #eee8f1;
  border-radius:14px;
  background:#fcfbfd;
}

/* Choices */
.radio-inline{display:flex;flex-wrap:wrap;gap:8px}
.radio-pill{
  display:inline-flex;align-items:center;gap:7px;
  padding:9px 13px;
  border:1px solid #ddd7e4;
  border-radius:999px;
  background:#fff;color:#55505f;
  font-size:12px;font-weight:600;
  cursor:pointer;
}
.radio-pill:has(input:checked){
  color:var(--thrive-start);
  border-color:var(--thrive-start);
  background:#a9008808;
}
.radio-pill input,.check-row input,.gst-toggle input,.consent-row input{
  accent-color:var(--thrive-start);
}
.check-list{display:grid;gap:9px}
.check-row{
  display:flex;align-items:flex-start;gap:10px;
  color:#55505f;font-size:12px;line-height:1.5;
}

/* Track chips */
.segment-bar{display:flex;flex-wrap:wrap;gap:8px}
.chip{
  padding:9px 13px;
  border:1px solid #ded8e5;
  border-radius:999px;
  background:#fff;color:#5c5667;
  font:600 11px Inter,Arial,sans-serif;
  cursor:pointer;
}
.chip.active{
  color:#fff;border-color:transparent;
  background:var(--thrive-gradient);
}

/* Cards */
.card{
  padding:20px;
  border:1px solid #e7e0eb;
  border-radius:15px;
  background:linear-gradient(135deg,#fff,#fcf9fd);
  box-shadow:0 8px 25px #23143708;
}
.gst-toggle{
  display:flex;align-items:center;gap:10px;
  margin:18px 0;padding:14px 16px;
  border:1px solid #e8e1ed;border-radius:12px;
  background:#faf8fc;color:#4c4657;font-size:12px;
}

/* Buttons */
.step-nav{
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;margin-top:34px;padding-top:22px;
  border-top:1px solid #eee9f1;
}
.btn{
  min-height:44px;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:0 18px;border-radius:10px;
  font:700 12px Inter,Arial,sans-serif;
  cursor:pointer;text-decoration:none;
  transition:.2s ease;
}
.btn-primary,.btn-teal{
  color:#fff;border:0;background:var(--thrive-gradient);
  box-shadow:0 9px 20px #5a38a326;
}
.btn-primary:hover,.btn-teal:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 28px #5a38a340;
}
.btn-ghost{
  color:#514b5d;background:#fff;border:1px solid #ddd7e4;
}
.btn-ghost:hover{
  color:var(--thrive-start);
  border-color:#a9008860;
  background:#a9008807;
}
.btn-sm{min-height:38px;padding:0 14px}

/* Sidebar */
.reg-sidebar{
  position:sticky;top:98px;align-self:start;
  display:grid;gap:16px;
}
.side-card{
  padding:21px;
  border:1px solid #e6e0eb;border-radius:17px;
  background:#fff;
  box-shadow:0 10px 30px #2a173d0a;
}
.side-card:first-child{
  color:#fff;border:0;background:var(--thrive-gradient);
  box-shadow:0 18px 38px #5a38a333;
}
.side-card:first-child h4,.side-card:first-child .side-meta,
.side-card:first-child .pill-note{color:#fff}
.side-card h4{
  margin:0 0 15px;color:var(--thrive-navy);
  font:700 15px/1.3 Poppins,Arial,sans-serif;
}
.side-meta{
  display:flex;gap:9px;align-items:center;
  margin:9px 0;color:#686272;font-size:12px;
}
.side-card ul{padding:0;margin:0;list-style:none;display:grid;gap:11px}
.side-card li{
  display:flex;gap:9px;color:#ffffff;
  font-size:15px;line-height:1.5;
}
.side-card li i{color:var(--thrive-start)}
.pill-note{
  display:inline-flex;margin-top:8px;padding:7px 10px;
  border-radius:999px;background:#ffffff20;
  font-size:10px;font-weight:700;
}

/* Review / success */
.consent-row{
  display:flex;align-items:flex-start;gap:9px;
  margin:12px 0;color:#5e5868;font-size:12px;line-height:1.5;
}
.consent-row a{color:var(--thrive-start)}
.success-box{text-align:center;padding:50px 20px}
.success-box .check{
  width:70px;height:70px;
  display:grid;place-items:center;margin:0 auto 20px;
  border-radius:50%;color:#fff;
  background:var(--thrive-gradient);
  box-shadow:0 15px 30px #5a38a333;
  font-size:30px;
}
.success-box h3{
  margin:0 0 12px;color:var(--thrive-navy);
  font:800 28px/1.2 Poppins,Arial,sans-serif;
}
.reg-id{
  display:inline-block;margin:15px 0;padding:10px 15px;
  border-radius:8px;color:var(--thrive-start);
  background:#a900880b;border:1px dashed #a9008840;
  font:800 14px/1 Inter,Arial,sans-serif;
  letter-spacing:1px;
}

/* Toast */
.toast{
  position:fixed;right:22px;bottom:22px;z-index:1000;
  max-width:340px;padding:13px 16px;border-radius:10px;
  color:#fff;background:#24152f;
  box-shadow:0 15px 35px #0003;
}

/* Mobile */
@media(max-width:980px){
  .reg-layout{grid-template-columns:1fr}
  .reg-sidebar{position:static;grid-template-columns:repeat(3,1fr)}
}
@media(max-width:760px){
  .wrap{width:min(100% - 28px,680px)}
  .reg-layout{padding:24px 0 55px}
  .step-panel{padding:30px 24px}
  .option-cards,.form-grid{grid-template-columns:1fr}
  .form-group.span-2{grid-column:auto}
  .reg-sidebar{grid-template-columns:1fr}
  .step-title{font-size:28px}
}
@media(max-width:520px){
  .back-link{font-size:0}
  .back-link i{font-size:18px}
  .step-panel{padding:25px 18px}
  .step-nav .btn{padding:0 14px}
}


/* =========================================================
   FINAL RESPONSIVE / SELECTION FIX
   ========================================================= */

/* Never let native selection controls create oversized cards */
.option-card input[type="radio"],
.radio-pill input[type="radio"],
.check-row input[type="checkbox"],
.consent-row input[type="checkbox"],
.gst-toggle input[type="checkbox"]{
  width:16px !important;
  height:16px !important;
  min-width:16px !important;
  min-height:16px !important;
  margin:2px 0 0 !important;
  padding:0 !important;
  flex:0 0 16px !important;
  accent-color:#a90088;
}

/* Category radio is hidden; card itself is the selector */
.option-card{
  position:relative;
}
.option-card input[type="radio"]{
  position:absolute !important;
  opacity:0 !important;
  width:1px !important;
  height:1px !important;
  min-width:1px !important;
  min-height:1px !important;
  margin:0 !important;
}

/* Compact radio/check rows */
.radio-pill{
  min-height:38px;
  padding:8px 12px;
}
.check-row{
  align-items:flex-start;
}
.check-row span{
  flex:1;
}

/* Smaller selection icons */
.option-card .icon{
  width:40px;
  height:40px;
  min-width:40px;
  border-radius:10px;
  font-size:18px;
}

/* Better category cards */
.option-card{
  min-height:94px;
  padding:15px;
  grid-template-columns:40px minmax(0,1fr);
  gap:12px;
}
.option-card h5{font-size:14px}
.option-card p{font-size:11.5px}

/* Prevent long fields from overflowing */
.form-grid,
.option-cards,
.reg-layout,
.step-panel{
  min-width:0;
}
.form-group{
  min-width:0;
}
input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="url"],
select,
textarea{
  max-width:100%;
}

/* Sidebar never pushes page horizontally */
.reg-sidebar,
.side-card{
  min-width:0;
}

/* Better tablet */
@media(max-width:980px){
  .reg-layout{
    display:block;
    width:min(760px,calc(100% - 28px));
  }
  .reg-sidebar{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    margin-top:20px;
  }
}

/* Mobile */
@media(max-width:700px){
  .wrap{
    width:calc(100% - 24px);
  }
  .reg-header .wrap{
    min-height:64px;
  }
  .reg-layout{
    width:calc(100% - 24px);
    padding:16px 0 40px;
  }
  .reg-form{
    border-radius:14px;
  }
  .step-panel{
    padding:24px 17px 22px;
  }
  .step-title{
    font-size:25px;
    letter-spacing:-.5px;
  }
  .step-sub{
    font-size:13px;
    margin-bottom:22px;
  }
  .option-cards{
    grid-template-columns:1fr;
    gap:10px;
  }
  .option-card{
    min-height:78px;
    padding:12px;
  }
  .option-card .icon{
    width:36px;
    height:36px;
    min-width:36px;
    font-size:16px;
  }
  .option-card{
    grid-template-columns:36px minmax(0,1fr);
    gap:10px;
  }
  .form-grid{
    grid-template-columns:1fr !important;
    gap:14px;
  }
  .form-group.span-2{
    grid-column:auto !important;
  }
  .conditional-block{
    padding:14px;
    margin:14px 0;
  }
  .radio-inline{
    display:grid;
    grid-template-columns:1fr;
    gap:7px;
  }
  .radio-pill{
    width:100%;
    min-height:38px;
    border-radius:9px;
  }
  .segment-bar{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
  }
  .chip{
    width:100%;
    min-height:37px;
    padding:8px 9px;
  }
  .gst-toggle{
    align-items:flex-start;
    padding:12px;
  }
  .step-nav{
    margin-top:25px;
    padding-top:18px;
  }
  .step-nav .btn{
    min-height:42px;
    padding:0 13px;
    white-space:nowrap;
  }
  .reg-sidebar{
    grid-template-columns:1fr;
    gap:10px;
  }
  .side-card{
    padding:17px;
  }
}

/* Very small phones */
@media(max-width:420px){
  .step-panel{
    padding:21px 13px 18px;
  }
  .step-title{
    font-size:23px;
  }
  .option-card p{
    font-size:11px;
  }
  .segment-bar{
    grid-template-columns:1fr;
  }
  .step-nav{
    gap:8px;
  }
  .step-nav .btn{
    font-size:11px;
    padding:0 10px;
  }
  .consent-row{
    font-size:11px;
  }
}


/* Working selection controls */
.option-card{
  position:relative;
}
.option-card.selected{
  border-color:#a90088 !important;
  background:linear-gradient(135deg,#a900880c,#5a38a30c) !important;
  box-shadow:0 0 0 3px #a9008810 !important;
}
.option-card.selected::after{
  content:"✓";
  position:absolute;
  top:10px;
  right:10px;
  width:19px;
  height:19px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#fff;
  background:linear-gradient(135deg,#a90088,#5a38a3);
  font-size:11px;
  font-weight:800;
}
.radio-pill{
  position:relative;
}
.radio-pill input[type="radio"]{
  position:absolute !important;
  opacity:0 !important;
  width:1px !important;
  height:1px !important;
}
.radio-pill::before{
  content:"";
  width:12px;
  height:12px;
  flex:0 0 12px;
  border:1.5px solid #bdb5c6;
  border-radius:50%;
  background:#fff;
  box-sizing:border-box;
}
.radio-pill.selected{
  border-color:#a90088 !important;
  color:#a90088 !important;
  background:#a9008809 !important;
}
.radio-pill.selected::before{
  border:4px solid #a90088;
}
.check-row input[type="checkbox"],
.gst-toggle input[type="checkbox"],
.consent-row input[type="checkbox"]{
  width:15px !important;
  height:15px !important;
  min-width:15px !important;
  min-height:15px !important;
  flex:0 0 15px !important;
  margin:2px 0 0 !important;
}
.invalid-choice{
  outline:2px solid #d33f67;
  outline-offset:5px;
  border-radius:8px;
}
.review-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:13px 20px;
}
.review-grid div{
  padding-bottom:11px;
  border-bottom:1px solid #eee9f1;
}
.review-grid div span{
  display:block;
  color:#8a8393;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.8px;
  margin-bottom:4px;
}
.review-grid div strong{
  color:#2b2637;
  font-size:13px;
  line-height:1.45;
}
.review-full{grid-column:1/-1}
.toast{display:none}
@media(max-width:600px){
  .review-grid{grid-template-columns:1fr}
  .review-full{grid-column:auto}
}


/* FINAL REVIEW ALIGNMENT */
.review-card{padding:24px !important;margin-top:8px !important}
.review-grid{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:0 28px !important;width:100% !important}
.review-grid div{display:flex !important;flex-direction:column !important;align-items:flex-start !important;justify-content:flex-start !important;gap:5px !important;min-width:0 !important;padding:14px 0 !important;border-bottom:1px solid #eee9f1 !important}
.review-grid div span{display:block !important;width:100% !important;margin:0 !important;color:#8a8393 !important;font-size:10px !important;font-weight:700 !important;line-height:1.2 !important;text-transform:uppercase !important;letter-spacing:.8px !important}
.review-grid div strong{display:block !important;width:100% !important;margin:0 !important;color:#292437 !important;font-size:14px !important;font-weight:700 !important;line-height:1.45 !important;overflow-wrap:anywhere !important}
.review-full{grid-column:1 / -1 !important}
@media(max-width:700px){
 .review-card{padding:17px !important}
 .review-grid{grid-template-columns:1fr !important}
 .review-full{grid-column:auto !important}
}


/* Final page scrolling fix */
html,body{min-height:100%;height:auto;overflow-x:hidden;overflow-y:auto;}
.site-footer{position:relative;z-index:2;}


/* Supplied THRIVE visual asset */
.reg-page, body{background-color:#fff}
.reg-header .logo img.register-site-logo{object-fit:contain;object-position:left center}
