body.vmr-auth-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(31, 67, 27, 0.92) 0%, rgba(59, 112, 49, 0.82) 46%, rgba(121, 176, 106, 0.74) 100%),
    url('../image/vmrbackground.jpg') center center / cover no-repeat fixed;
  color: #233a1f;
}

.vmr-auth-stage {
  min-height: 100vh;
  padding: 30px 16px;
  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: rgba(247, 252, 244, 0.14);
  border: 1px solid rgba(235, 245, 228, 0.3);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 32px 90px rgba(18, 39, 15, 0.3);
  backdrop-filter: blur(12px);
}

.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: #f9fff8;
  background:
    linear-gradient(180deg, rgba(245, 251, 242, 0.1) 0%, rgba(204, 229, 195, 0.04) 100%),
    radial-gradient(circle at top left, rgba(238, 248, 233, 0.28) 0%, rgba(238, 248, 233, 0) 46%);
}

.vmr-auth-hero::after {
  content: '';
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(245, 251, 242, 0.16);
  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(249, 255, 246, 0.12);
  border: 1px solid rgba(245, 251, 242, 0.18);
  color: #f7fff5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  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: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 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, 255, 245, 0.72);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.vmr-auth-brand-copy h1 {
  margin: 0;
  color: #ffffff;
  font-size: 32px;
  line-height: 1.08;
  font-weight: 800;
}

.vmr-auth-copy h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 46px;
  line-height: 1.04;
  font-weight: 800;
}

.vmr-auth-copy p {
  margin: 0;
  color: rgba(246, 255, 244, 0.82);
  font-size: 16px;
  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(248, 255, 246, 0.1);
  border: 1px solid rgba(244, 251, 241, 0.14);
}

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

.vmr-auth-point span {
  color: rgba(246, 255, 243, 0.74);
  font-size: 13px;
  line-height: 1.6;
}

.vmr-auth-panel {
  padding: 50px 42px;
  background: rgba(252, 255, 250, 0.97);
  display: flex;
  align-items: center;
}

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

.vmr-auth-eyebrow {
  margin-bottom: 8px;
  color: #5a8450;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.vmr-auth-title {
  margin: 0 0 10px;
  color: #1f381b;
  font-size: 34px;
  line-height: 1.08;
  font-weight: 800;
}

.vmr-auth-subtitle {
  margin: 0 0 26px;
  color: #5f7659;
  font-size: 15px;
  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: #fff1f1;
  color: #7a2f2f;
  border-color: #f1c8c8;
}

.vmr-auth-alert.success {
  background: #edf9ee;
  color: #27592d;
  border-color: #bfdcc3;
}

.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: #2d4a28;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.vmr-auth-input {
  display: flex;
  align-items: center;
  min-height: 56px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #d7e7d1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.vmr-auth-input:focus-within {
  border-color: #69a85d;
  box-shadow: 0 0 0 4px rgba(105, 168, 93, 0.14);
  transform: translateY(-1px);
}

.vmr-auth-input-icon {
  width: 50px;
  text-align: center;
  color: #5a8b50;
  font-size: 16px;
}

.vmr-auth-input input,
.vmr-auth-input textarea,
.vmr-auth-input select {
  flex: 1;
  padding: 0 16px 0 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #24401f;
  font-size: 15px;
}

.vmr-auth-input input[readonly] {
  color: #6c8265;
}

.vmr-auth-input input::placeholder {
  color: #90a88a;
}

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

.vmr-auth-form-meta a,
.vmr-auth-links a,
.vmr-auth-text-link {
  color: #3f7935;
  font-weight: 700;
}

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

.vmr-auth-btn-primary,
.vmr-auth-btn-secondary {
  min-height: 54px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vmr-auth-btn-primary {
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, #2f6128 0%, #4f9444 100%);
  box-shadow: 0 14px 28px rgba(63, 115, 52, 0.22);
}

.vmr-auth-btn-primary:hover,
.vmr-auth-btn-primary:focus {
  color: #ffffff;
  background: linear-gradient(135deg, #274f21 0%, #447e3a 100%);
}

.vmr-auth-btn-secondary {
  background: transparent;
  border: 1px solid #b9d7af;
  color: #396532;
}

.vmr-auth-btn-secondary:hover,
.vmr-auth-btn-secondary:focus {
  color: #274f21;
  background: #eef8ea;
}

.vmr-auth-links {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #deedd8;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: #6c8264;
  font-size: 13px;
}

.vmr-auth-panel .modal-content {
  border-radius: 20px;
  border: 1px solid #d5e5cf;
}

.vmr-auth-panel .modal-header,
.vmr-auth-panel .modal-footer {
  border-color: #e3eedf;
}

.vmr-auth-panel .modal-title {
  color: #264a22;
}

.vmr-auth-note {
  margin-top: 18px;
  color: #6a8164;
  font-size: 13px;
  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: 36px;
  }
}

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

  .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: 24px;
  }

  /* 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: 28px;
  }

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