/**
 * PharmEtrade — Auth Pages (Register, Sign In)
 */

/* Override the main layout padding for auth pages */
.auth-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  margin-top: 0;
}

.auth-page__left {
  background: linear-gradient(145deg, var(--color-navy) 0%, var(--color-navy-mid) 100%);
  padding: var(--space-3xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.auth-page__left::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,168,120,0.15) 0%, transparent 70%);
}

.auth-page__brand { margin-bottom: var(--space-3xl); }

.auth-logo {
  display: inline-flex;
  text-decoration: none;
  line-height: 1;
}

.auth-logo .pharmetrade-logo {
  height: 36px;
  width: auto;
  display: block;
  overflow: visible;
}

.auth-page__headline {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: var(--weight-regular);
  color: #fff;
  line-height: 1.1;
  margin-bottom: var(--space-xl);
}

.auth-page__benefits {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.auth-page__benefits li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  font-size: 15px;
  color: rgba(255,255,255,0.75);
}

.auth-page__right {
  background: var(--color-bg-canvas);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl);
}

.auth-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
}

.auth-card__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-regular);
  color: var(--color-text-primary);
  margin-bottom: var(--space-1);
}

.auth-card__sub {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.benefit-check {
  width: 22px;
  height: 22px;
  background: var(--color-green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-green-dark);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-page__left { display: none; }
  .auth-page__right { min-height: 100vh; padding: var(--space-lg); }
}
