.login-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: var(--color-grey-96);
  padding-left: 0;
}

.login-card {
  background: white;
  border-radius: 20px;
  padding: 48px;
  box-shadow: var(--shadow-4);
  width: 400px;
  max-width: 90vw;
}

.login-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.login-logo img {
  width: 64px;
  height: 64px;
}

.login-card h2 {
  margin-bottom: 32px;
  text-align: center;
}

.login-card .form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.login-card .form-group label {
  margin-bottom: 6px;
}

.login-card .form-group input {
  width: 100%;
}

.login-card .login-btn {
  width: 100%;
  margin-top: 8px;
}

/* Разделитель «или» с линиями по бокам */
.login-divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
}

.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, 0.12);
}

.login-divider span {
  padding: 0 14px;
  color: #9aa0a6;
  font-size: 13px;
}

/* Кнопка SSO выглядит как обычная кнопка (это ссылка <a>) */
.login-sso-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.login-sso-btn:hover {
  text-decoration: none;
}

.alert-danger {
  background: var(--color-danger-bg);
  color: var(--color-danger-text);
  padding: 10px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 14px;
}

.alert-success {
  background: var(--color-success-bg, #e6f4ea);
  color: var(--color-success-text, #1e7e34);
  padding: 10px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 14px;
}
