/* ════════════════════════════════════════════════════════════════
   Vasy Login Redesign — production styles (from Vasy-Login.html)
   ════════════════════════════════════════════════════════════════ */

:root {
  --v-ink:        #0C2C3F;
  --v-ink-2:      #10405C;
  --v-blue:       #0E6EA0;
  --v-blue-700:   #0B5A84;
  --v-blue-300:   #7CC4E8;
  --v-sky:        #26A2DC;
  --v-page:       #EEF3FB;
  --v-surface:    #FFFFFF;
  --v-card:       #F7FAFE;
  --v-line:       #E1E8F3;
  --v-line-2:     #EEF2F8;
  --v-text:       #0F1B2E;
  --v-text-2:     #475467;
  --v-muted:      #7A8AA0;
  --v-faint:      #A6B3C7;
  --vina-mint:    #90C2B3;
  --vina-bright:  #B6E3D3;
  --vina-deep:    #2C6B57;
  --vina-spruce:  #0D1B17;
  --vina-glow:    rgba(144,194,179,.40);
  --radius:       14px;
  --radius-lg:    22px;
  --radius-sm:    10px;
  --ring:         0 0 0 4px rgba(38,162,220,.20);
  --shadow-card:  0 24px 60px -28px rgba(11,27,61,.30), 0 2px 8px rgba(11,27,61,.05);
  --ease:         cubic-bezier(.22,.61,.36,1);
  --font:         'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --mono:         'JetBrains Mono', ui-monospace, monospace;
  --geist:        'Geist', var(--font);
}

html, body {
  height: 100%;
  margin: 0;
  background: var(--v-surface);
}

body.vasy-login-page {
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

.vasy-login-page * {
  box-sizing: border-box;
}

.vasy-login-page .login {
  font-family: var(--font);
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  background: var(--v-surface);
  color: var(--v-text);
  overflow: hidden;
  position: relative;
}

/* ── LEFT BRAND PANEL ── */
.vasy-login-page .lp {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 8%, rgba(38,162,220,.34), transparent 55%),
    radial-gradient(100% 80% at 0% 100%, rgba(38,162,220,.24), transparent 60%),
    linear-gradient(160deg, var(--v-ink) 0%, var(--v-ink-2) 55%, #0A2433 100%);
  color: #fff;
  padding: 54px 56px;
  display: flex;
  flex-direction: column;
}

.vasy-login-page .lp__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 35%, transparent 78%);
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 35%, transparent 78%);
}

.vasy-login-page .lp__watermark {
  position: absolute;
  right: -60px;
  bottom: -70px;
  width: 420px;
  height: 420px;
  opacity: .06;
  pointer-events: none;
  transform: rotate(-8deg);
}

.vasy-login-page .lp__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.vasy-login-page .lp__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #cfe0ff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  padding: 7px 13px;
  border-radius: 100px;
}

.vasy-login-page .lp__badge .d {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5BE3A6;
  box-shadow: 0 0 10px #5BE3A6;
}

.vasy-login-page .lp__body {
  position: relative;
  z-index: 2;
  margin-top: auto;
  margin-bottom: auto;
}

.vasy-login-page .lp h2 {
  font-size: clamp(30px, 3.3vw, 44px);
  line-height: 1.08;
  letter-spacing: -.02em;
  font-weight: 700;
  max-width: 15ch;
  text-wrap: balance;
  margin: 0;
}

.vasy-login-page .lp h2 em {
  font-style: normal;
  color: #5BBDEA;
}

.vasy-login-page .lp__sub {
  margin-top: 18px;
  color: #b9c6dd;
  font-size: 16px;
  line-height: 1.55;
  max-width: 42ch;
}

.vasy-login-page .lp__stats {
  display: flex;
  gap: 30px;
  margin-top: 38px;
  flex-wrap: wrap;
}

.vasy-login-page .lp__stat .n {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.vasy-login-page .lp__stat .l {
  font-size: 12.5px;
  color: #93a3bf;
  margin-top: 3px;
}

.vasy-login-page .lp__stat .n b {
  color: var(--v-sky);
  font-weight: 700;
}

/* ── RIGHT FORM PANEL ── */
.vasy-login-page .fp {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 46px 56px;
  overflow: auto;
}

.vasy-login-page .fp__inner {
  width: 100%;
  max-width: 392px;
  margin: auto;
}

.vasy-login-page .vlogo-img {
  width: 204px;
  height: auto;
  display: block;
  max-width: 100%;
}

/* Brand logo default; store logo on desktop only */
.vasy-login-page .vlogo-img--brand {
  display: block;
}

.vasy-login-page .vlogo-img--store {
  display: none;
}

@media (min-width: 921px) {
  .vasy-login-page .vlogo:has(.vlogo-img--store) .vlogo-img--brand {
    display: none;
  }

  .vasy-login-page .vlogo:has(.vlogo-img--store) .vlogo-img--store {
    display: block;
  }
}

@media (max-width: 920px) {
  .vasy-login-page .vlogo-img--store {
    display: none !important;
  }

  .vasy-login-page .vlogo-img--brand {
    display: block !important;
  }

  .vasy-login-page .store-name {
    display: none !important;
  }
}

.vasy-login-page .vtag {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--v-muted);
}

.vasy-login-page .store-name {
  margin-top: 0;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--v-text);
}

.vasy-login-page #logindiv .store-name + h1 {
  margin-top: 14px;
}

.vasy-login-page .fp h1 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 22px 0 0;
}

.vasy-login-page .fp__lead {
  margin-top: 9px;
  color: var(--v-text-2);
  font-size: 15px;
  line-height: 1.5;
}

.vasy-login-page #logindiv {
  width: 100%;
}

.vasy-login-page .form {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.vasy-login-page .field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.vasy-login-page .field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--v-text);
}

.vasy-login-page .input {
  position: relative;
  display: flex;
  align-items: center;
}

.vasy-login-page .input input {
  width: 100%;
  height: 50px;
  border: 1.5px solid var(--v-line);
  border-radius: var(--radius-sm);
  padding: 0 44px 0 15px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--v-text);
  background: var(--v-surface);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.vasy-login-page .input input.no-eye {
  padding-right: 15px;
}

.vasy-login-page .input input::placeholder {
  color: var(--v-faint);
}

.vasy-login-page .input input:focus {
  outline: none;
  border-color: var(--v-blue);
  box-shadow: var(--ring);
}

.vasy-login-page .input .eye,
.vasy-login-page .input .toggle-password {
  position: absolute;
  right: 8px;
  width: 36px;
  height: 36px;
  border: 0;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--v-muted);
  border-radius: 8px;
  padding: 0;
  font-size: 16px;
}

.vasy-login-page .input .eye:hover,
.vasy-login-page .input .toggle-password:hover {
  color: var(--v-blue);
  background: var(--v-line-2);
}

.vasy-login-page .row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: -2px;
}

.vasy-login-page .row .rem {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 400;
  color: var(--v-text-2);
  cursor: pointer;
  user-select: none;
}

.vasy-login-page .row .rem input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
  border: 1.5px solid var(--v-line);
  border-radius: 4px;
  background: var(--v-surface);
  cursor: pointer;
  position: relative;
  transition: background-color .18s var(--ease), border-color .18s var(--ease);
}

.vasy-login-page .row .rem input[type="checkbox"]:checked {
  background: var(--v-blue);
  border-color: var(--v-blue);
}

.vasy-login-page .row .rem input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 1.5px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.vasy-login-page .row .rem input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.vasy-login-page .row .link {
  color: var(--v-blue);
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.vasy-login-page #logindiv > .alt {
  margin-top: 20px;
  margin-bottom: 0;
  padding: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.vasy-login-page #logindiv > .alt .link {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--v-blue);
  text-decoration: none;
}

.vasy-login-page #logindiv > .alt .link:hover {
  text-decoration: underline;
}

.vasy-login-page .link {
  color: var(--v-blue);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.vasy-login-page .row .link:hover,
.vasy-login-page .link:hover {
  text-decoration: underline;
}

.vasy-login-page .btn {
  height: 52px;
  border: 0;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: .18s var(--ease);
  width: 100%;
}

.vasy-login-page .btn-primary {
  background: var(--v-blue);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(14,110,160,.7);
}

.vasy-login-page .btn-primary:hover {
  background: var(--v-blue-700);
  transform: translateY(-1px);
}

.vasy-login-page .btn-primary .arr {
  transition: transform .2s var(--ease);
}

.vasy-login-page .btn-primary:hover .arr {
  transform: translateX(3px);
}

/* ── VINA COMING-SOON ── */
.vasy-login-page .vina {
  margin-top: 22px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(144,194,179,.16), transparent 60%),
    linear-gradient(120deg, var(--vina-spruce), #11271f);
  border: 1px solid rgba(144,194,179,.22);
  color: #eaf3ef;
  padding: 16px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}

.vasy-login-page .vina__spark {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  color: var(--vina-mint);
  filter: drop-shadow(0 0 10px var(--vina-glow));
  animation: vbloom 7s var(--ease) infinite;
  transform-origin: 50% 50%;
}

@keyframes vbloom {
  0%, 100% { transform: rotate(-3deg) scale(.96); opacity: .9; }
  50% { transform: rotate(3deg) scale(1.04); opacity: 1; }
}

.vasy-login-page .vina__txt {
  flex: 1;
  min-width: 0;
}

.vasy-login-page .vina__tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--vina-mint);
  text-transform: uppercase;
}

.vasy-login-page .vina__title {
  font-family: var(--geist);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  margin-top: 3px;
}

.vasy-login-page .vina__title .nm {
  color: var(--vina-bright);
  letter-spacing: .04em;
}

.vasy-login-page .vina__desc {
  font-size: 12.5px;
  color: #9fbab0;
  line-height: 1.45;
  margin-top: 3px;
}

.vasy-login-page .vina__cta {
  flex-shrink: 0;
  align-self: stretch;
  width: 100%;
  justify-content: center;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--vina-spruce);
  background: var(--vina-mint);
  border: 0;
  border-radius: 8px;
  padding: 9px 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: .18s var(--ease);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.vasy-login-page .vina__cta:hover {
  background: var(--vina-bright);
  transform: translateY(-1px);
  color: var(--vina-spruce);
}

.vasy-login-page .vina__cta:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}

/* ── ALERTS (preserve login feedback) ── */
.vasy-login-page .login-alert {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.vasy-login-page .login-alert--success {
  background: #ecfdf3;
  color: #067647;
  border: 1px solid #abefc6;
}

.vasy-login-page .login-alert--error {
  background: #fef3f2;
  color: #b42318;
  border: 1px solid #fecdca;
}

.vasy-login-page .login-alert--warning {
  background: #fffaeb;
  color: #b54708;
  border: 1px solid #fedf89;
}

.vasy-login-page .d-none {
  display: none !important;
}

/* ── RESPONSIVE ── */
.vasy-login-page .lp--mhead {
  display: none;
}

@media (max-width: 920px) {
  .vasy-login-page .login {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100%;
  }

  .vasy-login-page .login .lp:not(.lp--mhead) {
    display: none;
  }

  .vasy-login-page .login .lp--mhead {
    display: flex;
    min-height: 210px;
    padding: 28px 24px;
  }

  .vasy-login-page .fp {
    padding: 30px 22px;
  }

  .vasy-login-page .fp__inner {
    max-width: 440px;
  }
}

@media (max-width: 480px) {
  .vasy-login-page .lp__stats {
    gap: 18px;
  }

  .vasy-login-page .fp h1 {
    font-size: 26px;
  }
}

/* ── SHARED: alt link row, notes ── */
.vasy-login-page .form > .alt,
.vasy-login-page #forgotpassworddiv .alt,
.vasy-login-page #logindivss .alt {
  margin-top: 4px;
  display: flex;
  justify-content: center;
  text-align: center;
}

.vasy-login-page .fp__note {
  margin: 0;
  font-size: 13.5px;
  color: var(--v-text-2);
  line-height: 1.5;
}

.vasy-login-page .fp__note--jpm {
  margin-top: -4px;
}

/* ── NOT YOUR STORE: domain input ── */
.vasy-login-page .domain-input {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--v-line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--v-surface);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.vasy-login-page .domain-input:focus-within {
  border-color: var(--v-blue);
  box-shadow: var(--ring);
}

.vasy-login-page .domain-input input {
  flex: 1;
  min-width: 0;
  height: 50px;
  border: 0;
  padding: 0 15px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--v-text);
  background: transparent;
}

.vasy-login-page .domain-input input:focus {
  outline: none;
  box-shadow: none;
}

.vasy-login-page .domain-input__suffix {
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--v-muted);
  background: var(--v-card);
  border-left: 1.5px solid var(--v-line);
  white-space: nowrap;
}

/* ── FORGOT PASSWORD: radio pills ── */
.vasy-login-page .field-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--v-text);
}

.vasy-login-page .radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vasy-login-page .radio-pill {
  display: inline-flex;
  align-items: center;
  margin: 0;
  cursor: pointer;
}

.vasy-login-page .radio-pill input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.vasy-login-page .radio-pill span {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 100px;
  border: 1.5px solid var(--v-line);
  background: var(--v-surface);
  font-size: 13px;
  font-weight: 600;
  color: var(--v-text-2);
  transition: .18s var(--ease);
}

.vasy-login-page .radio-pill input:checked + span {
  border-color: var(--v-blue);
  background: rgba(14,110,160,.08);
  color: var(--v-blue);
}

.vasy-login-page .radio-pill input:focus-visible + span {
  box-shadow: var(--ring);
}

/* ── FORGOT PASSWORD: mobile row + verify ── */
.vasy-login-page .mobile-row {
  align-items: stretch;
  gap: 10px;
}

.vasy-login-page .phone-field {
  flex: 1;
  min-width: 0;
}

.vasy-login-page .phone-field.custom_color-b .select-box .selected-option,
.vasy-login-page .store-address.custom_color-b .select-box .selected-option {
  border-color: var(--v-blue);
  box-shadow: var(--ring);
}

.vasy-login-page .select-box {
  position: relative;
  width: 100% !important;
  margin-right: 0;
}

.vasy-login-page .select-box .selected-option {
  display: flex;
  align-items: center;
  background: var(--v-surface) !important;
  border: 1.5px solid var(--v-line);
  border-radius: var(--radius-sm);
  min-height: 50px;
  overflow: hidden;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.vasy-login-page .select-box .phone-input {
  height: 48px !important;
  padding: 0 12px !important;
  font-size: 15px !important;
  font-family: var(--font) !important;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important;
  background: transparent !important;
}

/* Hide number spinners only — keep type=number (digits-only input) */
.vasy-login-page input[type="number"],
.vasy-login-page .select-box .phone-input,
.vasy-login-page #mobileNo {
  -moz-appearance: textfield !important;
  appearance: textfield !important;
}

.vasy-login-page input[type="number"]::-webkit-outer-spin-button,
.vasy-login-page input[type="number"]::-webkit-inner-spin-button,
.vasy-login-page .select-box .phone-input::-webkit-outer-spin-button,
.vasy-login-page .select-box .phone-input::-webkit-inner-spin-button,
.vasy-login-page #mobileNo::-webkit-outer-spin-button,
.vasy-login-page #mobileNo::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  appearance: none !important;
  margin: 0 !important;
  display: none;
}

.vasy-login-page .select-box .options {
  top: calc(100% + 6px);
  border: 1.5px solid var(--v-line);
  box-shadow: var(--shadow-card);
  z-index: 20;
}

.vasy-login-page .select-box input.search-box {
  color: var(--v-text) !important;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0 !important;
  padding: 12px 14px !important;
  border: 0 !important;
  border-bottom: 1.5px solid var(--v-line) !important;
  font-family: var(--font);
}

.vasy-login-page .btn-verify {
  flex-shrink: 0;
  align-self: stretch;
  min-width: 88px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: .18s var(--ease);
}

.vasy-login-page .btn-verify.btn-info {
  background: var(--v-blue);
  color: #fff;
}

.vasy-login-page .btn-verify.btn-info:hover:not(:disabled) {
  background: var(--v-blue-700);
}

.vasy-login-page .btn-verify.btn-success {
  background: #067647;
  color: #fff;
}

.vasy-login-page .btn-verify:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.vasy-login-page .field-error {
  margin: 0;
  font-size: 12.5px;
  color: #b42318;
  line-height: 1.45;
  min-height: 0;
}

.vasy-login-page .field-error:empty {
  display: none;
}

.vasy-login-page .form-select-native {
  width: 100%;
  height: 50px;
  border: 1.5px solid var(--v-line);
  border-radius: var(--radius-sm);
  padding: 0 15px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--v-text);
  background: var(--v-surface);
  appearance: auto;
}

.vasy-login-page .form-select-native:focus {
  outline: none;
  border-color: var(--v-blue);
  box-shadow: var(--ring);
}

.vasy-login-page .d-flex {
  display: flex !important;
}

@media (max-width: 480px) {
  .vasy-login-page .radio-group {
    flex-direction: column;
  }

  .vasy-login-page .radio-pill span {
    width: 100%;
    justify-content: center;
  }

  .vasy-login-page .mobile-row {
    flex-direction: column;
  }

  .vasy-login-page .btn-verify {
    width: 100%;
    min-height: 48px;
  }

  .vasy-login-page .domain-input__suffix {
    padding: 0 10px;
    font-size: 13px;
  }
}

/* ── VERIFICATION PAGE ── */
.vasy-login-page .verification-msg {
  margin-top: 9px;
  margin-bottom: 0;
}

.vasy-login-page #otpform > .alt {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  text-align: center;
}

.vasy-login-page #otpform > .alt .link {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--v-blue);
  text-decoration: none;
}

.vasy-login-page #otpform > .alt .link:hover {
  text-decoration: underline;
}
