/* =========================================================
   User registration flow (Steps 1–4) - single-page UI
   Keeps shared header/footer/background from css/site.css
   ========================================================= */

:root {
  --card: #ffffff;
  --line: #d9dfe6;
  --soft: rgba(255, 255, 255, 0.8);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  --blue: #2f8fbe;
  --blue-2: #277ca3;
  --pill: #e3eefc;
  --toast: #55b948;
/* my css */
  --siteblue: #284758;
  --blue-2: #277ca3;
}

.regWrap {
  position: relative;
  z-index: 1;
  width: min(700px, calc(100% - 36px));
  margin: 0 auto;
}

/* ---------------------------------------------------------
   Stepper
   --------------------------------------------------------- */
.stepper {
  margin: 20px auto 0px auto;
  display: flex;
  justify-content: center; 
}
.stepper__track {
  list-style: none;
  padding: 0;
  margin: 0;
  width: min(640px, 100%);  
  
      width: 500px; 
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  gap: 0;
  position: relative;
  
}
.stepper__track::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(0, 0, 0, 0.18);
}
.step {
  text-align: center;
  position: relative;
  color: #6c747c;
  font-weight: 700;
}
.step__dot {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  background: #f6f7f8;
  border: 2px solid rgba(0, 0, 0, 0.25);
  font-weight: 700;
  color: #6c747c;
  font-size: 18px; 
}
.step__label {
  margin-top: 4px;
  font-size: 14px;
}
.step.is-active .step__dot,
.step.is-done .step__dot {
  background: linear-gradient(0deg, #f0b11c, #f2c23b);
  border-color: rgba(0, 0, 0, 0.08);
  color: #fff;
}
.step.is-active,
.step.is-done {
  color: #3a4147;
}

/* ---------------------------------------------------------
   Card container
   --------------------------------------------------------- */
.regPanel {
  /*background: var(--soft);
  border-radius: 10px;
  box-shadow: var(--shadow); */
  padding: 18px;
  margin-bottom:0px;
}
.regCard {
  background: var(--card);
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
  padding: 22px 24px;
}
.regCard__head {
  text-align: center;
  margin-bottom: 14px;
}
.regCard__title {
  margin: 0;
  color: var(--siteblue);
  font-weight: 600;
  font-size: 20px;
}

.regCard__sub {
  margin: 0px 0 18px 0px;
    color: #6c767f;
    font-weight: 600;
    font-size: 15px;
    line-height: 18px;
}

/* ---------------------------------------------------------
   Fields
   --------------------------------------------------------- */
.regForm {
  width: min(540px, 100%);
  margin: 0 auto;
}
.req {
  color: #ff0432;
  font-weight: 900; 
}
.field {
  margin: 10px 0 12px;
}
.field label {
  display: block;
  font-weight: 800;
  color: #2f3a41;
  font-size: 12px;
  margin-bottom: 6px;
}
.field__control {
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 4px;
  background: #fff;
  height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  transition: box-shadow 120ms ease, border-color 120ms ease;
}
.field__control:focus-within {
  box-shadow: var(--ring);
  border-color: rgba(46, 160, 207, 0.55);
}
.field__control.is-invalid {
  border-color: #d0586e;
  box-shadow: 0 0 0 3px rgba(208, 88, 110, 0.18);
}
.field__control--icon {
  padding-left: 8px;
}
.field__icon {
  display: grid;
  place-items: center;
  padding: 0 10px 0 2px;
  margin-right: 2px;
  border-right: 1px solid rgba(0, 0, 0, 0.14);
}
.field__control--action {
  padding-right: 6px;
}
.field__action {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  border-radius: 6px;
}
.field__action:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.field input,
.field select {
  border: 0;
  outline: none;
  width: 100%;
  font: 14px/1 var(--font);
  color: #1e2429;
  background: transparent;
}
.field select {
  appearance: auto;
}

/* Use native select arrows (no custom chevron) */
.field__error {
  min-height: 14px;
  margin: 1px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #ee0731;
}

/* Actions + status */
.regActions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}
.regActions--center {
  justify-content: center; 
}
.regStatus {
  margin: 10px 0 0;
  min-height: 16px;
  text-align: center;
  font-weight: 600;
  color: #04ac38;
  font-size: 15px; 
}

.pillBack {
  appearance: none;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: #ffffff;
  color: #2f8fbe;
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.pillBack:hover {
  background: #f5fbff;
}
.pillBack:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.ghostLink {
  color: #2f3a41;
  font-weight: 600;
  text-decoration: none; 
}
.ghostLink:hover {
  text-decoration: underline;
}
.ghostLink:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 6px;
  padding: 2px 4px;
}

/* Step 2 info box */
.infoBanner {
  width: min(540px, 100%);
  margin: 0 auto 14px;
  text-align: center;
  background: var(--pill);
  border: 1px solid rgba(47, 143, 190, 0.18);
  color: #3a4953;
  font-weight: 500;
  border-radius: 6px;
  padding: 12px 14px;
}
.infoBanner__link {
  color: #259DD7;
  font-weight: 600;
  text-decoration: none;
}
.infoBanner__link:hover {
  text-decoration: underline;
}

/* OTP */
.otp {
  width: min(540px, 100%);
  margin: 0 auto;
  text-align: center;
}
.otp__label {
  font-weight: 600;
  font-size: 14px;
  color: #2f3a41;
  margin-bottom: 8px;
}
.otp__inputs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.otp__box {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  text-align: center;
  font: 500 19px/1 var(--font);
  outline: none;
  background: #fff;
}
.otp__box:focus {
  box-shadow: var(--ring);
  border-color: rgba(46, 160, 207, 0.55);
}
.otp__box.is-invalid {
  border-color: #d0586e;
  box-shadow: 0 0 0 3px rgba(208, 88, 110, 0.18);
}

/* Step 3 toast + requirements */
.successToast {
  width: min(680px, 100%);
  margin: 0 auto 10px;
  background: var(--toast);
  color: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 220ms ease, transform 220ms ease;
  will-change: opacity, transform;
}
.successToast.is-leaving {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
}
.toast__close {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}
.toast__close:hover {
  background: rgba(255, 255, 255, 0.28);
}
.toast__close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .successToast {
    transition: none;
  }
}

.pwdRules {
  width: min(420px, 100%);
  margin: 12px auto 0;
  background: #e9f4fb;
  border: 1px solid rgba(47, 143, 190, 0.18);
  border-radius: 6px;
  padding: 10px 12px;
}
.pwdRules__title {
  font-weight: 900;
  color: #2f8fbe;
  margin-bottom: 6px;
  text-align: left;
}
.pwdRules__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
  color: #2f3a41;
  font-weight: 600;
  font-size: 13px;
}
.pwdRules__list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 8px;
  align-items: start;
}
.ruleDot {
  width: 15px;
  height: 15px;
  border-radius: 999px;
  border: 2px solid rgba(0, 0, 0, 0.22);
  margin-top: 2px;
  position: relative;
}
.pwdRules__list li.is-met .ruleDot {
  background: var(--toast);
  border-color: rgba(0, 0, 0, 0.06);
}
.pwdRules__list li.is-met .ruleDot::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 1px;
  width: 4px;
  height: 6px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

/* Step 4 details */
.registerAs {
  width: min(720px, 100%);
  margin: 4px auto 14px;
  background: var(--pill);
  border: 1px solid rgba(47, 143, 190, 0.18);
  border-radius: 6px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.registerAs__label {
  font-weight: 700;
  color: #2f3a41;
  font-size: 14px;
}
.cb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: #2f3a41;
  cursor: pointer;
  user-select: none;
}
.cb input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cb__box {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.28);
  background: #fff;
  display: inline-block;
  position: relative;
}
.cb input:checked + .cb__box {
  background: #2f8fbe;
  border-color: rgba(0, 0, 0, 0.08);
}
.cb input:checked + .cb__box::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.cb:focus-within .cb__box {
  box-shadow: var(--ring);
}

.regForm--grid {
  width: min(760px, 100%);
}
.grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}
.address {
  margin-top: 8px;
  width: 100%;
}
.address__title {
  width: 100%;
  margin: 14px 0 4px;
  color: #2f8fbe;
  font-weight: 600;
  font-size: 18px; 
}
.grid3 {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 0.6fr;
  gap: 12px 18px;
}
.field--wide {
  grid-column: 1 / -1;
}

/* Responsive details grid */
@media (max-width: 820px) {
  .grid3 {
    grid-template-columns: 1fr 1fr;
  }
  .field--wide {
    grid-column: 1 / -1;
  }
}
@media (max-width: 620px) {
  .regPanel {
    padding: 14px;
  }
  .regCard {
    padding: 18px 16px;
  }
  .stepper__track::before {
    left: 8%;
    right: 8%;
  }
  .grid2 {
    grid-template-columns: 1fr;
  }
  .grid3 {
    grid-template-columns: 1fr;
  }
  .registerAs {
    flex-wrap: wrap;
    gap: 10px 14px;
  }
}

/* my own css start here*/

.icb_regform_inner{
  width: 365px;
    margin: auto;
}

.regStep .field {
  margin: 0px 0 0px;
}
.regStep .field label {
  display: block;
  font-weight: 600;
  color: #000000;
  font-size: 14px;
  margin-bottom: 2px;
}

.icb_hero{
  padding: 15px 18px 28px; 
}




.icb_reg_btn .btn--blue {
  background: #2f8fbe;
  color: #fff;
  min-width: auto;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 0px;
}

.icb_reg_btn .btn--dark {
  background: #3c5360;
    color: #fff;
  min-width: auto;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 0px;
}

.registerAs__label span{
  font-weight: 600; 
}


.regCard .grid2{
  gap: 0px 18px;
}



.regCard .grid3{
  gap: 0px 18px;
  grid-template-columns: 1fr 0.7fr 0.7fr;
  gap: 0px 18px;
}



@media (max-width: 700px){



  .icb_regform_inner{
  width: 100%;     
}

.icb_user_register .regPanel {
  padding: 0;
  margin-top: 25px;
}

.brand__mark{
  background-position: center;
}
}

@media (max-width: 500px){



  .icb_user_register .regCard .grid3 {

    grid-template-columns: 10fr;
    
   
}


}


@media (max-width: 860px) {  

.stepper__track{
	    width: auto;
	
}
}
 