/* Auth */

.auth {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

.auth__card {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  padding: 40px;
}

.auth__logo {
  display: block;
  width: 180px;
  height: auto;
  object-fit: contain;
  margin: 0 auto 24px;
}

.auth__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.auth__subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.auth__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.auth__input {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
  outline: none;
  transition: border-color 0.15s;
}

.auth__input:focus {
  border-color: var(--border-focus);
}

.auth__remember {
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth__checkbox {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}

.auth__remember-label {
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
}

.auth__submit {
  background: var(--primary);
  color: var(--primary-text);
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 15px;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 4px;
}

.auth__submit:hover {
  background: var(--primary-hover);
}

.auth__links {
  margin-top: 20px;
  text-align: center;
}

.auth__link {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
}

.auth__link:hover {
  color: var(--text);
}
