/* ===== Verify Email modal (scoped) ===== */
#verifyModal{ position:fixed; inset:0; display:flex; align-items:center; justify-content:center; background:rgba(14,18,37,.9); z-index:26000; }
#verifyModal.ntv-hidden{ display:none; }

/* Desktop card */
#verifyModal .ntv-card{
  width:660px; max-width:98vw;
  background:#282828; color:#f6faff;
  border:1px solid #2f2f31; border-radius:16px;
  padding:28px 28px 24px; position:relative;
  box-shadow:0 18px 60px rgba(0,0,0,.76), 0 0 24px rgba(255,225,115,.13);
  display:flex; flex-direction:column; align-items:stretch;
}
#verifyModal .ntv-close{
  position:absolute; right:10px; top:8px;
  width:40px; height:40px; display:grid; place-items:center;
  background:transparent; border:none; border-radius:12px;
  color:#fff; font-size:22px; line-height:1; cursor:pointer;
  transition:background .15s, opacity .15s;
}
#verifyModal .ntv-close:hover{ background:rgba(255,255,255,.08); }

/* Заголовки */
.ntv-title{ margin:2px 34px 6px 4px; font-size:28px; font-weight:900; color:#fff; text-align:center; }
.ntv-sub  { margin:0 4px 12px 4px; color:#bcc5db; line-height:1.55; text-align:center; }

/* Строка с текущей почтой + Change */
.vm-email-row{
  margin:0 auto 10px; display:flex; gap:8px; align-items:center; color:#cfd5e6; flex-wrap:wrap; justify-content:center;
}
.vm-email{ font-weight:800; color:#fff; }
.vm-link{ background:none; border:0; padding:0; color:#7a3cff; font-weight:800; cursor:pointer; }
.vm-link[disabled]{ color:#7a7b92; cursor:not-allowed; }

/* Редактирование почты */
.vm-email-edit{ display:none; gap:8px; justify-content:center; align-items:center; margin:4px 0 8px; }
.vm-input{
  width:min(420px, 100%); height:46px;
  padding:12px 14px; border-radius:12px; outline:none;
  background:#121212; border:1px solid #404767; color:#fff;
}
.vm-input:focus{ border-color:#7a3cff; box-shadow:0 0 0 2px rgba(122,60,255,.25); }
.vm-btn{
  height:46px; border-radius:12px; border:0; padding:0 14px; cursor:pointer; font-weight:800;
}
.vm-btn--ok{ background:#121212; color:#fff; border:1px solid #51579b; }
.vm-btn--ghost{ background:#121212; color:#d87171; border:1px solid #51579b; }

/* ===== OTP сверху ===== */
.vm-otp-wrap{ display:flex; flex-direction:column; align-items:center; justify-content:center; margin:6px 0 12px; width:100%; }
.vm-otp{ display:grid; grid-template-columns:repeat(6,1fr); gap:12px; max-width:420px; width:100%; }
.vm-otp input{
  width:100%; height:56px; text-align:center;
  font-size:26px; font-weight:900; letter-spacing:.02em;
  color:#fff; background:#121212; border:2px solid #373e62; border-radius:14px;
  outline:none; caret-color:transparent;
  transition:border-color .15s, box-shadow .15s, background .15s;
}
.vm-otp input:focus{ border-color:#7a3cff; box-shadow:0 0 0 3px rgba(122,60,255,.25); }
.vm-otp input.filled{ background:#171c33; border-color:#505a86; }

/* таймер под OTP */
.vm-timer{ margin:10px 0 6px; font-size:15px; color:#cfd5e6; text-align:center; min-height:20px; }

/* Verify — отдельной строкой */
.vm-verify{
  width:100%; height:54px; border-radius:18px; border:0; cursor:pointer;
  font-weight:800; font-size:18px; color:#fff;
  background:linear-gradient(90deg,#2563EB 0%, #720FFE 52%, #9900FF 100%);
  margin-top:12px;
}

/* футер с ресендом */
.vm-footer{ margin-top:14px; display:flex; justify-content:center; align-items:center; gap:8px; color:#bcc5db; }
.vm-resend{ background:none; border:0; padding:0; color:#7a3cff; font-weight:800; cursor:pointer; }
.vm-resend[disabled]{ color:#7a7b92; cursor:not-allowed; }

/* сообщения об ошибках/успехе */
.vm-msg{ margin-top:12px; font-size:14px; min-height:18px; text-align:center; }
.vm-msg.error{ color:#ff5a66; }
.vm-msg.ok   { color:#8be28b; }

/* ===== Fullscreen ≤900 / ≤600 ===== */
@media (max-width:900px){
  #verifyModal{ align-items:flex-start; }
  #verifyModal .ntv-card{
    width:100vw; height:100vh; max-width:none; max-height:none;
    border-radius:0; border:0; box-shadow:none;  color:#fff; padding:26px 22px 20px;
  }
  .ntv-title{ font-size:32px; }
  .vm-otp input{ height:58px; font-size:26px; }
}
@media (max-width:600px){
  #verifyModal .ntv-card{ padding:24px 16px 16px; }
  .ntv-title{ font-size:34px; }
  .vm-otp{ gap:10px; }
  .vm-otp input{ height:56px; font-size:24px; border-radius:12px; }
}
