.akaber-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, .42);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity .16s ease,
    visibility .16s ease;
}

.akaber-dialog-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.akaber-dialog {
  width: min(470px, 100%);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  box-shadow:
    0 24px 70px
    rgba(15, 23, 42, .24);
  transform: translateY(8px) scale(.985);
  transition: transform .16s ease;
}

.akaber-dialog-backdrop.open
.akaber-dialog {
  transform: translateY(0) scale(1);
}

.akaber-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 14px;
  border-bottom: 1px solid #eef2f7;
}

.akaber-dialog-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: #16884a;
  font-size: 11px;
  font-weight: 800;
}

.akaber-dialog-head h3 {
  margin: 0;
  color: #172033;
  font-size: 19px;
}

.akaber-dialog-close {
  width: 36px;
  height: 36px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: #475569;
  cursor: pointer;
  font-size: 21px;
}

.akaber-dialog-close:hover {
  background: #f8fafc;
}

.akaber-dialog-body {
  padding: 20px 22px;
}

.akaber-dialog-body p {
  margin: 0;
  color: #475569;
  line-height: 1.9;
}

.akaber-dialog-actions {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  padding: 0 22px 20px;
}

.akaber-dialog-button {
  min-width: 100px;
  min-height: 42px;
  padding: 9px 18px;
  border-radius: 10px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.akaber-dialog-button.secondary {
  border: 1px solid #dbe3ea;
  background: #fff;
  color: #475569;
}

.akaber-dialog-button.primary {
  border: 1px solid #16884a;
  background: #16884a;
  color: #fff;
}

.akaber-dialog-button.primary:hover {
  background: #116f3c;
}

.akaber-dialog-button.danger {
  border: 1px solid #b91c1c;
  background: #b91c1c;
  color: #fff;
}

@media (max-width: 600px) {
  .akaber-dialog {
    border-radius: 14px;
  }

  .akaber-dialog-actions {
    flex-direction: column-reverse;
  }

  .akaber-dialog-button {
    width: 100%;
  }
}
