.auth-page {
  background: var(--gmh-background);
}
.auth-section {
  padding: 56px 20px;
}
.auth-shell {
  width: min(1040px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: #fff;
  border: 1px solid var(--gmh-border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--gmh-shadow);
}
.auth-intro {
  padding: 48px;
  background: var(--gmh-secondary);
  color: #fff;
}
.auth-intro h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  margin: 10px 0 18px;
  color: white;
}
.auth-intro p {
  color: #cbd7ed;
  line-height: 1.7;
}
.auth-benefits {
  display: grid;
  gap: 13px;
  margin-top: 28px;
}
.auth-benefits span {
  display: flex;
  gap: 10px;
  align-items: center;
}
.auth-benefits i {
  color: #71d7b4;
}
.auth-card {
  padding: 40px;
}
.auth-card h2 {
  margin: 0 0 6px;
}
.auth-subtitle {
  color: var(--gmh-muted);
  margin: 0 0 22px;
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  background: #eef2f7;
  border-radius: 10px;
  margin-bottom: 20px;
}
.auth-tabs button {
  border: 0;
  background: transparent;
  padding: 10px;
  border-radius: 7px;
  color: var(--gmh-muted);
  font-weight: 800;
  cursor: pointer;
}
.auth-tabs button.active {
  background: #fff;
  color: var(--gmh-primary);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}
.auth-form {
  display: grid;
  gap: 13px;
}
.auth-card #signupForm { margin-top: 18px; }
.auth-name-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-input {
  position: relative;
}
.auth-input > i {
  position: absolute;
  left: 13px;
  top: 14px;
  color: #8290a6;
}
.auth-input input {
  padding-left: 40px;
}
.password-toggle {
  position: absolute;
  right: 7px;
  top: 6px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--gmh-muted);
  cursor: pointer;
}
.auth-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
}
.auth-row a,
.auth-link {
  color: var(--gmh-primary);
  font-weight: 800;
  text-decoration: none;
}
.auth-message {
  display: none;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
}
.auth-message.show {
  display: block;
}
.auth-message.error {
  background: #fff0f0;
  color: var(--gmh-error);
}
.auth-message.success {
  background: #e9f8f2;
  color: var(--gmh-success);
}
.otp-tools {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  font-size: 0.75rem;
  color: var(--gmh-muted);
}
.otp-tools button {
  border: 0;
  background: transparent;
  color: var(--gmh-primary);
  font-weight: 800;
  cursor: pointer;
}
.otp-tools button:disabled {
  color: var(--gmh-muted);
}
.verified-mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  border: 1px solid #a7dfcc;
  background: #effbf7;
  border-radius: 9px;
}
.verified-mobile strong {
  color: var(--gmh-success);
}
.auth-footer {
  text-align: center;
  color: var(--gmh-muted);
  font-size: 0.82rem;
  margin-top: 18px;
}
.auth-steps {
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
}
.auth-steps span {
  height: 5px;
  flex: 1;
  border-radius: 99px;
  background: #e6ebf2;
}
.auth-steps span.active {
  background: var(--gmh-primary);
}
@media (max-width: 800px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }
  .auth-intro {
    padding: 32px;
  }
  .auth-card {
    padding: 30px;
  }
  .auth-section {
    padding: 30px 14px;
  }
}
@media (max-width: 480px) {
  .auth-intro {
    display: none;
  }
  .auth-card {
    padding: 24px 18px;
  }
  .auth-tabs button {
    font-size: 0.75rem;
  }
  .auth-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .auth-name-grid { grid-template-columns: 1fr; }
}
