.hogon-confirm-dialog {
  width: min(520px, calc(100vw - 28px));
  max-width: 520px;
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 22px;
  background: transparent;
  color: #514a44;
  font-family: "Vazirmatn", Tahoma, sans-serif;
}

.hogon-confirm-dialog::backdrop {
  background: rgba(18, 55, 53, 0.62);
  backdrop-filter: blur(3px);
}

.hogon-confirm-dialog .modal-dialog {
  width: 100%;
  max-width: none;
  margin: 0;
  pointer-events: auto;
}

.hogon-confirm-dialog .modal-content {
  overflow: hidden;
  border: 1px solid rgba(201, 163, 78, 0.42);
  border-radius: 22px;
  background: #fffdf9;
  box-shadow: 0 24px 70px rgba(24, 72, 69, 0.24);
}

.hogon-confirm-dialog .modal-header,
.hogon-confirm-dialog .modal-footer {
  border-color: rgba(201, 163, 78, 0.25);
  padding: 0.8rem 1.1rem;
}

.hogon-confirm-dialog .modal-header {
  align-items: center;
  background: linear-gradient(135deg, rgba(63, 167, 163, 0.12), rgba(201, 163, 78, 0.08));
}

.hogon-confirm-dialog .modal-title {
  margin: 0;
  color: #267f7d;
  font-weight: 900;
}

.hogon-confirm-dialog .modal-body {
  padding: 1.3rem 1.2rem;
  color: #514a44;
  font-size: 1rem;
  line-height: 2;
}

.hogon-confirm-dialog .modal-body p { margin: 0; white-space: pre-line; }
.hogon-confirm-dialog .modal-footer { gap: 0.6rem; }

.hogon-confirm-dialog .btn {
  min-width: 110px;
  min-height: 44px;
  border-radius: 12px;
  font-weight: 800;
}

.hogon-confirm-cancel {
  border: 1px solid rgba(41, 127, 125, 0.28);
  color: #267f7d;
  background: #fff;
}

.hogon-confirm-accept {
  border: 1px solid #3fa7a3;
  color: #fff;
  background: #3fa7a3;
}

.hogon-confirm-accept:hover,
.hogon-confirm-accept:focus { color: #fff; background: #2d8f8b; }

.hogon-confirm-accept.is-danger {
  border-color: #ad5148;
  background: #ad5148;
}

.hogon-confirm-accept.is-danger:hover,
.hogon-confirm-accept.is-danger:focus { background: #913e36; }

@media (max-width: 575px) {
  .hogon-confirm-dialog { width: calc(100vw - 22px); }
  .hogon-confirm-dialog .modal-footer { display: grid; grid-template-columns: 1fr 1fr; }
  .hogon-confirm-dialog .btn { width: 100%; min-width: 0; }
}
