.register-overlay *{
  box-sizing:border-box;
  font-family: "Segoe UI", sans-serif;
}

.register-overlay body{
  background:#eee;
  padding:50px;
}

.register-overlay .demo-btn{
  padding:10px 18px;
  background:#f36a32;
  color:#fff;
  border:none;
  border-radius:6px;
  cursor:pointer;
}

.register-overlay{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.35);
  justify-content:center;
  align-items:center;
  z-index:10000;
}

.register-overlay .popup{
  width:430px;
  background:#fff;
  border-radius:18px;
  padding:28px 28px 24px;
  position:relative;
  max-height:85vh;        /* LIMIT HEIGHT */
  overflow:hidden;
}

.register-overlay .popup h1{
  font-size:26px;
  font-weight:600;
  margin-bottom:22px;
}

.register-overlay label{
  font-size:14px;
  font-weight:600;
  display:block;
  margin-top:14px;
}

/* .register-overlay input[type=text],
.register-overlay input[type=password]{
  width:100%;
  padding:13px 14px;
  border:1px solid #e3e3e3;
  border-radius:10px;
  margin-top:6px;
  font-size:14px;
} */

.register-overlay .password-wrap{
  position:relative;
}
.register-overlay .password-wrap img{
  width:20px;
  position:absolute;
  right:14px;
  top:50%;
  transform:translateY(-50%);
  cursor:pointer;
  opacity:.6;
}

.register-overlay .row{
  display:flex;
  justify-content:space-between;
  margin:14px 0 22px;
  font-size:13px;
}
.register-overlay .checks label{
  font-size:13px;
  font-weight:500;
}
.register-overlay .row a{
  font-size:13px;
  color:#000;
  text-decoration:underline;
}

.register-overlay .login-btn{
  width:100%;
  padding:14px;
  background:#f36a32;
  border:none;
  border-radius:12px;
  color:#fff;
  font-size:15px;
  font-weight:600;
  cursor:pointer;
}

.register-overlay .or{
  text-align:center;
  margin:16px 0 10px;
  font-weight:600;
}

.register-overlay .signup{
  text-align:center;
  font-size:14px;
}
.register-overlay .signup span{
  color:#f36a32;
  font-weight:600;
  cursor:pointer;
}

.register-overlay .step{display:none}
.register-overlay .step.active{display:block}

.register-overlay h1{font-size:24px;margin-bottom:18px}

.register-overlay input{
  width:100%;
  padding:13px;
  border:1px solid #ddd;
  border-radius:12px;
  margin-top:6px;
}

/* .register-overlay button{
  width:100%;
  padding:14px;
  background:#f36a32;
  border:none;
  border-radius:12px;
  color:#fff;
  font-weight:600;
  margin-top:20px;
  cursor:pointer;
} */

.register-overlay .outline{
  background:#fff;
  border:2px solid #f36a32;
  color:#f36a32;
}

.register-overlay .radio,.box{
  border:2px solid #ddd;
  border-radius:12px;
  padding:14px;
  margin-top:10px;
  cursor:pointer;
}

.register-overlay .radio.active,.box.active{
  border-color:#f36a32;
  color:#f36a32;
}

/* .register-overlay .otp{display:flex;gap:10px;margin:20px 0}
.register-overlay .otp input{
  width:40px;
  height:50px;
  text-align:center;
  font-size:18px;
} */

.register-overlay .icon{
  font-size:60px;
  text-align:center;
  margin:20px 0;
}

.register-overlay .success{color:green}

.register-overlay .plan{border:1px solid #ddd;border-radius:14px;padding:16px}

.register-overlay .link{color:#f36a32;cursor:pointer;text-align:center}

/* Step title */
.register-overlay .step-title{
  font-size:20px;
  font-weight:600;
  margin-bottom:16px;
}

.register-overlay .form-group{
  margin-bottom:14px;
}

/* Inputs & selects */
.register-overlay input,
.register-overlay select{
  width:100%;
  padding:12px 14px;
  border:1px solid #ddd;
  border-radius:10px;
  font-size:14px;
  outline:none;
}

.register-overlay input:focus,
.register-overlay select:focus{
  border-color:#f36a32;
}

/* Error state */
.register-overlay .form-group.error input,
.register-overlay .form-group.error select{
  border-color:red;
}

.register-overlay .error-message{
  font-size:12px;
  color:red;
  margin-top:4px;
  display:none;
}

/* Show error */
.register-overlay .form-group.error .error-message{
  display:block;
}

/* Button */
.register-overlay button{
  width:100%;
  padding:14px;
  background:#f36a32;
  border:none;
  border-radius:12px;
  color:#fff;
  font-weight:600;
  margin-top:18px;
  cursor:pointer;
}

.register-overlay .step{
  max-height:75vh;       /* inner scroll area */
  overflow-y:auto;       /* ENABLE SCROLL */
  padding-right:0;     /* space for scrollbar */

  scrollbar-width: none;    /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.register-overlay .step::-webkit-scrollbar{
  display:none;
}
.register-overlay .step::-webkit-scrollbar-thumb{
  background:#f36a32;
  border-radius:10px;
}

.register-overlay .subtext{
  font-size:14px;
  color:#777;
  margin-bottom:18px;
}

.register-overlay .verify-card{
  display:flex;
  align-items:center;
  gap:14px;
  padding:18px;
  border:2px solid #ddd;
  border-radius:14px;
  margin-bottom:14px;
  cursor:pointer;
  transition:.2s;
}

.register-overlay .verify-card.active{
  border-color:#f36a32;
  background:#fff6f0;
}

.register-overlay .verify-icon{
  width:26px;
}

.register-overlay .verify-text .title{
  font-weight:600;
  font-size:15px;
}

.register-overlay .verify-text .value{
  font-size:13px;
  color:#666;
}

.register-overlay .step3-buttons{
  margin-top:22px;
  gap:14px;
}

.register-overlay .step3-buttons button{
  width:48%;
}

.register-overlay .otp-status{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:14px;
  margin-bottom:14px;
}

.register-overlay .otp-status.success{
  color:#22c55e;
}

.register-overlay .otp-status img{
  width:20px;
}

.register-overlay .otp{
  display:flex;
  gap:14px;
  justify-content:center;
  margin:20px 0;
}

.register-overlay .otp input{
  width:46px;
  height:56px;
  border-radius:12px;
  border:1px solid #ddd;
  text-align:center;
  font-size:18px;
}

.register-overlay .otp input:focus{
  border-color:#f36a32;
}

.register-overlay .resend{
  font-size:14px;
  margin-top:10px;
}

.register-overlay .resend span:first-child{
  color:#f36a32;
  cursor:pointer;
  font-weight:600;
}

.register-overlay .resend span:last-child{
  color:#999;
  margin-left:6px;
}

/* .register-overlay .big-success{
  display:flex;
  justify-content:center;
  margin:24px 0;
} */

.register-overlay .otp-status.error{
  color:#ef4444;
}

.register-overlay .big-fail{
  display:flex;
  justify-content:center;
  margin:24px 0;
}

.register-overlay .big-fail img{
  width:100px;
}

.register-overlay .otp-status.error{
  color:#ff2b2b;
}

.register-overlay .otp-status.success{
  color:#19b600;
}

.register-overlay .big-error,
.register-overlay .big-success{
  display:flex;
  justify-content:center;
  margin:28px 0;
}

.register-overlay .big-error img{
  width:90px;
}

.register-overlay .big-success img{
  width:100px;
}

.register-overlay .error-text{
  color:#ff2b2b;
}

#stepError h1,
#stepError .subtext {
    text-align: center;
}

#step5 h1,
#step5 .subtext {
    text-align: center;
}

/* .register-overlay .plan{
  border:1px solid #ddd;
  border-radius:14px;
  padding:16px;
  margin-bottom:14px;
}

.register-overlay .plan h2{
  margin:0 0 6px;
  font-size:18px;
}

.register-overlay .plan p{
  font-weight:600;
  margin-bottom:10px;
}

.register-overlay .plan ul{
  padding-left:18px;
  margin:0;
}

.register-overlay .plan li{
  margin-bottom:6px;
} */

.register-overlay .trial-fixed{
  position:absolute;
  bottom:18px;
  left:28px;
  right:28px;
  background:#fff;
  padding-top:10px;
}

.plans-wrapper{
  display:flex;
  gap:16px;
  overflow-x:auto;
  padding:10px 4px 80px;
  scroll-snap-type:x mandatory;
  align-items:stretch;
}

.plans-wrapper::-webkit-scrollbar{
  display:none;
}

.plan{
  min-width:260px;
  border:1px solid #ddd;
  border-radius:16px;
  padding:16px;
  scroll-snap-align:start;
  background:#fff;

  display:flex;           /* 👇 key */
  flex-direction:column;
}

.plan h2{
  font-size:18px;
  margin-bottom:6px;
}

.plan p{
  font-size:16px;
  font-weight:600;
  color:#f36a32;
  margin-bottom:10px;
}

.plan ul{
  flex:1; 
  padding-left:18px;
  margin-bottom:14px;
}

.plan ul li{
  margin-bottom:6px;
  font-size:14px;
}

.plan button{
  margin-top:auto;
  width:100%;
  background:#f36a32;
  border:none;
  border-radius:10px;
  padding:10px;
  color:#fff;
  font-weight:600;
  cursor:pointer;
}

#step7 h1,
#step7 .subtext{
  text-align:center;
}

#step7 button{
  margin-top:22px;
}

/* comment this plansContainer when there are more than one card */
#plansContainer {
    display: flex;
    justify-content: center;   /* centers horizontally */
    gap: 20px;
    flex-wrap: wrap;
}

.register-overlay .radio.disabled{
  pointer-events: none;   /* prevents clicking */
  opacity: 0.5;           /* makes it look disabled */
  cursor: not-allowed;
}