/* Auth pages — login, register, invite */

body.auth-page {
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

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

.auth-card-wide {
  max-width: 560px;
}

.auth-logo {
  text-align: center;
  margin-bottom: 28px;
}

.auth-favicon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  display: block;
}

.auth-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}

.auth-subtitle {
  font-size: 14px;
  color: var(--color-muted);
}

.auth-footer-link {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--color-muted);
}

.auth-footer-link a {
  color: var(--color-accent);
  text-decoration: none;
}

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

/* Alerts */
.alert {
  padding: 11px 16px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 16px;
  position: relative;
}

.alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: var(--color-danger);
}

.alert-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: var(--color-success);
}

.alert-info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--color-info);
}

.alert-dismissible {
  padding-right: 40px;
}

.alert-close {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: inherit;
  opacity: 0.6;
  line-height: 1;
  padding: 0;
}

.alert-close:hover { opacity: 1; }
