.he-dialog[open] {
  display: flex;
  padding: 1rem 1rem 1rem 1rem;
  flex-direction: column;
  align-self: stretch;
  width: 390px;
  max-width: 95%;

  @media (width >= 768px) {
    width: 640px;
    max-width: 640px;
  }
}

.he-dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  border-bottom: 1px solid var(--bs-border-color);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.he-dialog-title {
  color: var(--bs-primary);
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2rem;
}

.he-dialog-header .btn-close {
  opacity: 1;
}

.he-dialog-body p {
  margin-bottom: 2rem;
  color: var(--bs-primary);
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.he-dialog-service {
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.he-dialog-service h2 {
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2rem;
}

.he-dialog-footer {
  gap: 0.5rem;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;

  @media (width >= 768px) {
    flex-direction: row;
  }
}

.he-dialog-footer .btn,
.he-dialog-footer form {
  @media (width >= 768px) {
    width: 100%;
  }
}
