body.vmr-auth-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, rgba(47, 143, 114, 0.12), transparent 42%),
    radial-gradient(circle at 88% 92%, rgba(27, 77, 62, 0.08), transparent 46%),
    #f7faf9;
  color: #0f172a;
  font-family: 'Inter', sans-serif;
}

.vmr-auth-stage {
  min-height: 100vh;
  padding: 128px 16px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vmr-auth-shell {
  width: 100%;
  max-width: 1220px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  background: #ffffff;
  border: 1px solid rgba(27, 77, 62, 0.14);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 32px 90px -20px rgba(15, 23, 42, 0.22);
}

.vmr-auth-shell.vmr-auth-shell-reverse .vmr-auth-hero {
  order: 2;
}

.vmr-auth-shell.vmr-auth-shell-reverse .vmr-auth-panel {
  order: 1;
}

.vmr-auth-hero {
  position: relative;
  padding: 52px 46px;
  color: #f7faf9;
  background: linear-gradient(160deg, #1b4d3e 0%, #123b30 100%);
}

.vmr-auth-hero::after {
  content: '';
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(247, 250, 249, 0.14);
  border-radius: 22px;
  pointer-events: none;
}

.vmr-auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(247, 250, 249, 0.1);
  border: 1px solid rgba(247, 250, 249, 0.18);
  color: #f7faf9;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.vmr-auth-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.vmr-auth-brand-mark {
  width: 74px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(247, 250, 249, 0.16);
  animation: vmrLogoFloat 3.6s ease-in-out infinite;
}

.vmr-auth-brand-mark img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  animation: vmrLogoPulse 3.6s ease-in-out infinite;
}

@keyframes vmrLogoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes vmrLogoPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

.vmr-auth-brand-copy small {
  display: block;
  margin-bottom: 6px;
  color: rgba(247, 250, 249, 0.65);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.vmr-auth-brand-copy h1 {
  margin: 0;
  color: #ffffff;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 600;
}

.vmr-auth-copy h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 500;
}

.vmr-auth-copy p {
  margin: 0;
  color: rgba(247, 250, 249, 0.75);
  font-size: 15px;
  line-height: 1.8;
}

.vmr-auth-points {
  margin-top: 36px;
  display: grid;
  gap: 14px;
}

.vmr-auth-point {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(247, 250, 249, 0.07);
  border: 1px solid rgba(247, 250, 249, 0.12);
}

.vmr-auth-point strong {
  display: block;
  margin-bottom: 4px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

.vmr-auth-point span {
  color: rgba(247, 250, 249, 0.7);
  font-size: 13px;
  line-height: 1.6;
}

.vmr-auth-panel {
  padding: 50px 42px;
  background: #ffffff;
  display: flex;
  align-items: center;
}

.vmr-auth-panel-inner {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.vmr-auth-eyebrow {
  margin-bottom: 8px;
  color: #1b4d3e;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.vmr-auth-title {
  margin: 0 0 10px;
  color: #0f172a;
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 500;
}

.vmr-auth-subtitle {
  margin: 0 0 26px;
  color: #52685d;
  font-size: 14px;
  line-height: 1.7;
}

.vmr-auth-alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.7;
  border: 1px solid transparent;
}

.vmr-auth-alert.error {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}

.vmr-auth-alert.success {
  background: rgba(47, 143, 114, 0.1);
  color: #123b30;
  border-color: rgba(27, 77, 62, 0.25);
}

.vmr-auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.vmr-auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.vmr-auth-field label {
  display: block;
  margin-bottom: 8px;
  color: #52685d;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.vmr-auth-input {
  display: flex;
  align-items: center;
  min-height: 52px;
  border-radius: 12px;
  background: #f7faf9;
  border: 1px solid rgba(27, 77, 62, 0.16);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vmr-auth-input:focus-within {
  border-color: rgba(27, 77, 62, 0.6);
  box-shadow: 0 0 0 3px rgba(27, 77, 62, 0.08);
}

.vmr-auth-input-icon {
  display: flex;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  width: 46px;
  color: #1b4d3e;
  font-size: 15px;
  line-height: 1;
}

.vmr-auth-input input,
.vmr-auth-input textarea,
.vmr-auth-input select {
  flex: 1;
  min-width: 0;
  height: 50px;
  padding: 0 16px 0 4px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #0f172a;
  font-size: 14px;
  line-height: 50px;
}

.vmr-auth-input select {
  appearance: none;
  -webkit-appearance: none;
}

.vmr-auth-input input[readonly] {
  color: #52685d;
}

.vmr-auth-input input::placeholder {
  color: rgba(15, 23, 42, 0.35);
}

.vmr-auth-form-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: -2px;
  color: #52685d;
  font-size: 13px;
}

.vmr-auth-form-meta a,
.vmr-auth-links a,
.vmr-auth-text-link {
  color: #1b4d3e;
  font-weight: 600;
}

.vmr-auth-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.vmr-auth-btn-primary,
.vmr-auth-btn-secondary {
  min-height: 52px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.vmr-auth-btn-primary {
  border: 0;
  color: #f7faf9;
  background: #1b4d3e;
}

.vmr-auth-btn-primary:hover,
.vmr-auth-btn-primary:focus {
  color: #f7faf9;
  background: #2f8f72;
}

.vmr-auth-btn-secondary {
  background: transparent;
  border: 1px solid rgba(27, 77, 62, 0.3);
  color: #1b4d3e;
}

.vmr-auth-btn-secondary:hover,
.vmr-auth-btn-secondary:focus {
  color: #123b30;
  background: rgba(27, 77, 62, 0.06);
}

.vmr-auth-links {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(27, 77, 62, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: #52685d;
  font-size: 13px;
}

.vmr-auth-panel .modal-content {
  border-radius: 20px;
  border: 1px solid rgba(27, 77, 62, 0.14);
}

.vmr-auth-panel .modal-header,
.vmr-auth-panel .modal-footer {
  border-color: rgba(27, 77, 62, 0.1);
}

.vmr-auth-panel .modal-title {
  color: #0f172a;
  font-family: 'Playfair Display', serif;
}

.vmr-auth-note {
  margin-top: 18px;
  color: #52685d;
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 991px) {
  .vmr-auth-shell {
    grid-template-columns: 1fr;
    max-width: 820px;
  }

  .vmr-auth-shell.vmr-auth-shell-reverse .vmr-auth-hero,
  .vmr-auth-shell.vmr-auth-shell-reverse .vmr-auth-panel {
    order: initial;
  }

  .vmr-auth-hero,
  .vmr-auth-panel {
    padding: 36px 28px;
  }

  .vmr-auth-copy h2 {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  .vmr-auth-stage {
    padding: 108px 12px 20px;
  }

  .vmr-auth-shell {
    border-radius: 22px;
  }

  .vmr-auth-hero,
  .vmr-auth-panel {
    padding: 26px 18px;
  }

  .vmr-auth-brand-mark {
    width: 62px;
    height: 62px;
    border-radius: 18px;
  }

  .vmr-auth-brand-mark img {
    width: 44px;
    height: 44px;
  }

  .vmr-auth-brand-copy h1 {
    font-size: 22px;
  }

  /* Mobile requirement: keep only logo + company name on hero side */
  .vmr-auth-badge,
  .vmr-auth-copy,
  .vmr-auth-points,
  .vmr-auth-brand-copy small {
    display: none;
  }

  .vmr-auth-hero::after {
    display: none;
  }

  .vmr-auth-hero {
    padding: 18px 20px;
  }

  .vmr-auth-brand {
    margin-bottom: 0;
  }

  .vmr-auth-copy h2,
  .vmr-auth-title {
    font-size: 26px;
  }

  .vmr-auth-grid,
  .vmr-auth-actions {
    grid-template-columns: 1fr;
  }
}
