/*
 * veyra-auth.css — v2.0
 * Premium SaaS Lab · Login page design system
 * Prefix: va-
 */

/* ── Variables ─────────────────────────────────────────────────────────── */
:root {
  --va-primary:       #2563eb;
  --va-primary-light: #60a5fa;
  --va-primary-dark:  #1e40af;
  --va-primary-50:    #eff6ff;
  --va-primary-100:   #dbeafe;
  --va-accent:        #2563eb;
  --va-emerald:       #2563eb;
  --va-danger:        #ef4444;
  --va-text:          #0f172a;
  --va-muted:         #64748b;
  --va-dimmed:        #94a3b8;
  --va-border:        #e2e8f0;
  --va-bg:            #f8fafc;
  --va-white:         #ffffff;

  /* sidebar palette */
  --va-sb-from:       #0b1220;
  --va-sb-mid:        #172554;
  --va-sb-to:         #1e3a8a;
  --va-sb-accent:     #60a5fa;
  --va-sb-cyan:       #93c5fd;
  --va-sb-emerald:    #60a5fa;

  --va-radius:        0.75rem;
  --va-radius-lg:     1.25rem;
  --va-shadow:        0 2px 4px rgba(0,0,0,.04), 0 8px 32px rgba(0,0,0,.08);
  --va-shadow-lg:     0 4px 8px rgba(0,0,0,.06), 0 16px 48px rgba(0,0,0,.12);
  --va-font:          'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --va-mono:          'DM Mono', 'Fira Code', monospace;
  --va-transition:    all .2s ease;
}

/* ── Page body ─────────────────────────────────────────────────────────── */
.va-auth-body {
  background: linear-gradient(160deg, #eff6ff 0%, #f8fbff 45%, #f5f9ff 100%);
  font-family: var(--va-font);
  min-height: 100vh;
}

/* ── Wrap ──────────────────────────────────────────────────────────────── */
.va-wrap {
  font-family: var(--va-font);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 1.5rem 1rem;
}

/* dot grid overlay */
.va-wrap::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(37,99,235,.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* soft orbs */
.va-wrap::after {
  content: '';
  position: fixed;
  top: -120px;
  right: -80px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(37,99,235,.07) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* ── Main Card ─────────────────────────────────────────────────────────── */
.va-card {
  position: relative;
  z-index: 1;
  display: flex;
  border-radius: var(--va-radius-lg);
  overflow: hidden;
  box-shadow: var(--va-shadow-lg);
  background: var(--va-white);
  max-width: 980px;
  width: 100%;
  min-height: 600px;
}

/* ── Sidebar ───────────────────────────────────────────────────────────── */
.va-sidebar {
  position: relative;
  width: 44%;
  background: linear-gradient(155deg, var(--va-sb-from) 0%, var(--va-sb-mid) 50%, var(--va-sb-to) 100%);
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem;
  overflow: hidden;
  color: #fff;
}

/* subtle inner glow blobs */
  .va-sidebar::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 85%, rgba(37,99,235,.18) 0%, transparent 55%),
    radial-gradient(ellipse at 82% 15%, rgba(37,99,235,.12) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* fine dot texture */
.va-sidebar::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: 0;
}

.va-sidebar-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ── Sidebar Brand ──────────────────────────────────────────────────────── */
.va-sidebar-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 2rem;
}

.va-sidebar-logo {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border-radius: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.15);
  flex-shrink: 0;
}

.va-sidebar-logo i {
  font-size: 1.25rem;
  color: var(--va-sb-cyan);
}

.va-sidebar-wordmark {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  line-height: 1;
}

.va-sidebar-tagline {
  font-size: .65rem;
  font-weight: 500;
  color: rgba(255,255,255,.45);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ── Sidebar Illustration ───────────────────────────────────────────────── */
.va-lab-art-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .5rem 0;
}

.va-lab-art {
  width: 220px;
  height: 220px;
  filter: drop-shadow(0 0 18px rgba(37,99,235,.35));
}

/* atom animations */
.va-atom {
  transform-box: fill-box;
  transform-origin: center;
  animation: va-atom-pulse 2s ease-in-out infinite;
}
.va-atom-center {
  transform-box: fill-box;
  transform-origin: center;
  animation: va-atom-pulse 2.5s ease-in-out infinite;
}
.va-a1 { animation-delay: 0s;    animation-duration: 2.2s; }
.va-a2 { animation-delay: .35s;  animation-duration: 1.9s; }
.va-a3 { animation-delay: .7s;   animation-duration: 2.4s; }
.va-a4 { animation-delay: 1.05s; animation-duration: 2.1s; }
.va-a5 { animation-delay: .5s;   animation-duration: 2.3s; }
.va-a6 { animation-delay: .9s;   animation-duration: 1.8s; }

.va-float {
  transform-box: fill-box;
  transform-origin: center;
  animation: va-float 3s ease-in-out infinite;
}
.va-f1 { animation-duration: 3.2s; animation-delay: 0s; }
.va-f2 { animation-duration: 2.7s; animation-delay: .6s; }
.va-f3 { animation-duration: 3.6s; animation-delay: 1.1s; }
.va-f4 { animation-duration: 2.9s; animation-delay: .4s; }

@keyframes va-atom-pulse {
  0%, 100% { opacity: .55; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.22); }
}
@keyframes va-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

/* ── Sidebar Features ───────────────────────────────────────────────────── */
.va-sidebar-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.va-sidebar-features li {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  padding: .4rem 0;
  font-size: .78rem;
  color: rgba(255,255,255,.8);
  line-height: 1.5;
}

.va-feat-dot {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .05rem;
}

.va-feat-dot i { font-size: .875rem; }

.va-feat-dot-indigo { background: rgba(37,99,235,.25); color: var(--va-sb-accent); }
.va-feat-dot-cyan   { background: rgba(6,182,212,.2);   color: var(--va-sb-cyan); }
.va-feat-dot-emerald{ background: rgba(16,185,129,.2);  color: var(--va-sb-emerald); }
.va-feat-dot-green  { background: rgba(74,222,128,.2);  color: var(--va-sb-accent); }

/* ── Sidebar Badges ─────────────────────────────────────────────────────── */
.va-sidebar-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
}

.va-sb-badge {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 3px 9px;
}

/* ── Form Panel ─────────────────────────────────────────────────────────── */
.va-form-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 3rem 2.5rem;
  background: var(--va-white);
  position: relative;
  overflow: hidden;
}

/* subtle dot grid on form side */
.va-form-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(37,99,235,.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* ── Background molecular art ───────────────────────────────────────────── */
.va-form-bg-art {
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 420px;
  height: 420px;
  opacity: .13;
  pointer-events: none;
  z-index: 0;
}

.va-form-bg-art-2 {
  position: absolute;
  top: -50px;
  left: -50px;
  width: 220px;
  height: 220px;
  opacity: .08;
  pointer-events: none;
  z-index: 0;
  transform: rotate(25deg);
}

/* mobile brand (hidden on desktop) */
.va-mobile-brand {
  display: none;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 1;
}

.va-mobile-brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--va-primary) 0%, var(--va-primary-light) 100%);
  border-radius: .625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}

.va-mobile-brand-text {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--va-text);
  letter-spacing: -.02em;
}

/* ── Form Header ────────────────────────────────────────────────────────── */
.va-form-header {
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.va-form-eyebrow {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--va-primary);
  background: var(--va-primary-50);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: .625rem;
  border: 1px solid var(--va-primary-100);
}

.va-form-greeting {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--va-text);
  margin: 0 0 .375rem;
  letter-spacing: -.03em;
  line-height: 1.2;
}

.va-form-subtitle {
  font-size: .875rem;
  color: var(--va-muted);
  margin: 0;
}

/* ── Error Banner ───────────────────────────────────────────────────────── */
.va-error-banner {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-left: 3px solid var(--va-danger);
  border-radius: var(--va-radius);
  padding: .875rem 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  position: relative;
  z-index: 1;
}

.va-error-banner > i {
  color: var(--va-danger);
  font-size: 1.125rem;
  flex-shrink: 0;
  margin-top: .0625rem;
}

.va-error-banner-title {
  font-size: .8125rem;
  font-weight: 700;
  color: #991b1b;
  margin-bottom: .25rem;
}

.va-error-banner ul {
  margin: 0;
  padding-left: 1rem;
  font-size: .75rem;
  color: #b91c1c;
  line-height: 1.7;
}

/* ── Form ───────────────────────────────────────────────────────────────── */
.va-form {
  position: relative;
  z-index: 1;
}

/* ── Input Groups ───────────────────────────────────────────────────────── */
.va-input-group {
  margin-bottom: 1.125rem;
}

.va-input-group label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--va-text);
  margin-bottom: .35rem;
  letter-spacing: .01em;
}

/* wrapper — relative context for the icon */
.va-input-wrapper {
  position: relative;
}

/* fixed-position icon: aligns to center of the 2.75rem input, not the whole wrapper */
.va-input-icon {
  position: absolute;
  left: .875rem;
  top: 1.375rem; /* half of 2.75rem */
  transform: translateY(-50%);
  color: var(--va-dimmed);
  font-size: 1.0625rem;
  z-index: 2;
  pointer-events: none;
  transition: color .18s ease;
}

/* color the icon when any input inside the wrapper is focused */
.va-input-wrapper:focus-within .va-input-icon {
  color: var(--va-primary);
}

/* Yii2 field wrapper — flatten it */
.va-input-wrapper > div {
  margin: 0 !important;
}

.va-input-wrapper .form-group,
.va-input-wrapper [class*="field-loginform"] {
  margin: 0 !important;
  padding: 0 !important;
}

.va-input-wrapper .help-block { display: none; }

/* the actual input */
.va-input-wrapper .form-control {
  width: 100%;
  height: 2.75rem;
  padding: 0 .875rem 0 2.75rem;
  font-size: .875rem;
  font-family: var(--va-font);
  color: var(--va-text);
  background: var(--va-bg);
  border: 1.5px solid var(--va-border);
  border-radius: var(--va-radius);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
  outline: none;
  appearance: none;
  display: block;
}

.va-input-wrapper .form-control::placeholder { color: var(--va-dimmed); }

.va-input-wrapper .form-control:focus {
  border-color: var(--va-primary);
  background: var(--va-white);
  box-shadow: 0 0 0 3.5px rgba(37,99,235,.25);
}

/* DM Mono for lab code field */
.va-field-mono .form-control {
  font-family: var(--va-mono) !important;
  letter-spacing: .04em;
}

/* validation states */
.va-input-wrapper .form-control.is-invalid {
  border-color: var(--va-danger);
}
.va-input-wrapper .form-control.is-invalid:focus {
  box-shadow: 0 0 0 3.5px rgba(239,68,68,.11);
}

/* password toggle button */
.va-password-toggle {
  position: absolute;
  right: .5rem;
  top: 1.375rem;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--va-dimmed);
  font-size: 1.0625rem;
  padding: .25rem .375rem;
  cursor: pointer;
  z-index: 3;
  transition: color .18s ease;
  line-height: 1;
}

.va-password-toggle:hover { color: var(--va-primary); }

.va-input-wrapper .va-password-input { padding-right: 2.5rem; }

/* error message */
.va-input-error {
  font-size: .72rem;
  color: var(--va-danger);
  margin-top: .25rem;
  padding-left: .125rem;
  line-height: 1.4;
}

/* ── Remember me row ────────────────────────────────────────────────────── */
.va-form-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.375rem;
  position: relative;
  z-index: 1;
}

.va-form-meta .form-check { margin: 0; }

.va-form-meta .form-check-input {
  border-color: var(--va-border);
  cursor: pointer;
  width: 1rem;
  height: 1rem;
}

.va-form-meta .form-check-input:checked {
  background-color: var(--va-primary);
  border-color: var(--va-primary);
}

.va-form-meta .form-check-label {
  font-size: .8125rem;
  color: var(--va-muted);
  cursor: pointer;
  padding-left: .25rem;
}

/* ── Submit Button ──────────────────────────────────────────────────────── */
.va-btn-submit {
  width: 100%;
  height: 2.875rem;
  border: none;
  border-radius: var(--va-radius);
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #1e40af 100%);
  background-size: 200% 100%;
  background-position: 0% 0%;
  color: #fff;
  font-size: .9375rem;
  font-weight: 700;
  font-family: var(--va-font);
  letter-spacing: .01em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  transition: background-position .35s ease, box-shadow .2s ease, transform .15s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(37,99,235,.35);
}
.va-btn-submit:hover {
  background-position: 100% 0%;
  box-shadow: 0 4px 20px rgba(37,99,235,.5);
  transform: translateY(-1px);
}
.va-btn-submit:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(37,99,235,.35);
}

.va-btn-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* shimmer scan on hover */
.va-btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.18) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: none;
}

.va-btn-submit:hover::before {
  transition: left .5s ease;
  left: 160%;
}

.va-btn-text,
.va-btn-submit i,
.va-btn-submit span {
  position: relative;
  z-index: 1;
}

/* spinner */
.va-spinner {
  width: 1.125rem;
  height: 1.125rem;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: va-spin .65s linear infinite;
  position: relative;
  z-index: 1;
  display: none;
}

.va-btn-submit.va-loading .va-spinner { display: block; }
.va-btn-submit.va-loading .va-btn-text { display: none; }

@keyframes va-spin { to { transform: rotate(360deg); } }

/* ── Trust Row ──────────────────────────────────────────────────────────── */
.va-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--va-border);
  position: relative;
  z-index: 1;
}

.va-trust-item {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .69rem;
  font-weight: 600;
  color: var(--va-dimmed);
  letter-spacing: .02em;
}

.va-trust-item i {
  font-size: .875rem;
  color: var(--va-primary);
}

/* ── Page Footer ────────────────────────────────────────────────────────── */
.va-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: .875rem 1rem 0;
  font-size: .72rem;
  color: var(--va-dimmed);
}

/* ── Entrance Animations ────────────────────────────────────────────────── */
@keyframes va-slideUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.va-animate {
  animation: va-slideUp .45s ease both;
}
.va-animate-delay-1 { animation-delay: .08s; }
.va-animate-delay-2 { animation-delay: .15s; }
.va-animate-delay-3 { animation-delay: .22s; }
.va-animate-delay-4 { animation-delay: .30s; }
.va-animate-delay-5 { animation-delay: .38s; }
.va-animate-delay-6 { animation-delay: .46s; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 767.98px) {
  .va-card {
    flex-direction: column;
    max-width: 440px;
    min-height: auto;
    border-radius: 1rem;
  }
  .va-sidebar { display: none; }
  .va-mobile-brand { display: flex; }
  .va-form-panel { padding: 2rem 1.5rem; }
  .va-form-greeting { font-size: 1.5rem; }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .va-sidebar { width: 42%; padding: 2rem 1.5rem; }
  .va-form-panel { padding: 2.5rem 2rem; }
  .va-lab-art { width: 180px; height: 180px; }
}

/* ── Premium workshop login refresh ─────────────────────────────────────── */
:root {
  --va-primary:       #1e3449;
  --va-primary-light: #3c5c73;
  --va-primary-dark:  #132638;
  --va-primary-50:    #f3f6f8;
  --va-primary-100:   #dce5eb;
  --va-accent:        #c9955c;
  --va-danger:        #c2413b;
  --va-text:          #172535;
  --va-muted:         #718091;
  --va-dimmed:        #9aa5b1;
  --va-border:        #e3e8ec;
  --va-bg:            #f7f8f7;
  --va-white:         #fff;
  --va-sb-from:       #111c27;
  --va-sb-mid:        #1b2e3e;
  --va-sb-to:         #263d4d;
  --va-sb-accent:     #e6bc87;
  --va-sb-cyan:       #f1d6b0;
  --va-radius:        0.85rem;
  --va-radius-lg:     1.65rem;
  --va-shadow-lg:     0 28px 90px rgba(22, 35, 48, .16), 0 4px 16px rgba(22, 35, 48, .06);
}

.va-auth-body {
  background:
    radial-gradient(ellipse at 12% 10%, rgba(201,149,92,.10), transparent 34%),
    radial-gradient(ellipse at 92% 88%, rgba(57,84,105,.09), transparent 36%),
    #f4f5f3;
}

.va-wrap {
  padding: 2.5rem 1.5rem;
}

.va-wrap::before {
  background-image: radial-gradient(circle, rgba(30,52,73,.075) .8px, transparent .8px);
  background-size: 30px 30px;
  opacity: .52;
}

.va-wrap::after {
  top: auto;
  right: -12rem;
  bottom: -19rem;
  width: 40rem;
  height: 40rem;
  background: radial-gradient(circle, rgba(201,149,92,.09) 0%, transparent 68%);
}

.va-card {
  max-width: 1120px;
  min-height: 680px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 28px;
  box-shadow: var(--va-shadow-lg);
}

.va-sidebar {
  width: 47%;
  min-height: 680px;
  padding: 2.8rem 3rem 2.25rem;
  background:
    radial-gradient(ellipse at 12% 94%, rgba(201,149,92,.16), transparent 43%),
    radial-gradient(ellipse at 100% 8%, rgba(104,141,165,.14), transparent 40%),
    linear-gradient(145deg, #111b26 0%, #1a2b39 52%, #263e4d 100%);
}

.va-sidebar::before {
  background:
    linear-gradient(135deg, transparent 0 60%, rgba(255,255,255,.025) 60% 60.2%, transparent 60.2%),
    radial-gradient(ellipse at 12% 85%, rgba(201,149,92,.10), transparent 52%);
}

.va-sidebar::after {
  background-image: radial-gradient(circle, rgba(255,255,255,.045) .8px, transparent .8px);
  background-size: 23px 23px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.45), transparent 85%);
}

.va-sidebar-content { min-height: 100%; }

.va-sidebar-brand {
  gap: .9rem;
  margin-bottom: 2.25rem;
}

.va-sidebar-logo {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: rgba(255,255,255,.96);
  border-color: rgba(255,255,255,.7);
  box-shadow: inset 0 1px rgba(255,255,255,.12), 0 8px 22px rgba(0,0,0,.13);
}

.va-brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.va-sidebar-wordmark {
  max-width: 290px;
  font-size: 1.14rem;
  letter-spacing: -.035em;
}

.va-sidebar-tagline {
  margin-top: 5px;
  color: rgba(229,206,177,.68);
  font-size: .61rem;
  letter-spacing: .17em;
}

.va-story-copy { position: relative; z-index: 1; }

.va-story-eyebrow {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .95rem;
  color: #e5c398;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.va-story-eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #dfb47d;
  box-shadow: 0 0 0 4px rgba(223,180,125,.13), 0 0 14px rgba(223,180,125,.5);
}

.va-story-title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.055em;
}

.va-story-title em {
  color: #e7bd89;
  font-style: normal;
}

.va-story-description {
  max-width: 380px;
  margin: .85rem 0 0;
  color: rgba(239,243,246,.67);
  font-size: .86rem;
  line-height: 1.75;
}

.va-lab-art-wrap {
  flex: 1 0 auto;
  min-height: 205px;
  margin: .8rem 0 1.1rem;
  padding: 0;
}

.va-workshop-visual {
  position: relative;
  width: 100%;
  max-width: 470px;
  height: 215px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(225,196,160,.18);
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 50% 72%, rgba(201,149,92,.11), transparent 55%),
    linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.018));
  box-shadow: inset 0 1px rgba(255,255,255,.06), 0 18px 38px rgba(4,11,17,.18);
}

.va-workshop-visual::before,
.va-workshop-visual::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.va-workshop-visual::before {
  inset: 12px;
  border: 1px solid rgba(255,255,255,.035);
  border-radius: 13px;
}

.va-workshop-visual::after {
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle at top right, rgba(223,180,125,.10), transparent 70%);
}

.va-workshop-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 136px;
  height: 136px;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 25px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 32px rgba(0,0,0,.2), 0 0 34px rgba(155,207,36,.12);
  object-fit: contain;
  transform: translate(-50%, -55%);
}

.va-lab-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 4px 10px 13px;
  filter: drop-shadow(0 8px 12px rgba(0,0,0,.18));
}

.va-visual-caption {
  position: absolute;
  z-index: 1;
  left: 17px;
  bottom: 13px;
  display: flex;
  align-items: center;
  gap: .48rem;
  color: rgba(245,239,231,.72);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .035em;
}

.va-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #95c4a3;
  box-shadow: 0 0 0 3px rgba(149,196,163,.12);
}

.va-sidebar-features {
  display: grid;
  gap: .12rem;
  margin-bottom: 1.15rem;
}

.va-sidebar-features li {
  align-items: center;
  gap: .75rem;
  padding: .43rem 0;
  color: rgba(246,247,248,.76);
  font-size: .76rem;
}

.va-feat-dot {
  width: 27px;
  height: 27px;
  border: 1px solid rgba(226,190,144,.16);
  border-radius: 9px;
  background: rgba(226,190,144,.09);
  color: #e7bd89;
}

.va-feat-dot i { font-size: .9rem; }
.va-feat-dot-indigo { background: rgba(226,190,144,.09); color: #e7bd89; }

.va-sidebar-badges {
  gap: .6rem 1rem;
  padding-top: 1rem;
  border-color: rgba(255,255,255,.1);
}

.va-sb-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(237,230,220,.55);
  font-size: .64rem;
}

.va-sb-badge i { color: #dcb582; font-size: .85rem; }

.va-form-panel {
  padding: 4rem 5.4rem 3.2rem;
  background: linear-gradient(155deg, #fff 0%, #fff 68%, #fcfbf8 100%);
}

.va-form-panel::after {
  inset: auto -75px -100px auto;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,149,92,.08), transparent 68%);
}

.va-form-header,
.va-error-banner,
.va-form,
.va-mobile-brand {
  width: min(100%, 410px);
  margin-right: auto;
  margin-left: auto;
}

.va-form-header { margin-bottom: 2rem; }

.va-form-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  padding: .42rem .72rem;
  border: 1px solid #e8e4dd;
  border-radius: 999px;
  background: #f8f6f2;
  color: #8e6840;
  font-size: .62rem;
  letter-spacing: .09em;
}

.va-form-eyebrow i { font-size: .86rem; }

.va-form-greeting {
  margin-top: .25rem;
  font-size: clamp(1.7rem, 3vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -.055em;
}

.va-form-subtitle {
  max-width: 340px;
  margin-top: .55rem;
  font-size: .85rem;
  line-height: 1.65;
}

.va-input-group { margin-bottom: 1.25rem; }

.va-input-group label {
  margin-bottom: .48rem;
  color: #334253;
  font-size: .75rem;
  font-weight: 700;
}

.va-input-icon {
  top: 1.8rem;
  left: 1rem;
  color: #9aa4ad;
}

.va-input-wrapper .form-control {
  height: 3.4rem;
  padding-right: .95rem;
  padding-left: 2.85rem;
  border: 1px solid #e2e7ea;
  border-radius: 12px;
  background: #f9faf9;
  color: #1e2d3d;
  font-size: .84rem;
}

.va-input-wrapper .form-control:hover { border-color: #cbd4d9; }

.va-input-wrapper .form-control:focus {
  border-color: #b48a5e;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(201,149,92,.13);
}

.va-input-wrapper:focus-within .va-input-icon { color: #a77848; }

.va-input-wrapper .va-password-input { padding-right: 3rem; }

.va-password-toggle {
  top: 1.8rem;
  right: .65rem;
  color: #87929c;
}

.va-password-toggle:hover { color: #8c643f; }

.va-form-meta { margin: .15rem 0 1.35rem; }
.va-form-meta .form-check-input:checked { background-color: #263d4d; border-color: #263d4d; }
.va-form-meta .form-check-label { color: #657383; font-size: .77rem; }

.va-btn-submit {
  height: 3.45rem;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: linear-gradient(105deg, #182a39 0%, #263d4d 58%, #354e5c 100%);
  box-shadow: 0 9px 18px rgba(30,52,73,.17), inset 0 1px rgba(255,255,255,.12);
  font-size: .86rem;
  letter-spacing: .025em;
}

.va-btn-submit:hover {
  background-position: 100% 0;
  box-shadow: 0 12px 24px rgba(30,52,73,.24), inset 0 1px rgba(255,255,255,.12);
  transform: translateY(-2px);
}

.va-trust-row {
  gap: .7rem 1.15rem;
  margin-top: 1.45rem;
  padding-top: 1.15rem;
  border-color: #e9ecee;
}

.va-trust-item {
  gap: .32rem;
  color: #89939c;
  font-size: .62rem;
  letter-spacing: 0;
  white-space: nowrap;
}

.va-trust-item i { color: #a77848; font-size: .82rem; }

.va-error-banner {
  box-sizing: border-box;
  margin-bottom: 1.35rem;
}

.va-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .42rem;
  padding-top: 1.1rem;
  color: #86919a;
  font-size: .67rem;
  letter-spacing: .025em;
}

.va-footer-mark { color: #a77848; font-size: .78rem; }
.va-footer-separator { color: #c3a17b; }
.va-auth-body #scroll-to-top { display: none !important; }

@media (max-width: 1100px) and (min-width: 768px) {
  .va-card { min-height: 640px; }
  .va-sidebar { min-height: 640px; padding: 2.4rem 2.25rem 2rem; }
  .va-form-panel { padding: 3.2rem 3rem 2.7rem; }
  .va-workshop-visual { height: 195px; }
  .va-lab-art-wrap { min-height: 190px; }
  .va-story-title { font-size: 2rem; }
}

@media (max-width: 767.98px) {
  .va-wrap { justify-content: center; padding: 1.2rem .85rem; }
  .va-card {
    max-width: 470px;
    min-height: auto;
    border-radius: 23px;
    box-shadow: 0 22px 60px rgba(22,35,48,.14), 0 3px 12px rgba(22,35,48,.05);
  }
  .va-form-panel { padding: 2.4rem 1.8rem 1.8rem; }
  .va-mobile-brand {
    gap: .7rem;
    margin-bottom: 2.1rem;
  }
  .va-mobile-brand-icon {
    width: 42px;
    height: 42px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 7px 16px rgba(30,52,73,.15);
  }
  .va-mobile-brand-text { font-size: 1rem; }
  .va-form-header { margin-bottom: 1.7rem; }
  .va-form-greeting { font-size: 1.75rem; }
  .va-footer { padding-top: .95rem; }
}

@media (max-width: 380px) {
  .va-form-panel { padding: 2rem 1.25rem 1.5rem; }
  .va-trust-row { gap: .55rem; }
  .va-trust-item { font-size: .58rem; }
}

@media (prefers-reduced-motion: reduce) {
  .va-animate,
  .va-float,
  .va-spinner { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  *, *::before, *::after { scroll-behavior: auto !important; }
}
