/* Login / Sign-up page layout. Reuses style.css's design tokens (colors,
   fonts, .btn/.form-* classes) -- this file only adds the centered-card
   shell that style.css doesn't have (it's built around the sidebar app
   shell, not a standalone auth screen). */

.auth-body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg-app);
  font-family: var(--font-sans);
  color: var(--text-main);
}

.auth-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-card {
  width: 100%;
  max-width: 380px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 32px;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.auth-brand .brand-icon-box {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background-color: var(--primary-container);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.auth-brand .brand-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
}

.auth-tabs {
  display: flex;
  gap: 4px;
  background-color: var(--bg-surface-low);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 4px;
  margin-bottom: 24px;
}

.auth-tab {
  flex: 1;
  padding: 8px 0;
  border: none;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.auth-tab.active {
  background-color: var(--bg-surface-high);
  color: var(--text-main);
}

.auth-form.auth-form-hidden,
.auth-form[hidden] {
  display: none;
}

.auth-submit {
  width: 100%;
  margin-top: 4px;
}

.auth-hint {
  font-size: 11px;
  color: var(--text-muted);
}

.auth-error {
  background-color: var(--status-danger-bg);
  border: 1px solid var(--status-danger-border);
  color: var(--status-danger-text);
  border-radius: var(--radius-lg);
  padding: 10px 12px;
  font-size: 12px;
  margin-bottom: 16px;
}

.auth-success {
  background-color: var(--status-booked-bg, var(--status-success-bg));
  border: 1px solid var(--status-booked-border, var(--status-success-border));
  color: var(--status-booked-text, var(--status-success-text));
  border-radius: var(--radius-lg);
  padding: 10px 12px;
  font-size: 12px;
  margin-bottom: 16px;
}
