.profile-alert {
  max-width: 520px;
  padding: 15px 16px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid #f0d4a7;
  border-radius: 9px;
  background: #fff8ec;
  box-shadow: 0 2px 5px #19324c0b;
}

.profile-alert > div {
  min-width: 0;
  flex: 1;
}

.profile-alert small,
.profile-alert b,
.profile-alert span {
  display: block;
}

.profile-alert small {
  color: #b2761d;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.profile-alert b {
  margin: 5px 0 4px;
  font-size: 12px;
}

.profile-alert span {
  color: #8b7451;
  font-size: 9px;
  line-height: 1.4;
}

.profile-alert .primary {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .page-heading:has(.profile-alert) {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .profile-alert {
    max-width: none;
  }

  .profile-alert .primary {
    min-width: 130px;
  }
}

@media (max-width: 480px) {
  .profile-alert {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .profile-alert .primary {
    width: 100%;
  }
}
