/* auth.css — standalone-страницы входа/установки/регистрации/приглашения.
   Подключается ПОСЛЕ app.css: переиспользует .field/.btn/.input-hint, переопределяет фон. */

body.auth-body {
  background: var(--side-bg, #15171c);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 48px 16px;
}

.auth-wrap { width: 400px; max-width: 100%; }

.auth-logo {
  text-align: center;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: .38em;
  text-indent: .38em; /* компенсация трекинга последней буквы для честного центра */
  margin-bottom: 26px;
  user-select: none;
}

.auth-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 26px 24px;
  box-shadow: 0 14px 44px rgba(0, 0, 0, .4);
}
.auth-card h1 { font-size: 18px; margin-bottom: 14px; }

.auth-sub { color: var(--muted); font-size: 13px; margin: -6px 0 16px; }

.auth-alert {
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 13.5px;
  font-weight: 550;
}
.auth-alert-error   { background: var(--red-soft);    color: var(--red-soft-text); }
.auth-alert-success { background: var(--green-soft);  color: var(--green-soft-text); }
.auth-alert-warning { background: var(--yellow-soft); color: var(--yellow-soft-text); }

.auth-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 4px;
  padding: 11px 16px;
  font-size: 14.5px;
}

.auth-links {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--side-text, #aeb4bd);
}
.auth-links a {
  color: #e6e9ee;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-links a:hover { color: #fff; }

/* карточка-плашка приглашения (фирма + роль) */
.auth-invite-meta {
  background: #f6f6f4;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 16px;
  margin-bottom: 16px;
}
.auth-invite-meta .company { font-size: 16px; font-weight: 700; }

/* две кнопки рядом (гость на странице приглашения) */
.auth-actions { display: flex; gap: 10px; }
.auth-actions .btn { flex: 1; justify-content: center; }
