.auth-providers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.auth-provider {
  height: 52px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #1b211c;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.auth-provider:hover {
  transform: translateY(-2px);
  border-color: #c8d0c6;
  box-shadow: 0 12px 28px #15201512;
}

.auth-provider > i {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 900;
}

.auth-provider-yandex > i {
  background: #ff3434;
  color: #fff;
  font-size: 16px;
}

.auth-provider-vk > i {
  background: #2787f5;
  color: #fff;
  font-size: 10px;
  letter-spacing: -1px;
}

.auth-divider {
  height: 45px;
  display: flex;
  align-items: center;
  color: #919991;
  font-size: 11px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}

.auth-divider span {
  padding: 0 12px;
  white-space: nowrap;
}

.auth-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 17px;
  color: #7f8780;
  font-size: 11px;
  line-height: 1.45;
}

.auth-security > i {
  color: #5c9326;
  font-style: normal;
}

.auth-box .auth-switch {
  margin-top: 17px;
}

@media (max-width: 480px) {
  .auth-main { padding: 28px 20px; }
  .auth-providers { grid-template-columns: 1fr; }
  .auth-box h2 { font-size: 28px; }
  .auth-provider { font-size: 13px; }
}
