/* ============================================
   MakLinkApp – auth.css  (login + register)
   ============================================ */

.auth-body { background: var(--cream); min-height: 100vh; }

.auth-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* Left brand panel */
.auth-brand {
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
}
.auth-brand::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(196,154,42,0.06);
  top: -100px; right: -100px;
}
.auth-brand::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(196,154,42,0.04);
  bottom: -80px; left: -80px;
}
.auth-brand-inner { max-width: 380px; position: relative; z-index: 1; }

.brand-badge {
  display: inline-block;
  background: rgba(196,154,42,0.2);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(196,154,42,0.3);
  margin-bottom: 24px;
}

.brand-headline {
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
}

.brand-tagline {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 32px;
}

.brand-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}
.brand-features li {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  padding-left: 4px;
}

.brand-foot {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
}

/* Right login form */
.auth-form-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  background: var(--cream);
}

.auth-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-md);
}

.auth-card-header { margin-bottom: 24px; }
.auth-card-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.auth-card-header p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* SSO buttons */
.btn-sso {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  margin-bottom: 10px;
  transition: background 0.15s, border-color 0.15s;
}
.btn-sso:hover { background: var(--cream); border-color: var(--gold); }

.auth-divider {
  text-align: center;
  position: relative;
  margin: 18px 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  position: absolute;
  top: 50%; width: calc(50% - 60px);
  height: 1px;
  background: var(--border-strong);
}
.auth-divider::before { left: 0; }
.auth-divider::after  { right: 0; }
.auth-divider span { background: var(--white); padding: 0 10px; }

.auth-footer-note {
  text-align: center;
  margin-top: 18px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.auth-legal {
  margin-top: 20px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}
.auth-legal a { color: var(--text-muted); }
.auth-legal a:hover { color: var(--gold-dark); }

/* Responsive */
@media (max-width: 768px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-brand  { display: none; }
  .auth-card   { padding: 28px 22px; }
}
