

.vg-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--c-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.vg {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.vg__brand {
  display: none;
  align-items: center;
  gap: 10px;
}

.vg__brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--c-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--c-bg);
}

.vg__brand-text {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: -0.03em;
}

.vg__brand-text em {
  font-style: normal;
  color: var(--c-accent);
}

.vg__card {
  width: 100%;
  background: var(--c-surface);
  border-radius: 24px;
  border: 1px solid var(--c-border2);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.vg__card--center {
  padding: 48px 24px;
}

.vg__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--c-accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.vg__icon i {
  font-size: 24px;
  color: var(--c-accent);
}

.vg__card h2 {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--c-text);
  margin: 0;
  letter-spacing: -0.02em;
}

.vg__card p {
  font-family: var(--ff-body);
  font-size: 0.8rem;
  color: var(--c-muted);
  line-height: 1.5;
  margin: 0;
}

.vg__card p strong {
  color: var(--c-text);
  font-weight: 600;
}

.vg__field {
  width: 100%;
  margin-top: 8px;
}

.vg__input {
  width: 100%;
  padding: 14px;
  border-radius: var(--r-sm);
  background: var(--c-surface2);
  border: 1px solid var(--c-border2);
  color: var(--c-text);
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 16px;
  outline: none;
  transition: border-color .2s var(--ease-out);
}

.vg__input:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 1px var(--c-accent-dim);
}

.vg__input::placeholder {
  color: var(--c-muted2);
  letter-spacing: 16px;
}

.vg__error {
  font-family: var(--ff-body);
  font-size: 12px;
  color: var(--c-danger);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.vg__error i {
  font-size: 12px;
}

.vg__btn {
  width: 100%;
  padding: 14px;
  border-radius: var(--r-md);
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform .2s var(--ease-out), background .2s var(--ease-out);
  margin-top: 4px;
}

.vg__btn--primary {
  background: var(--c-accent);
  color: var(--c-bg);
  box-shadow: 0 0 20px var(--c-accent-dim);
}

.vg__btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px var(--c-accent-glow);
}

.vg__btn--ghost {
  background: transparent;
  color: var(--c-muted);
  border: 1px solid var(--c-border);
}

.vg__btn--ghost:hover {
  background: var(--c-surface2);
  color: var(--c-text);
}

.vg__btn--logout {
  background: transparent;
  color: var(--c-danger);
  font-size: 12px;
  margin-top: 8px;
}

.vg__btn--logout:hover {
  background: rgba(255, 82, 82, 0.06);
}


.vg__pin-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 12px 0;
}

.vg__pin-dot {
  width: 14px;
  height: 14px;
  border-radius: var(--r-full);
  border: 2px solid var(--c-border2);
  background: transparent;
  transition: all .2s var(--ease-out);
}

.vg__pin-dot.is-filled {
  background: var(--c-accent);
  border-color: var(--c-accent);
}

.vg__pin-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}


.vg__pin-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
  max-width: 240px;
  margin-top: 4px;
}

.vg__pin-key {
  height: 48px;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-border);
  background: var(--c-surface2);
  color: var(--c-text);
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s var(--ease-out);
}

.vg__pin-key:hover {
  background: var(--c-surface3);
}

.vg__pin-key--empty {
  background: transparent;
  border: none;
  cursor: default;
}


.vg__success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--c-accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.vg__success-icon i {
  font-size: 32px;
  color: var(--c-accent);
}
.vg__success-msg {
  font-family: var(--ff-body);
  font-size: 12px;
  color: var(--c-accent);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.vg__btn--loading {
  opacity: 0.7;
  pointer-events: none;
}

.vg__btn--disabled {
  opacity: 0.4;
  pointer-events: none;
}

.vg__loading-msg {
  font-family: var(--ff-body);
  font-size: 12px;
  color: var(--c-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

.vg__success-msg {
  font-family: var(--ff-body);
  font-size: 12px;
  color: var(--c-accent);
  display: flex;
  align-items: center;
  gap: 6px;
}