/* ============================================================
   REGISTER / AUTH PAGE
============================================================ */
.auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Logo box */
.auth-logo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.auth-icon-box {
  width: 54px;
  height: 54px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-fg);
}

.auth-title {
  font-size: 1.625rem;
  font-weight: 800;
}

.auth-subtitle {
  font-size: 0.875rem;
  color: var(--muted-fg);
}

/* Form */
.register-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.submit-btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

/* Error list */
.error-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.error-item {
  font-size: 0.875rem;
  color: var(--destructive);
  padding: 0.25rem 0;
}

/* Divider */
.auth-divider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-divider-text {
  font-size: 0.8125rem;
  color: var(--muted-fg);
  white-space: nowrap;
}

/* OAuth buttons */
.oauth-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.oauth-btn {
  justify-content: center;
  gap: 0.5rem;
  opacity: 0.7;
}

.oauth-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

/* Footer link */
.auth-footer-text {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-fg);
}

.auth-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.auth-link:hover { text-decoration: underline; }
