
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --vp-fp-primary:      #0277EA;
  --vp-fp-primary-dark: #015AB9;
  --vp-fp-primary-glow: rgba(2, 119, 234, 0.22);
  --vp-fp-surface:      #ffffff;
  --vp-fp-bg:           #f0f6ff;
  --vp-fp-text:         #0f172a;
  --vp-fp-muted:        #64748b;
  --vp-fp-border:       #e2e8f0;
  --vp-fp-error:        #ef4444;
  --vp-fp-success:      #10b981;
  --vp-fp-font:         "Plus Jakarta Sans", sans-serif;
  --vp-fp-radius:       14px;
  --vp-fp-shadow:       0 8px 40px rgba(2, 119, 234, 0.13), 0 2px 8px rgba(0, 0, 0, 0.06);
  --vp-fp-ease:         0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.vp-fp-wrap *,
.vp-fp-wrap *::before,
.vp-fp-wrap *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.vp-fp-wrap {
  font-family: var(--vp-fp-font);
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--vp-fp-bg);
}

.vp-fp-visual {
  position: relative;
  background: linear-gradient(130deg, #0277EA 0%, #015AB9 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}
.vp-fp-visual__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
}

.vp-fp-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  animation: vp-fp-float 9s ease-in-out infinite;
}
.vp-fp-blob--1 {
  width: 360px; height: 360px;
  background: #93c5fd;
  top: -60px; right: -80px;
  animation-delay: 0s;
}
.vp-fp-blob--2 {
  width: 260px; height: 260px;
  background: #013d85;
  bottom: 60px; left: -40px;
  animation-delay: 3.5s;
}
.vp-fp-blob--3 {
  width: 180px; height: 180px;
  background: #60a5fa;
  top: 45%; left: 55%;
  animation-delay: 7s;
}
@keyframes vp-fp-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-18px) scale(1.05); }
}

.vp-fp-logo { margin-bottom: 36px; }

.vp-fp-logo img,
.vp-fp-logo .custom-logo-link img,
.vp-fp-logo__img {
  height: 44px;
  width: auto;
  display: block;
  mix-blend-mode: screen;
  filter: brightness(1.1);
}

.vp-fp-logo .custom-logo-link {
  display: inline-block;
  line-height: 0;
}

.vp-fp-card__logo-mobile {
  display: none;
  margin-bottom: 20px;
}

.vp-fp-card__logo-mobile img,
.vp-fp-card__logo-mobile .custom-logo-link img,
.vp-fp-card__logo-img {
  height: 32px;
  width: auto;
  display: block;
  filter: invert(1) brightness(0.15);
}

.vp-fp-card__logo-mobile .custom-logo-link {
  display: inline-block;
  line-height: 0;
}

.vp-fp-visual__title {
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.4px;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
.vp-fp-visual__sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 44px;
}

.vp-fp-steps { display: flex; align-items: center; }
.vp-fp-step {
  display: flex; align-items: center; gap: 10px;
  opacity: 0.5; transition: opacity 0.35s;
}
.vp-fp-step--active,
.vp-fp-step--done { opacity: 1; }
.vp-fp-step__num {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: 2px solid rgba(255,255,255,0.5);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px; font-weight: 700;
  flex-shrink: 0; transition: all 0.35s;
}
.vp-fp-step--active .vp-fp-step__num { background: #fff; border-color: #fff; color: var(--vp-fp-primary); }
.vp-fp-step--done .vp-fp-step__num   { background: rgba(255,255,255,0.9); border-color: #fff; color: var(--vp-fp-success); }
.vp-fp-step span { color: rgba(255,255,255,0.9); font-size: 13px; font-weight: 600; white-space: nowrap; }
.vp-fp-step__line { flex: 1; height: 2px; background: rgba(255,255,255,0.3); margin: 0 8px; min-width: 16px; }

.vp-fp-form-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  background: var(--vp-fp-bg);
  overflow-y: auto;
}

.vp-fp-card {
  width: 100%;
  max-width: 440px;
  background: var(--vp-fp-surface);
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: var(--vp-fp-shadow);
  animation: vp-fp-up 0.4s ease both;
}
@keyframes vp-fp-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.vp-fp-card__title {
  font-size: 26px;
  font-weight: 800;
  color: var(--vp-fp-text);
  letter-spacing: -0.4px;
  margin-bottom: 6px;
}
.vp-fp-card__sub { color: var(--vp-fp-muted); font-size: 14px; line-height: 1.6; margin-bottom: 22px; }
.vp-fp-card__footer { text-align: center; margin-top: 18px; }
.vp-fp-card__footer a {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 600; color: var(--vp-fp-primary);
  text-decoration: none; transition: opacity var(--vp-fp-ease);
}
.vp-fp-card__footer a:hover { opacity: 0.75; }

.vp-fp-alert {
  padding: 11px 14px; border-radius: 10px;
  font-size: 13px; font-weight: 500;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.vp-fp-alert--error   { background: #fef2f2; color: var(--vp-fp-error);   border: 1px solid #fecaca; }
.vp-fp-alert--success { background: #ecfdf5; color: var(--vp-fp-success); border: 1px solid #a7f3d0; }
.vp-fp-alert--info    { background: #eff6ff; color: #3b82f6;              border: 1px solid #bfdbfe; }

.vp-fp-icon {
  width: 72px; height: 72px;
  background: #ebf4ff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  color: var(--vp-fp-primary);
  border: 2px solid #bfdbfe;
}
.vp-fp-icon--lock { background: #fefce8; color: #ca8a04; border-color: #fde68a; }

.vp-fp-field { margin-bottom: 16px; }
.vp-fp-label { display: block; font-size: 13px; font-weight: 600; color: var(--vp-fp-text); margin-bottom: 7px; }
.vp-fp-req { color: var(--vp-fp-error); }

.vp-fp-input-wrap { position: relative; display: flex; align-items: center; }
.vp-fp-input-icon {
  position: absolute; left: 13px;
  color: #94a3b8; display: flex; pointer-events: none;
  transition: color var(--vp-fp-ease);
}
.vp-fp-input {
  width: 100%; height: 44px;
  padding: 0 13px 0 40px;
  font-family: var(--vp-fp-font); font-size: 14px; color: var(--vp-fp-text);
  background: #f8fafc;
  border: 1.5px solid var(--vp-fp-border);
  border-radius: 9px; outline: none;
  transition: border-color var(--vp-fp-ease), box-shadow var(--vp-fp-ease), background var(--vp-fp-ease);
}
.vp-fp-input::placeholder { color: #94a3b8; }
.vp-fp-input:focus {
  background: var(--vp-fp-surface);
  border-color: var(--vp-fp-primary);
  box-shadow: 0 0 0 3px var(--vp-fp-primary-glow);
}
.vp-fp-input-wrap:focus-within .vp-fp-input-icon { color: var(--vp-fp-primary); }
.vp-fp-input--pr { padding-right: 44px; }
.vp-fp-input.is-error { border-color: var(--vp-fp-error); }

.vp-fp-toggle-pass {
  position: absolute; right: 12px;
  background: none; border: none;
  cursor: pointer; color: #94a3b8;
  display: flex; padding: 4px;
  transition: color var(--vp-fp-ease);
}
.vp-fp-toggle-pass:hover { color: var(--vp-fp-primary); }

.vp-fp-err { display: block; font-size: 11.5px; color: var(--vp-fp-error); margin-top: 4px; min-height: 15px; }

.vp-fp-recaptcha { margin-bottom: 16px; transform-origin: left top; }

.vp-fp-strength { margin-top: 8px; }
.vp-fp-strength__bar { height: 4px; background: #e2e8f0; border-radius: 2px; overflow: hidden; margin-bottom: 5px; }
.vp-fp-strength__fill { height: 100%; width: 0; border-radius: 2px; transition: width 0.4s, background 0.4s; }
.vp-fp-strength__text { font-size: 11.5px; font-weight: 600; }

.vp-fp-btn {
  width: 100%; height: 48px;
  border: none; border-radius: 10px;
  font-family: var(--vp-fp-font); font-size: 15px; font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, #0277EA 0%, #015AB9 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(2, 119, 234, 0.35);
  transition: all var(--vp-fp-ease);
  text-decoration: none; letter-spacing: 0.2px;
}
.vp-fp-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 119, 234, 0.45);
}
.vp-fp-btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

.vp-fp-ghost {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; margin-top: 12px; padding: 10px;
  background: none; border: none;
  font-family: var(--vp-fp-font); font-size: 13px; color: var(--vp-fp-muted);
  cursor: pointer; transition: color var(--vp-fp-ease); border-radius: 8px;
}
.vp-fp-ghost:hover { color: var(--vp-fp-primary); background: #ebf4ff; }

.vp-fp-spin { animation: vp-fp-rotate 0.8s linear infinite; }
@keyframes vp-fp-rotate { to { transform: rotate(360deg); } }

.vp-fp-otp-inputs { display: flex; gap: 10px; justify-content: center; margin: 20px 0 14px; }
.vp-fp-otp-box {
  width: 50px; height: 56px;
  text-align: center;
  font-family: var(--vp-fp-font); font-size: 22px; font-weight: 700;
  color: var(--vp-fp-text);
  background: #f8fafc;
  border: 2px solid var(--vp-fp-border);
  border-radius: 10px; outline: none;
  transition: all var(--vp-fp-ease);
  caret-color: var(--vp-fp-primary);
}
.vp-fp-otp-box:focus {
  border-color: var(--vp-fp-primary);
  box-shadow: 0 0 0 3px var(--vp-fp-primary-glow);
  background: #fff;
}
.vp-fp-otp-box.is-filled { border-color: var(--vp-fp-primary); background: #ebf4ff; color: var(--vp-fp-primary); }
.vp-fp-otp-box.is-error  { border-color: var(--vp-fp-error); background: #fef2f2; animation: vp-fp-shake 0.35s; }
@keyframes vp-fp-shake {
  0%,100% { transform: translateX(0); }
  25%     { transform: translateX(-5px); }
  75%     { transform: translateX(5px); }
}

.vp-fp-timer {
  text-align: center; font-size: 13px; color: var(--vp-fp-muted);
  margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
}
#vp-fp-time { color: var(--vp-fp-primary); font-weight: 700; }
#vp-fp-time.expired { color: var(--vp-fp-error); }

.vp-fp-resend {
  background: none; border: none;
  color: var(--vp-fp-primary);
  font-family: var(--vp-fp-font); font-size: 13px; font-weight: 600;
  cursor: pointer; text-decoration: underline; padding: 0;
  transition: opacity var(--vp-fp-ease);
}
.vp-fp-resend:hover { opacity: 0.75; }

.vp-fp-panel { animation: vp-fp-up 0.3s ease both; }

.vp-fp-success-icon {
  width: 88px; height: 88px;
  background: #ecfdf5; border: 2px solid #a7f3d0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: var(--vp-fp-success);
  animation: vp-fp-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes vp-fp-pop {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.vp-fp-progress { height: 4px; background: #e2e8f0; border-radius: 2px; overflow: hidden; margin-top: 20px; }
.vp-fp-progress__fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--vp-fp-success), #34d399);
  border-radius: 2px; transition: width 3s linear;
}

@media (max-width: 1024px) {
  .vp-fp-visual__title { font-size: 28px; }
  .vp-fp-logo img,
  .vp-fp-logo .custom-logo-link img,
  .vp-fp-logo__img { height: 38px; }
  .vp-fp-card { padding: 32px 28px; }
}

@media (max-width: 768px) {
  .vp-fp-wrap { grid-template-columns: 1fr; }
  .vp-fp-visual { display: none; }
  .vp-fp-form-col {
    padding: 28px 16px;
    background: linear-gradient(160deg, #dbeafe 0%, #f0f6ff 100%);
    min-height: 100vh;
    align-items: flex-start;
    padding-top: 40px;
  }
  .vp-fp-card__logo-mobile { display: block; }
  .vp-fp-card__logo-mobile img,
  .vp-fp-card__logo-mobile .custom-logo-link img,
  .vp-fp-card__logo-img { height: 30px; }
  .vp-fp-card { padding: 28px 20px; border-radius: 18px; }
  .vp-fp-otp-box { width: 42px; height: 50px; font-size: 20px; }
  .vp-fp-recaptcha { transform: scale(0.88); }
}

@media (max-width: 400px) {
  .vp-fp-card { padding: 22px 14px; }
  .vp-fp-card__title { font-size: 22px; }
  .vp-fp-card__logo-mobile img,
  .vp-fp-card__logo-img { height: 26px; }
  .vp-fp-otp-box { width: 36px; height: 44px; font-size: 18px; }
  .vp-fp-otp-inputs { gap: 6px; }
}