/* VERUM — страницы входа и регистрации */

body { padding: 0; overflow: auto; }

.auth-wrap {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--bg-deep);
  position: relative;
  overflow: visible;
}
.auth-card {
  color: var(--text, #edf7f4);
  width: 100%;
  max-width: 400px;
  background: var(--bg-card, #0c232b);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}
.auth-card label {
  display: block;
  margin: 0 0 7px;
  color: var(--text, #edf7f4);
  font-size: 14px;
  font-weight: 600;
}
.auth-card button:focus-visible, .auth-link a:focus-visible {
  outline: 3px solid var(--green, #45e4ae);
  outline-offset: 4px;
}
.auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.auth-logo img { display: block; }
.auth-card h1 {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--text);
}
.auth-sub {
  text-align: center;
  font-size: 13px;
  color: var(--text-mid);
  margin-bottom: 28px;
}
.auth-card input {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: 14px;
  margin-bottom: 12px;
  outline: none;
  transition: all var(--t-fast);
  font-family: inherit;
}
.auth-card input:focus {
  border-color: var(--green);
  background: var(--bg-card);
}
.auth-card input::placeholder { color: var(--text-dim); }
.auth-card button {
  width: 100%;
  padding: 13px;
  background: var(--green);
  color: #052e13;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
  transition: all var(--t-fast);
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.auth-card button:hover:not(:disabled) {
  background: var(--green-bright);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(74,222,128,0.28);
}
.auth-card button:disabled { opacity: .5; cursor: not-allowed; }
.auth-err {
  color: var(--red);
  font-size: 13px;
  text-align: center;
  margin-top: 10px;
  min-height: 18px;
}
.auth-link {
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 20px;
}
.auth-link a { color: var(--green); font-weight: 500; }
.auth-link a:hover { text-decoration: underline; }


/* ─── Кнопка скачивания клиента ─────────────────── */

.download-block {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.download-title {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: none;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 10px;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 18px;
  background: transparent;
  border: 1px solid var(--green-line);
  border-radius: var(--r-md);
  color: var(--text);
  text-decoration: none;
  transition: all 150ms;
}
.download-btn:hover {
  background: var(--green-dim);
  border-color: var(--green);
  transform: translateY(-1px);
}
.download-btn:active {
  transform: translateY(0);
}

.download-icon {
  font-size: 20px;
  color: var(--green);
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}

.download-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.download-text b {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.download-text small {
  font-size: 11px;
  color: var(--text-dim);
}

.download-hint {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}

.step-separator {
  text-align: center;
  font-size: 11px;
  color: var(--text-dim);
  text-transform: none;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 20px;
}
