/* VSM CRM PRO - Client Registration Page
   Scope: only pages containing .vsm-register-v2
   Backend/JS safe: CSS only.
*/
.login-main:has(.vsm-register-v2){
  display:block !important;
  place-items:initial !important;
  width:100% !important;
  min-height:100vh !important;
  padding:0 !important;
  overflow-x:hidden !important;
}

.vsm-register-v2{
  min-height:100vh;
  width:100%;
  background:linear-gradient(135deg,#eef6ff 0%,#f8fafc 42%,#eef2ff 100%);
  overflow-x:hidden;
}

.vsm-register-shell{
  width:min(1320px,100%);
  margin:0 auto;
  padding:28px;
  display:grid;
  grid-template-columns:minmax(340px,.82fr) minmax(0,1.18fr);
  gap:24px;
}

.vsm-register-brand-panel,
.vsm-register-card-pro{
  border-radius:28px;
  box-shadow:0 22px 60px rgba(15,23,42,.12);
}

.vsm-register-brand-panel{
  position:sticky;
  top:24px;
  align-self:start;
  min-height:calc(100vh - 56px);
  padding:36px;
  color:#fff;
  background:linear-gradient(135deg,#0f172a 0%,#1d4ed8 58%,#7c3aed 100%);
  overflow:hidden;
}

.vsm-register-brand-panel h1{
  font-size:clamp(32px,4vw,54px);
  font-weight:900;
  line-height:1.05;
  letter-spacing:-.04em;
  margin:18px 0;
}

.vsm-register-brand-panel p{
  color:#dbeafe;
  font-size:16px;
  line-height:1.7;
}

.vsm-register-steps{
  margin-top:26px;
  display:grid;
  gap:12px;
}

.vsm-register-steps div{
  display:flex;
  align-items:center;
  gap:12px;
  padding:13px 14px;
  border-radius:16px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
}

.vsm-register-steps strong{
  width:42px;
  height:42px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:#fff;
  color:#1d4ed8;
  flex:0 0 auto;
}

.auth-trust-list{
  display:grid;
  gap:10px;
}

.auth-trust-list span{
  display:flex;
  gap:10px;
  align-items:center;
  color:#e0f2fe;
  font-weight:700;
}

.vsm-register-form-panel{
  min-width:0;
}

.vsm-register-card-pro{
  background:rgba(255,255,255,.94);
  border:1px solid rgba(148,163,184,.22);
  padding:30px;
}

.vsm-register-card-pro h2{
  font-weight:900;
  letter-spacing:-.03em;
}

.vsm-form-section{
  padding:20px;
  border:1px solid #e2e8f0;
  border-radius:22px;
  background:#fff;
  margin-top:18px;
}

.vsm-section-title{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  color:#0f172a;
  margin-bottom:14px;
}

.vsm-section-title i{
  color:#2563eb;
}

.auth-field input,
.auth-field select,
.country-search{
  width:100%;
  border-radius:14px !important;
  min-height:46px;
}

.password-wrap{
  position:relative;
}

.password-wrap input{
  padding-right:48px !important;
}

.password-toggle{
  position:absolute;
  right:8px;
  top:50%;
  transform:translateY(-50%);
  width:34px;
  height:34px;
  border:0;
  border-radius:10px;
  background:#f1f5f9;
  color:#475569;
}

.phone-input-group .input-group-text{
  border-radius:14px 0 0 14px;
  font-weight:800;
}

.auth-check{
  padding:12px 14px 12px 42px;
  border:1px solid #e2e8f0;
  border-radius:16px;
  background:#f8fafc;
}

.auth-submit{
  border-radius:16px;
  font-weight:900;
  min-height:52px;
}

@media(max-width:991px){
  .vsm-register-shell{
    grid-template-columns:1fr;
    padding:18px;
  }

  .vsm-register-brand-panel{
    position:relative;
    top:auto;
    min-height:auto;
  }
}

@media(max-width:575px){
  .vsm-register-shell{
    padding:12px;
    gap:14px;
  }

  .vsm-register-brand-panel,
  .vsm-register-card-pro{
    border-radius:22px;
    padding:20px;
  }

  .vsm-register-steps{
    grid-template-columns:1fr;
  }

  .vsm-form-section{
    padding:16px;
    border-radius:18px;
  }

  .vsm-register-card-pro .d-flex.justify-content-between{
    flex-direction:column;
  }

  .vsm-register-card-pro .btn{
    width:100%;
  }
}

@media (max-width: 576px) {
  .g-recaptcha {
    transform: scale(0.86);
    transform-origin: 0 0;
    max-width: 100%;
  }

  .g-recaptcha > div {
    max-width: 100% !important;
  }
}