@font-face{
  font-family:Vazir;
  src:url('../../fonts/Vazir-Regular.woff2') format('woff2'),
      url('../../fonts/Vazir-Regular.woff') format('woff'),
      url('../../fonts/Vazir-Regular.ttf') format('truetype');
  font-weight:400;
  font-style:normal;
  font-display:swap;
}

@font-face{
  font-family:Vazir;
  src:url('../../fonts/Vazir-Bold.woff2') format('woff2'),
      url('../../fonts/Vazir-Bold.woff') format('woff'),
      url('../../fonts/Vazir-Bold.ttf') format('truetype');
  font-weight:700;
  font-style:normal;
  font-display:swap;
}

@font-face{
  font-family:Vazir;
  src:url('../../fonts/Vazir.woff2') format('woff2'),
      url('../../fonts/Vazir.woff') format('woff'),
      url('../../fonts/Vazir.ttf') format('truetype');
  font-weight:400;
  font-style:normal;
  font-display:swap;
}

:root{
  --olive:#686323;
  --olive2:rgba(89,83,24,.88);
  --cream:rgba(255,255,244,.86);
  --yellow:#ecd541;
  --green:#8bd13c;
  --blue:#6e82eb;
  --orange:#bd721d;
  --txt:#686323;
  --darkField:rgba(89,83,24,.88);
  --focusField:rgba(255,255,244,.86);
}

*{box-sizing:border-box}

html,
body{
  margin:0;
  width:100%;
  min-height:100%;
  height:100%;
  font-family:Vazir,Tahoma,sans-serif!important;
  direction:rtl;
  color:var(--txt);
  overflow-x:hidden;
}

body{
  min-height:100vh;
  min-height:100svh;
  min-height:100dvh;
}

button,
input,
select,
textarea{
  font-family:Vazir,Tahoma,sans-serif!important;
}

.page{
  min-height:100vh;
  min-height:100svh;
  min-height:100dvh;
  background:#d7c25a url('../images/bg.jpg') center/cover no-repeat;
  display:flex;
  justify-content:center;
  align-items:flex-start;
}

.wrap{
  width:min(100%,768px);
  min-height:100vh;
  min-height:100svh;
  min-height:100dvh;
  padding:68px 8.5% 82px;
  text-align:center;
  position:relative;
}

.register-wrap{padding-top:82px}
.forgot-wrap{padding-top:92px}

.hero-banner{
  width:100%;
  min-height:188px;
  margin:0 auto 20px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
}

.hero-banner img{
  display:block;
  max-width:82%;
  height:auto;
  object-fit:contain;
}

.recover-banner{
  min-height:165px;
  margin-bottom:22px;
}

.success-banner{
  min-height:188px;
  margin-bottom:16px;
}

.brand-kicker{
  font-weight:700;
  font-size:23px;
  margin:0 0 4px;
}

.logo-img{
  display:block;
  margin:0 auto 8px;
  max-width:82%;
  height:auto;
}

.fallback-title{
  color:#fff;
  font-size:54px;
  line-height:1;
  font-weight:900;
  margin:0;
  text-shadow:0 2px 1px rgba(0,0,0,.08);
}

.fallback-sub{
  color:#fff;
  font-size:29px;
  font-weight:700;
  margin:4px 0 18px;
}

.forgot-title{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.12);
  color:var(--olive);
  border-radius:24px;
  padding:7px 24px;
  font-size:20px;
  font-weight:700;
  margin-bottom:18px;
}

.syllabus-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1.4px solid var(--olive);
  background:rgba(255,255,255,.12);
  color:var(--olive);
  border-radius:20px;
  padding:4px 18px;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
  margin-bottom:14px;
}

.field,
.price-trigger{
  height:56px;
  border-radius:28px;
  border:0;
  background:var(--darkField);
  display:flex;
  align-items:center;
  gap:12px;
  padding:0 22px;
  margin:16px 0;
  color:#fff;
  box-shadow:none;
  transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease;
}

.field:focus-within,
.phone-row:focus-within,
.price-dropdown.open .price-trigger,
.price-trigger:focus{
  background:var(--focusField);
  border:1.5px solid var(--yellow);
  color:var(--olive);
  box-shadow:0 8px 18px rgba(255,242,138,.22);
  outline:0;
}

.field img,
.field-icon{
  width:25px;
  height:25px;
  object-fit:contain;
  flex:0 0 auto;
}

.field input{
  border:0;
  background:transparent;
  outline:0;
  width:100%;
  height:100%;
  font-size:18px;
  font-weight:400;
  color:inherit;
  text-align:right;
}

.field input::placeholder,
.phone-input input::placeholder{
  color:rgba(255,255,255,.55);
}

.field:focus-within input::placeholder,
.phone-row:focus-within input::placeholder{
  color:rgba(104,99,35,.72);
}

/* Price radio selector */
.price-radio-box{
  width:100%;
  min-height:56px;
  border-radius:28px;
  background:var(--darkField);
  color:#fff;
  padding:0;
  margin:16px 0;
  overflow:hidden;
  box-shadow:none;
  transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease;
}

.price-radio-box.open,
.price-radio-box:focus-within{
  background:var(--darkField);
  color:#fff;
}

.price-radio-head{
  width:100%;
  min-height:56px;
  border:0;
  background:transparent;
  color:inherit;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:0 22px;
  cursor:pointer;
  position:relative;
}

.price-wallet-icon{
  position:absolute;
  right:22px;
  top:50%;
  transform:translateY(-50%);
  width:25px;
  height:25px;
  object-fit:contain;
}

.price-radio-title{
  display:block;
  max-width:calc(100% - 58px);
  color:inherit;
  font-size:18px;
  font-weight:400;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  text-align:center;
}

.price-radio-options{
  display:none;
  grid-template-columns:1fr;
  gap:0;
  padding:0 54px 18px 54px;
}

.price-radio-box.open .price-radio-options{
  display:grid;
}

.price-radio-option{
  width:100%;
  border:0;
  background:transparent;
  color:#fff;
  display:grid;
  grid-template-columns:34px minmax(100px,1fr) minmax(120px,1fr);
  align-items:center;
  gap:10px;
  padding:5px 0;
  font-size:18px;
  font-weight:400;
  text-align:right;
  cursor:pointer;
}

.radio-dot{
  width:22px;
  height:22px;
  border-radius:50%;
  background:rgba(255,255,255,.78);
  border:2px solid rgba(255,255,255,.88);
  box-shadow:inset 0 0 0 5px transparent;
}

.price-radio-option.active .radio-dot{
  background:#fff;
  box-shadow:inset 0 0 0 5px var(--olive);
}

.price-radio-name{
  font-size:20px;
  font-weight:700;
  white-space:nowrap;
}

.price-radio-amount{
  direction:rtl;
  text-align:left;
  font-size:18px;
  font-weight:400;
  white-space:nowrap;
}

.price-radio-box.selected:not(.open) .price-radio-head{
  justify-content:center;
}

.price-radio-box.selected:not(.open) .price-radio-title{
  font-weight:700;
}

.phone-row{
  display:flex;
  align-items:center;
  background:var(--darkField);
  height:56px;
  color:#fff;
  border-radius:28px;
  margin:16px 0;
  overflow:hidden;
  transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease;
}

.phone-row .send{
  height:44px;
  margin-left:8px;
  margin-right:0;
  min-width:132px;
  border:0;
  border-radius:22px;
  background:var(--green);
  color:#fff;
  font-weight:700;
  font-size:15px;
  cursor:pointer;
  white-space:nowrap;
}

.phone-row .send.wait{background:#817b36}
.phone-row .send:disabled{opacity:.82;cursor:not-allowed}

.phone-input{
  display:flex;
  align-items:center;
  gap:12px;
  padding:0 22px;
  flex:1;
  color:inherit;
}

.phone-input img{
  width:25px;
  height:25px;
  object-fit:contain;
  flex:0 0 auto;
}

.phone-input input{
  border:0;
  background:transparent;
  outline:0;
  width:100%;
  height:54px;
  font-size:18px;
  font-weight:400;
  color:#fff;
  text-align:right;
}

.phone-row:focus-within .phone-input input{color:var(--olive)}
.phone-input input:not(:placeholder-shown){color:#fff}
.phone-row:focus-within .phone-input input:not(:placeholder-shown){color:var(--olive)}

.phone-input input:-webkit-autofill,
.field input:-webkit-autofill{
  -webkit-text-fill-color:#fff;
  transition:background-color 9999s ease-in-out 0s;
}

.phone-row:focus-within .phone-input input:-webkit-autofill,
.field:focus-within input:-webkit-autofill{
  -webkit-text-fill-color:var(--olive);
}

.otp-area{display:none}
.otp-area.show{display:block}

.otp-help{
  font-size:18px;
  font-weight:700;
  margin:12px 0 18px;
}

.otp-boxes{
  direction:ltr;
  display:flex;
  justify-content:center;
  gap:16px;
}

.otp-boxes input{
  width:82px;
  height:82px;
  border-radius:22px;
  border:0;
  background:rgba(87,82,22,.86);
  color:#fff;
  text-align:center;
  font-size:32px;
  font-weight:400;
  outline:0;
}

.price{
  display:none;
  font-weight:700;
  font-size:25px;
  margin:26px 0 18px;
  min-height:32px;
}

.pay-btn{
  height:56px;
  min-width:360px;
  border:0;
  border-radius:28px;
  background:var(--blue);
  box-shadow:0 8px 15px rgba(50,62,140,.30);
  color:#fff;
  font-size:22px;
  font-weight:700;
  cursor:pointer;
  display:inline-flex;
  gap:12px;
  align-items:center;
  justify-content:center;
}

.pay-btn.off{
  background:#a6a6a6;
  box-shadow:none;
  cursor:not-allowed;
}

.pay-tick{
  width:30px;
  height:30px;
  object-fit:contain;
  display:inline-block;
  flex:0 0 auto;
}

.pay-btn .tick{
  width:30px;
  height:30px;
  border:2px solid #fff;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
}

.recover-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:360px;
  max-width:100%;
  min-height:56px;
  border:1.7px solid var(--olive);
  border-radius:28px;
  padding:6px 22px;
  margin-top:22px;
  color:var(--olive);
  text-decoration:none;
  font-size:20px;
  font-weight:700;
}

.forgot-wrap .field,
.forgot-wrap .recover-btn,
.forgot-wrap .alert{
  width:360px;
  max-width:100%;
  margin-left:auto;
  margin-right:auto;
}

.alert{
  display:none;
  margin-top:8px;
  margin-bottom:8px;
  border-radius:13px;
  padding:7px 11px;
  background:rgba(255,255,255,.78);
  font-size:15px;
  font-weight:700;
}

.alert.ok{color:#2a8a19}
.alert.err{color:#b42318}

.success-badge{
  display:inline-flex;
  background:var(--green);
  color:#fff;
  border-radius:24px;
  padding:10px 28px;
  font-size:18px;
  font-weight:700;
  margin:22px 0 -18px;
  position:relative;
  z-index:2;
}

.note-card{
  background:var(--cream);
  border:1.7px solid var(--yellow);
  border-radius:26px;
  padding:36px 30px;
  font-size:18px;
  line-height:2;
  font-weight:700;
}

.license-card{
  background:var(--cream);
  border:1.7px solid var(--yellow);
  direction:ltr;
  text-align:left;
  word-break:break-all;
  margin-top:18px;
  position:relative;
  min-height:96px;
  max-height:138px;
  overflow:auto;
  padding:24px 58px 24px 22px;
  font-size:14px;
  line-height:1.55;
  font-weight:700;
  border-radius:20px;
  scrollbar-width:none;
  -ms-overflow-style:none;
}

.license-card::-webkit-scrollbar{
  width:0;
  height:0;
  display:none;
}

.license-card .license-icon,
.license-card > img{
  position:absolute;
  right:17px;
  top:50%;
  transform:translateY(-50%);
  width:24px;
  height:24px;
  object-fit:contain;
}

.license-card #lic{
  display:block;
  direction:ltr;
  text-align:left;
}

#result .license-card{margin-top:14px}

.action-row{
  display:flex;
  gap:22px;
  justify-content:center;
  margin-top:30px;
}

.copy-btn,
.download-btn{
  min-height:46px;
  border:0;
  border-radius:28px;
  padding:13px 30px;
  color:#fff;
  font-size:21px;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}

.copy-btn{background:var(--blue)}
.download-btn{background:var(--orange)}

.copy-btn img.copy-icon{
  width:20px;
  height:20px;
  object-fit:contain;
  flex:0 0 auto;
}

.small-phone{
  font-size:18px;
  font-weight:700;
  margin-top:24px;
}

.modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  z-index:50;
}

.modal.show{display:flex}

.modal-card{
  width:min(680px,96vw);
  max-height:82vh;
  overflow:auto;
  background:rgba(255,255,244,.95);
  border:1.7px solid var(--yellow);
  border-radius:26px;
  padding:42px 22px 22px;
  text-align:right;
  line-height:2;
  color:var(--olive);
  font-size:18px;
  position:relative;
}

.modal-close{
  position:absolute;
  top:12px;
  left:14px;
  width:34px;
  height:34px;
  border:0;
  background:var(--olive2);
  color:#fff;
  border-radius:50%;
  padding:0;
  cursor:pointer;
  font-size:28px;
  line-height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:400;
}

.loader{
  position:fixed;
  inset:0;
  background:rgba(255,245,205,.45);
  backdrop-filter:blur(8px);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:60;
  font-weight:700;
  font-size:22px;
}

.loader.show{display:flex}

.honeypot{
  position:absolute;
  right:-9999px;
  opacity:0;
}

.ltr{direction:ltr}

.admin{
  background:#f6f4df;
  min-height:100vh;
  padding:24px;
}

.admin .panel{
  max-width:1150px;
  margin:auto;
  background:#fff;
  border-radius:18px;
  padding:18px;
  border:1px solid #e5df9b;
}

.admin input,
.admin select,
.admin textarea{
  width:100%;
  border:1px solid #ddd;
  border-radius:10px;
  padding:10px;
}

.admin button,
.admin .btn{
  background:#686323;
  color:#fff;
  border:0;
  border-radius:10px;
  padding:10px 14px;
  text-decoration:none;
  display:inline-block;
}

.admin table{
  width:100%;
  border-collapse:collapse;
  margin-top:14px;
}

.admin th,
.admin td{
  border-bottom:1px solid #eee;
  padding:9px;
  text-align:right;
}

.admin nav{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:12px 0 18px;
}

.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.card-admin{
  background:#faf9ee;
  border:1px solid #ece7b8;
  border-radius:14px;
  padding:14px;
}

@media(max-width:760px){
  .wrap{
    padding:46px 7% 68px;
  }

  .register-wrap{
    padding-top:58px;
  }

  .forgot-wrap{
    padding-top:70px;
  }

  .hero-banner{
    min-height:164px;
    margin-bottom:16px;
  }

  .hero-banner img{
    max-width:86%;
  }

  .recover-banner,
  .success-banner{
    min-height:142px;
    margin-bottom:20px;
  }

  .brand-kicker{
    font-size:19px;
  }

  .fallback-title{
    font-size:43px;
  }

  .fallback-sub{
    font-size:24px;
  }

  .forgot-title{
    font-size:17px;
    margin-bottom:40px;
  }

  .syllabus-btn{
    font-size:15px;
    padding:4px 16px;
    margin-bottom:12px;
  }

  .field,
  .price-trigger,
  .phone-row{
    height:54px;
    border-radius:27px;
  }

  .field,
  .price-trigger{
    padding:0 19px;
  }

  .field img,
  .field-icon,
  .phone-input img{
    width:24px;
    height:24px;
  }

  .select-label,
  .field input,
  .phone-input input{
    font-size:17px;
  }

  .arrow-icon{
    width:17px;
    height:17px;
  }

  .phone-row{padding:0}

  .phone-row .send{
    min-width:128px;
    height:42px;
    font-size:14px;
    margin-left:8px;
    margin-right:0;
  }

  .phone-input{
    gap:11px;
    padding:0 19px;
  }

  .phone-input input{height:52px}

  .price-option{
    font-size:15px;
    padding:10px 13px;
  }

  .price-option b{font-size:14px}

  .otp-help{
    font-size:16px;
    margin:10px 0 16px;
  }

  .otp-boxes{gap:12px}

  .otp-boxes input{
    width:64px;
    height:70px;
    border-radius:19px;
    font-size:27px;
  }

  .price{
    font-size:22px;
    margin:24px 0 16px;
    min-height:30px;
  }

  .pay-btn{
    min-width:0;
    width:78%;
    height:54px;
    border-radius:27px;
    font-size:20px;
    gap:11px;
  }

  .pay-tick{
    width:28px;
    height:28px;
  }

  .pay-btn .tick{
    width:28px;
    height:28px;
    font-size:17px;
  }

  .recover-link{
    font-size:17px;
    padding:6px 18px;
    margin-top:22px;
    width:78%;
    min-height:54px;
    border-radius:27px;
  }

  .forgot-wrap .field,
  .forgot-wrap .recover-btn,
  .forgot-wrap .alert{
    width:78%;
    max-width:100%;
  }

  .alert{
    font-size:13px;
    padding:6px 10px;
    margin-top:7px;
    margin-bottom:7px;
  }

  .success-badge{font-size:21px}

  .note-card{
    font-size:19px;
    padding:30px 21px;
  }

  .license-card{
    min-height:88px;
    max-height:128px;
    padding:20px 52px 20px 18px;
    font-size:13.5px;
    line-height:1.55;
    border-radius:18px;
  }

  .license-card .license-icon,
  .license-card > img{
    right:15px;
    width:22px;
    height:22px;
  }

  .action-row{flex-direction:column}

  .copy-btn,
  .download-btn{
    min-height:44px;
    font-size:16px;
    padding:10px 22px;
    border-radius:23px;
  }

  .copy-btn img.copy-icon{
    width:18px;
    height:18px;
  }

  .modal-card{font-size:16px}

  .grid{grid-template-columns:1fr}
}

@media(max-width:430px){
  .wrap{
    padding-left:6.5%;
    padding-right:6.5%;
  }

  .hero-banner{min-height:148px}

  .syllabus-btn{
    font-size:14px;
    padding:4px 14px;
    margin-bottom:10px;
  }

  .field,
  .price-trigger,
  .phone-row{
    height:52px;
    border-radius:26px;
  }

  .select-label,
  .field input,
  .phone-input input{
    font-size:16px;
  }

  .field img,
  .field-icon,
  .phone-input img{
    width:23px;
    height:23px;
  }

  .arrow-icon{
    width:16px;
    height:16px;
  }

  .phone-row .send{
    min-width:124px;
    height:40px;
    font-size:13px;
  }

  .otp-boxes input{
    width:58px;
    height:64px;
  }

  .pay-btn{
    height:52px;
    border-radius:26px;
    font-size:19px;
  }

  .pay-tick{
    width:26px;
    height:26px;
  }

  .recover-link{
    font-size:14px;
    min-height:52px;
    border-radius:26px;
  }

  .forgot-wrap .field,
  .forgot-wrap .recover-btn,
  .forgot-wrap .alert{
    width:78%;
    max-width:100%;
  }
}

/* v16: responsive price radio selector */
@media(max-width:760px){
  .price-radio-box{
    min-height:54px;
    border-radius:27px;
    margin:16px 0;
  }

  .price-radio-head{
    min-height:54px;
    padding:0 19px;
  }

  .price-wallet-icon{
    right:19px;
    width:24px;
    height:24px;
  }

  .price-radio-title{
    max-width:calc(100% - 54px);
    font-size:17px;
  }

  .price-radio-options{
    padding:0 45px 16px 45px;
  }

  .price-radio-option{
    grid-template-columns:30px minmax(86px,1fr) minmax(106px,1fr);
    gap:8px;
    padding:4px 0;
  }

  .radio-dot{
    width:20px;
    height:20px;
  }

  .price-radio-name{
    font-size:18px;
  }

  .price-radio-amount{
    font-size:17px;
  }
}

@media(max-width:430px){
  .price-radio-box{
    min-height:52px;
    border-radius:26px;
  }

  .price-radio-head{
    min-height:52px;
  }

  .price-wallet-icon{
    width:23px;
    height:23px;
  }

  .price-radio-title{
    font-size:16px;
  }

  .price-radio-options{
    padding:0 34px 15px 34px;
  }

  .price-radio-option{
    grid-template-columns:28px minmax(78px,1fr) minmax(96px,1fr);
    gap:7px;
  }

  .radio-dot{
    width:19px;
    height:19px;
  }

  .price-radio-name{
    font-size:17px;
  }

  .price-radio-amount{
    font-size:16px;
  }
}

/* v17: OTP spacing fix */
.otp-area.show{
  display:block;
  margin:14px 0 30px;
}

.otp-boxes{
  margin-bottom:8px;
}

@media(max-width:760px){
  .otp-area.show{
    margin:12px 0 28px;
  }
}

@media(max-width:430px){
  .otp-area.show{
    margin:10px 0 26px;
  }
}


/* v19: OTP spacing fix */
.otp-area.show{
  display:block;
  margin:12px 0 28px;
}

.otp-boxes{
  margin-bottom:18px;
}

@media(max-width:760px){
  .otp-area.show{
    margin:10px 0 26px;
  }
  .otp-boxes{
    margin-bottom:16px;
  }
}

@media(max-width:430px){
  .otp-area.show{
    margin:8px 0 24px;
  }
}

/* v23: green-blue background palette + red active payment button */
:root{
  --olive:#064d63;
  --olive2:rgba(4,76,88,.88);
  --cream:rgba(245,255,238,.88);
  --yellow:#bce94a;
  --green:#8ed94f;
  --blue:#0b72a8;
  --orange:#e07a34;
  --txt:#064d63;
  --darkField:rgba(4,76,88,.84);
  --focusField:rgba(247,255,240,.92);
  --red:#e94338;
  --redDark:#c72f29;
  --teal:#087f86;
  --tealDark:#055f6f;
}

.page{
  background:#087f86 url('../images/bg.jpg') center/cover no-repeat;
}

.forgot-title,
.syllabus-btn,
.recover-link{
  color:#064d63;
  background:rgba(245,255,238,.18);
}

.syllabus-btn,
.recover-link{
  border-color:rgba(6,77,99,.72);
}

.field,
.price-trigger,
.price-radio-box,
.phone-row{
  background:rgba(4,76,88,.84);
  color:#f6fff1;
}

.field:focus-within,
.phone-row:focus-within,
.price-dropdown.open .price-trigger,
.price-trigger:focus{
  background:rgba(247,255,240,.92);
  border-color:rgba(188,233,74,.82);
  color:#064d63;
  box-shadow:0 8px 18px rgba(142,217,79,.22);
}

.field input::placeholder,
.phone-input input::placeholder{
  color:rgba(246,255,241,.64);
}

.field:focus-within input::placeholder,
.phone-row:focus-within input::placeholder{
  color:rgba(6,77,99,.68);
}

.price-radio-box.open,
.price-radio-box:focus-within{
  background:rgba(4,76,88,.88);
  color:#f6fff1;
}

.price-radio-option{
  color:#f6fff1;
}

.radio-dot{
  background:rgba(246,255,241,.84);
  border-color:rgba(246,255,241,.92);
}

.price-radio-option.active .radio-dot{
  background:#fff;
  box-shadow:inset 0 0 0 5px var(--red);
}

.phone-row .send{
  background:#8ed94f;
  color:#fff;
  box-shadow:0 8px 16px rgba(95,170,52,.22);
}

.phone-row .send.wait{
  background:#087f86;
  color:#f6fff1;
  box-shadow:none;
}

.phone-row:focus-within .phone-input input,
.phone-row:focus-within .phone-input input:not(:placeholder-shown),
.phone-row:focus-within .phone-input input:-webkit-autofill,
.field:focus-within input:-webkit-autofill{
  color:#064d63;
  -webkit-text-fill-color:#064d63;
}

.otp-help{
  color:#064d63;
}

.otp-boxes input{
  background:rgba(4,76,88,.84);
  color:#fff;
  box-shadow:0 8px 18px rgba(4,76,88,.16);
}

.otp-boxes input:focus{
  background:rgba(247,255,240,.94);
  color:#064d63;
  border:1.5px solid rgba(188,233,74,.82);
}

.pay-btn{
  background:var(--red);
  box-shadow:0 10px 22px rgba(233,67,56,.30);
}

.pay-btn:hover{
  background:var(--redDark);
  box-shadow:0 12px 26px rgba(199,47,41,.34);
}

.pay-btn.off{
  background:#a6b1af;
  box-shadow:none;
  cursor:not-allowed;
}

.alert{
  background:rgba(247,255,240,.86);
}

.alert.ok{
  color:#2c8d24;
}

.alert.err{
  color:#c72f29;
}

.success-badge{
  background:#8ed94f;
  box-shadow:0 8px 18px rgba(95,170,52,.22);
}

.note-card,
.license-card{
  background:rgba(245,255,238,.88);
  border-color:rgba(188,233,74,.72);
}

.copy-btn{
  background:#0b72a8;
}

.download-btn{
  background:#5faa34;
}

.modal-card{
  background:rgba(247,255,240,.96);
  border-color:rgba(188,233,74,.70);
  color:#064d63;
}

.modal-close{
  background:rgba(4,76,88,.88);
}

.loader{
  background:rgba(247,255,240,.45);
  color:#064d63;
}

.admin{
  background:#eef8ee;
}

.admin .panel{
  border-color:#d4e8c8;
}

.admin button,
.admin .btn{
  background:#055f6f;
}

/* v24: final color polish + OTP guidance */
:root{
  --red:#e94338;
  --redDark:#c72f29;
  --tealText:#064d63;
  --softPanel:rgba(245,255,238,.78);
}

/* لینک «اگر قبلاً ثبت‌نام کردید...» روشن و ملایم */
.recover-link{
  background:rgba(245,255,238,.30) !important;
  border:1.5px solid rgba(6,77,99,.92) !important;
  color:#064d63 !important;
  box-shadow:0 8px 18px rgba(4,76,88,.10);
}

.recover-link:hover{
  background:rgba(255,255,255,.86) !important;
}

/* متن راهنمای OTP سفید */
.otp-help{
  color:#fff !important;
  text-shadow:0 1px 8px rgba(4,76,88,.22);
}

/* کادرهای OTP هماهنگ با بک‌گراند */
.otp-boxes input{
  background:rgba(4,76,88,.86) !important;
  color:#fff !important;
  box-shadow:0 8px 18px rgba(4,76,88,.18) !important;
}

.otp-boxes input:focus{
  background:rgba(245,255,238,.95) !important;
  color:#064d63 !important;
  border:1.5px solid rgba(188,233,74,.86) !important;
  box-shadow:0 9px 20px rgba(142,217,79,.24) !important;
}

/* حالت تایمر دکمه تایید شماره همراه */
.phone-row .send.wait{
  background:rgba(245,255,238,.88) !important;
  color:#064d63 !important;
  box-shadow:0 8px 16px rgba(4,76,88,.12) !important;
}

/* انیمیشن راهنما بعد از تکمیل شماره همراه */
.phone-row .send.nudge{
  animation:sendNudge .62s ease both;
}

@keyframes sendNudge{
  0%{transform:scale(1) translateX(0)}
  25%{transform:scale(1.045) translateX(-2px)}
  50%{transform:scale(.985) translateX(2px)}
  75%{transform:scale(1.025) translateX(-1px)}
  100%{transform:scale(1) translateX(0)}
}

/* دکمه کپی لایسنس مثل دکمه تایید و پرداخت */
.copy-btn{
  background:var(--red) !important;
  box-shadow:0 10px 22px rgba(233,67,56,.30) !important;
}

.copy-btn:hover{
  background:var(--redDark) !important;
}

/* بج موفقیت: سفید با متن سبز */
.success-badge{
  background:#fff !important;
  color:#2c8d24 !important;
  font-size:18px !important;
  padding:9px 24px !important;
  box-shadow:0 8px 18px rgba(4,76,88,.12) !important;
}

/* متن کارت توضیحی زیر بج موفقیت */
.note-card{
  font-size:18px !important;
}

@media(max-width:760px){
  .success-badge{
    font-size:18px !important;
    padding:8px 22px !important;
  }

  .note-card{
    font-size:18px !important;
  }
}

@media(max-width:430px){
  .success-badge{
    font-size:17px !important;
    padding:8px 20px !important;
  }

  .note-card{
    font-size:17px !important;
  }
}

/* v27: color-only palette based on the supplied green/cream/navy/orange reference image.
   No font sizes, spacing, layout, or price selector structure changed.
   Default fields are light with dark text; focused/open fields are dark with light text. */
:root{
  --olive:#143443;
  --olive2:rgba(20,52,67,.88);
  --cream:rgba(238,242,220,.88);
  --yellow:#dca03a;
  --green:#8bd246;
  --blue:#143443;
  --orange:#dd9d31;
  --txt:#143443;
  --darkField:#526f5c;
  --focusField:rgba(238,242,220,.94);
  --red:#dd9d31;
  --redDark:#c98220;
  --teal:#526f5c;
  --tealDark:#143443;
  --tealText:#143443;
  --softPanel:rgba(238,242,220,.78);
}

/* صفحه و پس‌زمینه */
.page{
  background:#bfd18b url('../images/bg.jpg') center/cover no-repeat !important;
  color:#143443;
}

/* تیترها و دکمه سرفصل */
.brand-kicker,
.forgot-title,
.syllabus-btn,
.recover-link,
.small-phone,
.price,
.otp-help{
  color:#143443 !important;
}

.forgot-title,
.syllabus-btn{
  background:rgba(238,242,220,.20) !important;
  border-color:rgba(20,52,67,.82) !important;
}

/* فیلدهای اصلی و انتخاب قیمت؛ حالت عادی روشن با نوشته تیره */
.field,
.price-trigger,
.price-radio-box,
.phone-row{
  background:rgba(238,242,220,.92) !important;
  color:#143443 !important;
  border-color:rgba(20,52,67,.58) !important;
}

/* حالت باز/فوکوس انتخاب قیمت؛ تیره با نوشته روشن */
.price-radio-box.open,
.price-radio-box:focus-within{
  background:#526f5c !important;
  color:#ffffff !important;
}

/* حالت فوکوس فیلدها؛ تیره با نوشته روشن */
.field:focus-within,
.phone-row:focus-within,
.price-dropdown.open .price-trigger,
.price-trigger:focus{
  background:#526f5c !important;
  border-color:rgba(20,52,67,.78) !important;
  color:#ffffff !important;
  box-shadow:0 8px 18px rgba(20,52,67,.12) !important;
}

/* متن placeholder در حالت عادی و فوکوس */
.field input::placeholder,
.phone-input input::placeholder{
  color:rgba(20,52,67,.58) !important;
}

.field:focus-within input::placeholder,
.phone-row:focus-within input::placeholder{
  color:rgba(255,255,255,.62) !important;
}

/* گزینه‌های قیمت: عادی تیره، هنگام باز شدن سفید */
.price-radio-option{
  color:#143443 !important;
}

.price-radio-box.open .price-radio-option,
.price-radio-box:focus-within .price-radio-option{
  color:#ffffff !important;
}

.radio-dot{
  background:rgba(20,52,67,.12) !important;
  border-color:rgba(20,52,67,.35) !important;
}

.price-radio-box.open .radio-dot,
.price-radio-box:focus-within .radio-dot{
  background:rgba(255,255,255,.78) !important;
  border-color:rgba(255,255,255,.88) !important;
}

.price-radio-option.active .radio-dot{
  background:#ffffff !important;
  box-shadow:inset 0 0 0 5px #8bd246 !important;
}

/* ورودی‌ها */
.field input,
.phone-input input{
  color:#143443 !important;
}

.field:focus-within input,
.phone-row:focus-within .phone-input input,
.phone-row:focus-within .phone-input input:not(:placeholder-shown){
  color:#ffffff !important;
}

.phone-input input:not(:placeholder-shown){
  color:#143443 !important;
}

.phone-input input:-webkit-autofill,
.field input:-webkit-autofill{
  -webkit-text-fill-color:#143443 !important;
  transition:background-color 9999s ease-in-out 0s;
}

.phone-row:focus-within .phone-input input:-webkit-autofill,
.field:focus-within input:-webkit-autofill{
  -webkit-text-fill-color:#ffffff !important;
}

/* آیکون‌های داخل فیلدها در حالت عادی و فوکوس */
.field img,
.field-icon,
.phone-input img,
.price-wallet-icon{
  opacity:.48;
}

.field:focus-within img,
.field:focus-within .field-icon,
.phone-row:focus-within .phone-input img,
.price-radio-box.open .price-wallet-icon,
.price-radio-box:focus-within .price-wallet-icon{
  opacity:.82;
}

/* دکمه تایید شماره همراه */
.phone-row .send{
  background:#8bd246 !important;
  color:#ffffff !important;
  box-shadow:0 8px 16px rgba(91,165,46,.22) !important;
}

.phone-row .send:hover{
  background:#76bf37 !important;
}

.phone-row .send.wait{
  background:rgba(238,242,220,.92) !important;
  color:#143443 !important;
  box-shadow:0 8px 16px rgba(20,52,67,.10) !important;
}

/* OTP */
.otp-help{
  color:#143443 !important;
  text-shadow:none !important;
}

.otp-boxes input{
  background:rgba(238,242,220,.92) !important;
  color:#143443 !important;
  box-shadow:none !important;
}

.otp-boxes input:focus{
  background:#526f5c !important;
  color:#ffffff !important;
  border:1.5px solid rgba(20,52,67,.62) !important;
  box-shadow:0 8px 20px rgba(20,52,67,.12) !important;
}

/* دکمه تایید و پرداخت، کپی لایسنس، دکمه بازیابی */
.pay-btn,
.copy-btn,
.recover-btn{
  background:#dd9d31 !important;
  color:#ffffff !important;
  box-shadow:0 10px 22px rgba(201,130,32,.30) !important;
}

.pay-btn:hover,
.copy-btn:hover,
.recover-btn:hover{
  background:#c98220 !important;
}

.pay-btn.off{
  background:#a6a6a6 !important;
  box-shadow:none !important;
  cursor:not-allowed !important;
}

/* لینک بازیابی ثبت‌نام قبلی */
.recover-link{
  background:rgba(238,242,220,.25) !important;
  border:1.7px solid #143443 !important;
  color:#143443 !important;
  box-shadow:none !important;
}

.recover-link:hover{
  background:rgba(238,242,220,.52) !important;
}

/* پیام‌ها و کارت‌ها */
.alert{
  background:rgba(238,242,220,.86) !important;
}

.alert.ok{
  color:#2c8d24 !important;
}

.alert.err{
  color:#b42318 !important;
}

.success-badge{
  background:#ffffff !important;
  color:#2c8d24 !important;
  box-shadow:0 8px 18px rgba(20,52,67,.12) !important;
}

.note-card,
.license-card{
  background:rgba(238,242,220,.88) !important;
  border-color:rgba(20,52,67,.32) !important;
  color:#143443 !important;
}

.download-btn{
  background:#5ba52e !important;
}

/* پاپ‌آپ و لودر */
.modal{
  background:rgba(20,52,67,.34) !important;
}

.modal-card{
  background:rgba(238,242,220,.88) !important;
  border-color:rgba(20,52,67,.34) !important;
  color:#143443 !important;
  box-shadow:0 18px 42px rgba(20,52,67,.18) !important;
}

.modal-close{
  background:#143443 !important;
  color:#ffffff !important;
}

.loader{
  background:rgba(238,242,220,.42) !important;
  color:#143443 !important;
}

/* مدیریت */
.admin{
  background:#eef4dc !important;
  color:#143443 !important;
}

.admin .panel{
  border-color:rgba(20,52,67,.18) !important;
}

.admin button,
.admin .btn{
  background:#143443 !important;
  color:#ffffff !important;
}

.card-admin{
  background:#f7f9ec !important;
  border-color:rgba(20,52,67,.16) !important;
}

/* v28: force phone input text to white while focused */
.phone-row:focus-within .phone-input input,
.phone-row:focus-within .phone-input input:focus,
.phone-row:focus-within .phone-input input:not(:placeholder-shown),
.phone-row:focus-within .phone-input input:focus:not(:placeholder-shown){
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  caret-color:#fff !important;
}

.phone-row:focus-within .phone-input input::placeholder{
  color:rgba(255,255,255,.72) !important;
  -webkit-text-fill-color:rgba(255,255,255,.72) !important;
}

.phone-row:focus-within .phone-input input:-webkit-autofill,
.phone-row:focus-within .phone-input input:-webkit-autofill:hover,
.phone-row:focus-within .phone-input input:-webkit-autofill:focus{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  caret-color:#fff !important;
}

/* v32: repeated orbital atmosphere across the full page */
.page.register-page{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:
    radial-gradient(circle at 9% 7%,rgba(255,239,183,.18),transparent 31%),
    radial-gradient(circle at 87% 82%,rgba(0,118,103,.14),transparent 38%),
    #bfd18b url('../images/bg.jpg') center/cover no-repeat !important;
}

.page.register-page::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 50% 16%,rgba(255,255,255,.13),transparent 34%),
    linear-gradient(to bottom,rgba(255,255,255,.025),rgba(20,52,67,.075));
}

.register-page .wrap{
  z-index:2;
}

.ai-orbits{
  position:absolute;
  inset:0;
  z-index:1;
  overflow:hidden;
  pointer-events:none;
}

.ai-orbit{
  position:absolute;
  border-radius:50%;
  border:1px solid var(--ring);
  opacity:var(--opacity,.48);
  box-shadow:0 0 28px var(--halo),inset 0 0 28px var(--inner);
  will-change:transform;
  animation:orbitalDrift var(--time) linear var(--delay,0s) infinite;
}

.ai-orbit::before{
  content:"";
  position:absolute;
  top:7.5%;
  left:26%;
  width:var(--node-size,6px);
  height:var(--node-size,6px);
  border-radius:50%;
  background:var(--node);
  box-shadow:0 0 6px 2px var(--node),0 0 22px 7px var(--node-glow);
  animation:orbitalNodePulse 5.8s ease-in-out var(--delay,0s) infinite;
}

.ai-orbit::after{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:50%;
  border-top:2px solid var(--arc);
  border-right:1px solid transparent;
  border-bottom:1px solid transparent;
  border-left:1px solid transparent;
  opacity:.42;
  filter:blur(.25px);
}

.orbit-sun{
  width:560px;
  height:560px;
  top:-365px;
  left:-330px;
  --ring:rgba(255,246,207,.52);
  --arc:rgba(255,248,218,.86);
  --halo:rgba(255,220,124,.16);
  --inner:rgba(255,242,190,.09);
  --node:#fff4c2;
  --node-glow:rgba(255,220,121,.44);
  --node-size:7px;
  --mx:11px;
  --my:8px;
  --time:34s;
  --delay:-9s;
  --opacity:.64;
}

.orbit-mint{
  width:980px;
  height:980px;
  top:210px;
  left:-790px;
  --ring:rgba(233,246,208,.34);
  --arc:rgba(242,250,219,.68);
  --halo:rgba(200,235,181,.11);
  --inner:rgba(224,244,205,.06);
  --node:#eaf7d4;
  --node-glow:rgba(217,245,191,.34);
  --node-size:6px;
  --mx:15px;
  --my:-10px;
  --time:48s;
  --delay:-21s;
  --opacity:.47;
}

.orbit-lime{
  width:650px;
  height:650px;
  top:31%;
  right:-390px;
  --ring:rgba(233,247,211,.36);
  --arc:rgba(247,252,226,.72);
  --halo:rgba(203,235,179,.12);
  --inner:rgba(234,247,215,.07);
  --node:#eff9dc;
  --node-glow:rgba(220,246,195,.38);
  --node-size:6px;
  --mx:-12px;
  --my:14px;
  --time:44s;
  --delay:-27s;
  --opacity:.41;
  animation-direction:reverse;
}

.orbit-lime::before{
  top:44%;
  left:2.5%;
}

.orbit-lime::after{
  transform:rotate(-68deg);
}

.orbit-lower{
  width:790px;
  height:790px;
  top:62%;
  left:-605px;
  --ring:rgba(183,238,219,.34);
  --arc:rgba(210,249,235,.70);
  --halo:rgba(87,207,177,.11);
  --inner:rgba(153,231,210,.065);
  --node:#d0f6e9;
  --node-glow:rgba(115,226,198,.38);
  --node-size:6px;
  --mx:16px;
  --my:-13px;
  --time:52s;
  --delay:-31s;
  --opacity:.43;
}

.orbit-lower::before{
  top:43%;
  left:auto;
  right:2%;
}

.orbit-lower::after{
  transform:rotate(72deg);
}

.orbit-teal{
  width:700px;
  height:700px;
  right:-460px;
  bottom:-300px;
  --ring:rgba(171,239,224,.31);
  --arc:rgba(190,250,236,.68);
  --halo:rgba(80,217,193,.12);
  --inner:rgba(112,228,205,.07);
  --node:#bff5e8;
  --node-glow:rgba(112,232,207,.40);
  --node-size:6px;
  --mx:-13px;
  --my:-11px;
  --time:41s;
  --delay:-16s;
  --opacity:.54;
  animation-direction:reverse;
}

.orbital-glow{
  position:absolute;
  display:block;
  border-radius:50%;
  filter:blur(28px);
  opacity:.22;
  will-change:transform,opacity;
  animation:orbitalGlow var(--glow-time) ease-in-out var(--glow-delay,0s) infinite;
}

.glow-warm{
  width:330px;
  height:330px;
  top:-135px;
  left:-110px;
  background:radial-gradient(circle,rgba(255,239,176,.62),rgba(255,218,112,.14) 46%,transparent 72%);
  --glow-x:18px;
  --glow-y:13px;
  --glow-time:13s;
  --glow-delay:-4s;
}

.glow-cool{
  width:390px;
  height:390px;
  right:-170px;
  bottom:-90px;
  background:radial-gradient(circle,rgba(117,239,216,.38),rgba(30,177,155,.10) 50%,transparent 73%);
  --glow-x:-20px;
  --glow-y:-14px;
  --glow-time:17s;
  --glow-delay:-8s;
}

.glow-middle{
  width:280px;
  height:280px;
  top:39%;
  right:-115px;
  background:radial-gradient(circle,rgba(230,247,203,.32),rgba(163,222,146,.09) 52%,transparent 74%);
  --glow-x:-15px;
  --glow-y:18px;
  --glow-time:18s;
  --glow-delay:-11s;
}

.glow-lower{
  width:340px;
  height:340px;
  top:70%;
  left:-145px;
  background:radial-gradient(circle,rgba(164,238,217,.31),rgba(52,188,158,.085) 51%,transparent 74%);
  --glow-x:19px;
  --glow-y:-16px;
  --glow-time:21s;
  --glow-delay:-14s;
}

@keyframes orbitalDrift{
  0%{transform:translate3d(0,0,0) rotate(0deg)}
  50%{transform:translate3d(var(--mx),var(--my),0) rotate(180deg)}
  100%{transform:translate3d(0,0,0) rotate(360deg)}
}

@keyframes orbitalNodePulse{
  0%,100%{opacity:.32;transform:scale(.72)}
  46%{opacity:1;transform:scale(1.14)}
  64%{opacity:.54;transform:scale(.88)}
}

@keyframes orbitalGlow{
  0%,100%{transform:translate3d(0,0,0) scale(.94);opacity:.15}
  50%{transform:translate3d(var(--glow-x),var(--glow-y),0) scale(1.08);opacity:.31}
}

/* دکمه تایید شماره همراه با سبز واضح‌تر */
.phone-row .send{
  background:linear-gradient(135deg,#59c83f,#2d9d31) !important;
  box-shadow:0 9px 19px rgba(45,157,49,.34) !important;
  text-shadow:0 1px 2px rgba(20,52,67,.18);
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}

.phone-row .send:hover:not(:disabled){
  background:linear-gradient(135deg,#4ebd37,#258a2b) !important;
  box-shadow:0 11px 23px rgba(37,138,43,.38) !important;
  transform:translateY(-1px);
}

.phone-row .send:active:not(:disabled){
  transform:translateY(0) scale(.985);
}

.phone-row .send.wait{
  text-shadow:none;
}

/* دکمه خاموش قابل کلیک است تا کاربر به اولین مورد ناقص هدایت شود. */
.pay-btn.off{
  cursor:pointer !important;
  opacity:.82;
}

.validation-attention{
  animation:validationAttention .72s ease both !important;
}

@keyframes validationAttention{
  0%,100%{transform:translateX(0);box-shadow:0 0 0 0 rgba(221,157,49,0)}
  20%{transform:translateX(-7px)}
  40%{transform:translateX(6px);box-shadow:0 0 0 5px rgba(221,157,49,.28)}
  60%{transform:translateX(-4px)}
  80%{transform:translateX(2px)}
}

@media(max-width:760px){
  .ai-orbit{
    box-shadow:0 0 20px var(--halo),inset 0 0 20px var(--inner);
  }

  .orbital-glow{
    filter:blur(23px);
  }
}

@media(min-width:761px){
  .orbit-sun{
    width:820px;
    height:820px;
    top:-540px;
    left:-450px;
  }

  .orbit-mint{
    width:1350px;
    height:1350px;
    top:60px;
    left:-970px;
  }

  .orbit-lime{
    width:900px;
    height:900px;
    top:30%;
    right:-555px;
  }

  .orbit-lower{
    width:1080px;
    height:1080px;
    top:58%;
    left:-805px;
  }

  .orbit-teal{
    width:960px;
    height:960px;
    right:-590px;
    bottom:-420px;
  }

  .glow-warm{
    width:440px;
    height:440px;
    top:-190px;
    left:-120px;
  }

  .glow-cool{
    width:520px;
    height:520px;
    right:-180px;
    bottom:-120px;
  }

  .glow-middle{
    width:390px;
    height:390px;
    top:40%;
    right:-145px;
  }

  .glow-lower{
    width:450px;
    height:450px;
    top:70%;
    left:-175px;
  }
}

@media(prefers-reduced-motion:reduce){
  .ai-orbit,
  .ai-orbit::before,
  .orbital-glow,
  .validation-attention,
  .phone-row .send.nudge{
    animation:none !important;
  }

  html{
    scroll-behavior:auto;
  }
}

/* v35: image-free static white and green background */
.page.register-page{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:linear-gradient(135deg,#fbfffb 0%,#eaf8ec 27%,#ccebd2 58%,#f7fff7 82%,#d8f1dd 100%) !important;
  background-size:220% 220% !important;
  background-position:50% 50% !important;
}

.page.register-page::before{
  content:"";
  position:absolute;
  inset:-12%;
  z-index:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 14% 12%,rgba(255,255,255,.96) 0 8%,transparent 29%),
    radial-gradient(circle at 88% 25%,rgba(74,174,94,.27) 0 7%,transparent 31%),
    radial-gradient(circle at 18% 62%,rgba(125,205,137,.23) 0 8%,transparent 32%),
    radial-gradient(circle at 84% 88%,rgba(255,255,255,.82) 0 9%,transparent 31%);
  background-size:115% 115%;
  background-position:center;
}

.page.register-page::after{
  content:"";
  position:absolute;
  inset:-8%;
  z-index:0;
  pointer-events:none;
  opacity:.62;
  background:
    repeating-radial-gradient(circle at -5% 20%,transparent 0 82px,rgba(42,139,64,.055) 83px,transparent 86px),
    repeating-radial-gradient(circle at 108% 74%,transparent 0 106px,rgba(255,255,255,.34) 107px,transparent 111px);
}

.register-page .wrap{
  z-index:3;
}

.green-motion{
  position:absolute;
  inset:0;
  z-index:1;
  overflow:hidden;
  pointer-events:none;
}

.green-blob{
  position:absolute;
  display:block;
  border-radius:46% 54% 58% 42% / 52% 42% 58% 48%;
  filter:blur(12px);
  opacity:.72;
}

.blob-one{
  width:440px;
  height:440px;
  top:-185px;
  left:-170px;
  background:radial-gradient(circle at 62% 60%,rgba(255,255,255,.92),rgba(127,207,139,.34) 46%,transparent 73%);
}

.blob-two{
  width:520px;
  height:520px;
  top:17%;
  right:-225px;
  background:radial-gradient(circle at 34% 48%,rgba(90,187,107,.32),rgba(220,244,224,.50) 45%,transparent 72%);
}

.blob-three{
  width:500px;
  height:500px;
  top:42%;
  left:-240px;
  background:radial-gradient(circle at 67% 42%,rgba(255,255,255,.78),rgba(101,193,117,.27) 48%,transparent 73%);
}

.blob-four{
  width:480px;
  height:480px;
  top:64%;
  right:-205px;
  background:radial-gradient(circle at 32% 52%,rgba(76,177,95,.29),rgba(232,249,234,.62) 47%,transparent 74%);
}

.blob-five{
  width:430px;
  height:430px;
  bottom:-190px;
  left:-125px;
  background:radial-gradient(circle at 60% 32%,rgba(255,255,255,.88),rgba(105,197,120,.29) 48%,transparent 73%);
}

.green-ring{
  position:absolute;
  display:block;
  border-radius:50%;
  border:1px solid rgba(45,139,65,.18);
  box-shadow:0 0 24px rgba(83,178,101,.10),inset 0 0 24px rgba(255,255,255,.20);
  opacity:.72;
}

.green-ring::before{
  content:"";
  position:absolute;
  top:8%;
  left:27%;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#fafffa;
  box-shadow:0 0 7px 2px rgba(255,255,255,.92),0 0 21px 8px rgba(69,168,88,.32);
}

.green-ring::after{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:50%;
  border-top:2px solid rgba(255,255,255,.68);
  border-right:1px solid transparent;
  border-bottom:1px solid transparent;
  border-left:1px solid transparent;
  opacity:.68;
}

.ring-one{
  width:460px;
  height:460px;
  top:-245px;
  left:-225px;
}

.ring-two{
  width:590px;
  height:590px;
  top:25%;
  right:-370px;
}

.ring-two::before{
  top:45%;
  left:1.5%;
}

.ring-three{
  width:660px;
  height:660px;
  top:54%;
  left:-455px;
}

.ring-three::before{
  top:44%;
  left:auto;
  right:1.5%;
}

.ring-four{
  width:500px;
  height:500px;
  right:-285px;
  bottom:-240px;
}

.ring-four::before{
  top:28%;
  left:4%;
}

@media(max-width:760px){
  .green-blob{
    filter:blur(9px);
    opacity:.66;
  }

  .page.register-page::after{
    opacity:.48;
  }
}

@media(min-width:761px){
  .blob-one{width:620px;height:620px;top:-275px;left:-210px}
  .blob-two{width:700px;height:700px;right:-250px}
  .blob-three{width:680px;height:680px;left:-290px}
  .blob-four{width:650px;height:650px;right:-240px}
  .blob-five{width:590px;height:590px;bottom:-260px;left:-160px}
  .ring-one{width:650px;height:650px;top:-350px;left:-280px}
  .ring-two{width:820px;height:820px;right:-495px}
  .ring-three{width:900px;height:900px;left:-610px}
  .ring-four{width:700px;height:700px;right:-385px;bottom:-330px}
}

/* v34: subtle 1px border for input fields while they are not focused */
.register-page .field:not(:focus-within),
.register-page .phone-row:not(:focus-within){
  border:1px solid rgba(20,52,67,.24) !important;
}

.register-page .otp-boxes input:not(:focus){
  border:1px solid rgba(20,52,67,.24) !important;
}

/* v36: OTP verification feedback */
.register-page .otp-boxes.otp-success input,
.register-page .otp-boxes.otp-success input:focus{
  background:#dff4e4 !important;
  color:#236b38 !important;
  border:1px solid #83c792 !important;
  box-shadow:0 7px 17px rgba(65,145,83,.16) !important;
}

.register-page .otp-boxes.otp-error input,
.register-page .otp-boxes.otp-error input:focus{
  background:#f8dddd !important;
  color:#9b3434 !important;
  border:1px solid #dd8c8c !important;
  box-shadow:0 7px 17px rgba(183,69,69,.14) !important;
}

.register-page .otp-boxes.otp-success input{
  cursor:default;
}
