/* File: public_html/assets/css/pages/customer/signup.css */
.svx-csu{
  padding: 28px 14px;
}

.svx-csu__wrap{
  max-width: 980px;
  margin: 0 auto;
}

.svx-csu__hero{
  text-align: center;
  margin-bottom: 16px;
}

.svx-csu__title{
  margin: 0 0 8px 0;
  font-size: 28px;
  line-height: 1.25;
  color: var(--ink, #0f2233);
}

.svx-csu__sub{
  margin: 0 auto;
  max-width: 760px;
  color: var(--muted, #6b7280);
  line-height: 1.7;
  font-size: 15px;
}

.svx-csu__card{
  background: #fff;
  border: 1px solid rgba(15,34,51,0.08);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(2,31,50,0.10);
  padding: 18px;
}

.svx-csu__form{ display: block; }

.svx-csu__row{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.svx-csu__row--two{ grid-template-columns: 1fr 1fr; }
.svx-csu__row--phone{ grid-template-columns: 240px 1fr; }
.svx-csu__row--pass{ grid-template-columns: 1fr 1fr; }

@media (max-width: 820px){
  .svx-csu__row--two,
  .svx-csu__row--phone,
  .svx-csu__row--pass{ grid-template-columns: 1fr; }
  .svx-csu__title{ font-size: 24px; }
}

.svx-csu__label{
  display: block;
  font-size: 13px;
  margin: 0 0 6px 0;
  color: var(--ink, #0f2233);
}

.svx-csu__input,
.svx-csu__select{
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(15,34,51,0.16);
  background: #fff;
  padding: 10px 12px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  color: var(--ink, #0f2233);
}

.svx-csu__select{ padding-inline-start: 10px; }

.svx-csu__input:focus,
.svx-csu__select:focus{
  border-color: rgba(11,92,171,0.55);
  box-shadow: 0 0 0 4px rgba(11,92,171,0.10);
}

.svx-csu__input.is-error,
.svx-csu__select.is-error{
  border-color: rgba(122,22,32,0.65);
  box-shadow: 0 0 0 4px rgba(122,22,32,0.10);
}

.svx-csu__hint{
  min-height: 18px;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(122,22,32,0.95);
}

.svx-csu__email-verified{
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(22,101,52,1);
  background: rgba(232,247,238,1);
  border: 1px solid rgba(189,230,206,1);
  padding: 8px 10px;
  border-radius: 999px;
}

.svx-csu__meter{
  margin-top: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(15,34,51,0.08);
  overflow: hidden;
}

.svx-csu__meter-bar{
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: rgba(11,92,171,1);
  transition: width .18s ease;
}

.svx-csu__rules{
  margin-top: 6px;
  color: var(--muted, #6b7280);
  font-size: 12px;
}

.svx-csu__actions{
  margin-top: 14px;
  text-align: center;
}

.svx-csu__error{
  margin: 0 auto 10px auto;
  max-width: 720px;
  background: rgba(255,231,231,1);
  border: 1px solid rgba(241,180,189,1);
  color: rgba(122,22,32,1);
  border-radius: 14px;
  padding: 10px 12px;
  line-height: 1.6;
}

.svx-csu__btn{
  min-width: 240px;
  height: 46px;
  border-radius: 14px;
  border: none;
  background: rgba(11,92,171,1);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform .12s ease, opacity .12s ease, filter .12s ease;
}

.svx-csu__btn:hover{ filter: brightness(0.96); }
.svx-csu__btn:active{ transform: translateY(1px); }
.svx-csu__btn:disabled{
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}

.svx-csu__fineprint{
  margin-top: 10px;
  color: var(--muted, #6b7280);
  font-size: 12px;
  line-height: 1.6;
}

/* =========================
   OTP Modal (same UI)
   ========================= */
.svx-otp{ position: fixed; inset: 0; display: none; z-index: 9999; }
.svx-otp.is-open{ display: block; }

.svx-otp__backdrop{ position: absolute; inset: 0; background: rgba(2,31,50,0.65); }

.svx-otp__dialog{
  position: relative;
  max-width: 720px;
  margin: 70px auto;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 22px 70px rgba(2,31,50,0.30);
  border: 1px solid rgba(255,255,255,0.14);
}

@media (max-width: 820px){
  .svx-otp__dialog{ margin: 18px 10px; }
}

.svx-otp__head{
  background: #021f32;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
}

.svx-otp__brand{ display: inline-flex; align-items: center; gap: 10px; }

.svx-otp__logoWrap{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.35);
}

.svx-otp__logo{ display: block; height: 22px; width: auto; }

.svx-otp__brandText{ font-weight: 800; letter-spacing: 0.2px; font-size: 16px; }
.svx-otp__brandServex{ color: #e6f4ff; }
.svx-otp__brandHub{ color: #7dd3fc; }

.svx-otp__body{ padding: 16px 16px 12px 16px; }

.svx-otp__title{ margin: 0 0 6px 0; font-size: 18px; color: var(--ink, #0f2233); }

.svx-otp__desc{
  margin: 0 0 14px 0;
  color: var(--muted, #6b7280);
  line-height: 1.7;
  font-size: 14px;
}

.svx-otp__grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 820px){ .svx-otp__grid{ grid-template-columns: 1fr; } }

.svx-otp__label{ display: block; font-size: 13px; margin: 0 0 6px 0; color: var(--ink, #0f2233); }

.svx-otp__input{
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(15,34,51,0.16);
  background: #fff;
  padding: 10px 12px;
  outline: none;
}

.svx-otp__input:focus{
  border-color: rgba(0,94,153,0.55);
  box-shadow: 0 0 0 4px rgba(0,94,153,0.10);
}

.svx-otp__input.is-error{
  border-color: rgba(122,22,32,0.65);
  box-shadow: 0 0 0 4px rgba(122,22,32,0.10);
}

.svx-otp__code{
  width: 100%;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(15,34,51,0.16);
  background: #fff;
  padding: 10px 14px;
  outline: none;
  font-size: 18px;
  letter-spacing: 4px;
  text-align: center;
}

.svx-otp__code:focus{
  border-color: rgba(0,94,153,0.55);
  box-shadow: 0 0 0 4px rgba(0,94,153,0.10);
}

.svx-otp__code.is-error{
  border-color: rgba(122,22,32,0.65);
  box-shadow: 0 0 0 4px rgba(122,22,32,0.10);
}

.svx-otp__hint{
  min-height: 18px;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(122,22,32,0.95);
}

.svx-otp__row{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.svx-otp__btn{
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(15,34,51,0.14);
  background: #fff;
  padding: 0 14px;
  cursor: pointer;
  font-weight: 700;
  white-space: nowrap;
}

.svx-otp__btn--primary{
  background: rgba(0,94,153,1);
  color: #fff;
  border-color: rgba(0,94,153,1);
}

.svx-otp__btn--ghost{ background: rgba(15,34,51,0.04); }

.svx-otp__status{ color: var(--muted, #6b7280); font-size: 13px; line-height: 1.5; }

.svx-otp__timer{ margin-top: 8px; font-size: 12px; color: rgba(15,34,51,0.72); min-height: 18px; }

.svx-otp__sep{ height: 1px; background: rgba(15,34,51,0.08); margin: 14px 0; }

.svx-otp__footnote{ margin-top: 10px; color: var(--muted, #6b7280); font-size: 12px; line-height: 1.6; }

.svx-otp__footer{
  background: rgba(2,31,50,0.04);
  border-top: 1px solid rgba(15,34,51,0.08);
  padding: 10px 14px;
  font-size: 12px;
  color: rgba(15,34,51,0.72);
  text-align: center;
}
