.auth {
  --auth-gap: clamp(18px, 4.5vh, 32px);
  --auth-left-space: clamp(120px, 28vw, 32vw);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--auth-gap) var(--auth-gap) var(--auth-gap) var(--auth-left-space);
  background: var(--page-bg);
}

.auth--minimal {
  justify-content: center;
  align-items: center;
  padding: 26px;
  background: linear-gradient(135deg, #005d93 0%, #2b84c2 45%, #6fc0e8 100%);
}

.auth__card {
  width: min(100%, 320px);
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 45px 38px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  border: 1px solid rgba(15, 23, 42, 0.05);
  justify-content: center;
}

.auth--minimal .auth__card {
  border-radius: var(--radius-lg);
  width: min(100%, 368px);
  max-width: 368px;
  border-right: none;
  margin: 0;
  min-height: auto;
  height: auto;
  border: none;
  box-shadow: var(--shadow-card);
}

.auth__symbol {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: -24px;
}

.auth__symbol img {
  width: 85px;
  height: auto;
}

.auth__headline {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.auth__headline h1 {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.auth__headline p {
  margin: 0;
  font-size: 12px;
  color: var(--text-600);
}

.auth__alert {
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 11px;
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.08);
  color: #b91c1c;
}

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

.auth__form label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 11px;
  color: var(--text-600);
}

.auth__form input {
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 11px 13px;
  font-size: 12px;
  background: #f3f6fc;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth__form input:focus {
  outline: none;
  border-color: rgba(0, 93, 147, 0.85);
  box-shadow: 0 0 0 2.5px rgba(0, 93, 147, 0.18);
}

.auth__submit {
  width: 100%;
  margin-top: 3px;
}

.auth__links {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11px;
  color: var(--text-600);
}

.auth__links a {
  color: inherit;
  font-weight: 600;
  transition: color 0.18s ease;
}

.auth__links a:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  .auth--minimal {
    justify-content: center;
    align-items: center;
    padding: 38px 29px;
    padding-left: 29px;
  }

  .auth {
    padding: 38px 29px;
  }

  .auth--minimal .auth__card {
    margin-right: 0;
    border-radius: var(--radius-lg);
    min-height: auto;
    height: auto;
    max-width: 320px;
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: var(--shadow-soft);
  }
}

@media (max-width: 540px) {
  .auth {
    padding: 38px 14px;
  }

  .auth__card {
    padding: 29px 22px;
    gap: 22px;
  }
}
