/* Действия в профиле пользователя */

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;

  width: calc(100% - 32px);
  max-width: 760px;
  margin: 0 auto 24px;
}

.profile-actions .profile-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 46px;
  padding: 12px 22px;

  border: 1px solid rgba(166, 216, 212, 1);
  border-radius: 10px;

  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;

  transition:
    background-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

.profile-actions .profile-action--primary {
  color: #243b3a;
  background: rgba(166, 216, 212, 1);
  box-shadow: 0 4px 12px rgb(80 150 145 / 12%);
}

.profile-actions .profile-action--primary:hover {
  background: #8fc9c4;
  border-color: #8fc9c4;
  transform: translateY(-1px);
}

.profile-actions .profile-action--secondary {
  color: #315e59;
  background: #fff;
}

.profile-actions .profile-action--secondary:hover {
  background: #f1f9f8;
  transform: translateY(-1px);
}

.profile-actions .profile-action:focus-visible {
  outline: 3px solid rgb(166 216 212 / 55%);
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .profile-actions {
    flex-direction: column;
    gap: 10px;
    width: calc(100% - 24px);
  }

  .profile-actions .profile-action {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-actions .profile-action {
    transition: none;
  }
}