.dialog {
  position: fixed;
  top: 0;
  left: 0;
  background: rgb(0, 0, 0, 0.1);
  z-index: 2000000;
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  padding-top: 10%;
  backdrop-filter: blur(1px);
  align-items: flex-start;
}

.dialog .dialog__wrapper {
  background-color: var(--color-white);
  padding: 5px 0;
  max-width: 600px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 10px 16px -4px rgba(28, 28, 28, 0.1),
    0 4px 6px -2px rgba(28, 28, 28, 0.04);
  z-index: 10;
  border: var(--border);
  min-height: 272px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dialog .dialog__wrapper .dialog__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px;
}

.dialog .dialog__wrapper .dialog__top .dialog__title h2 {
  font-size: 24px;
  font-weight: 500;
}

.dialog .dialog__wrapper .dialog__top .dialog__icon {
  cursor: pointer;
}

.dialog .dialog__wrapper .dialog__top .dialog__icon svg {
  width: 28px;
  height: 28px;
}

.dialog .dialog__wrapper .dialog__description,
.dialog .dialog__wrapper .dialog__field {
  padding: 32px;
}

.dialog .dialog__wrapper .dialog__field input {
  width: 100%;
}

.dialog .dialog__wrapper .dialog__description p {
  color: #1b1b1b;
  line-height: 26px;
  font-size: 16px;
}

.dialog .dialog__wrapper .dialog__actions {
  padding: 32px;
  display: flex;
  flex-direction: row;
  gap: 17px;
  justify-content: flex-end;
  align-items: center;
}

.dialog .dialog__wrapper .dialog__actions .dialog__btn1 {
  background: none;
  color: var(--green-primary);
  font-size: 16px;
  font-weight: 500;
  border: none;
  outline: none;
}

.dialog .dialog__wrapper .dialog__actions .dialog__btn2 {
  padding: 8px 15px;
  border-radius: 0.85rem;
  font-weight: 600;
  color: var(--color-white);
  background-color: var(--danger);
  border: 0;
  font-size: 16px;
}

.dialog.dialog__prompt .dialog__wrapper .dialog__actions .dialog__btn2 {
  background-color: var(--green-primary);
}
