.bee-action-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1400;
}

.bee-action-modal.is-open {
  display: block;
}

.bee-action-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(2px);
}

.bee-action-modal__panel {
  position: relative;
  width: min(430px, calc(100% - 1.6rem));
  margin: 10vh auto 0;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e8edf2;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.26);
  padding: 1.1rem 1.1rem 1rem;
  text-align: center;
  animation: beeActionModalIn 0.18s ease;
}

.bee-action-modal__icon {
  width: 52px;
  height: 52px;
  margin: 0.15rem auto 0.55rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.28rem;
  color: #14532d;
  background: #eaf7ef;
  border: 1px solid #b9dfc8;
}

.bee-action-modal__title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  color: #0f172a;
}

.bee-action-modal__message {
  margin: 0.55rem 0 0.9rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #475569;
}

.bee-action-modal__actions {
  display: flex;
  gap: 0.55rem;
  justify-content: center;
}

.bee-action-modal__actions .bee-action-modal__cancel,
.bee-action-modal__actions .bee-action-modal__confirm {
  min-width: 112px;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 0.5rem 0.9rem;
  font-size: 0.875rem;
  transition:
    background-color 0.15s ease-in-out,
    color 0.15s ease-in-out,
    border-color 0.15s ease-in-out;
}

.bee-action-modal__cancel {
  background: transparent;
  border-color: #2b6b31;
  color: #2b6b31;
}

.bee-action-modal__cancel:hover {
  background: linear-gradient(100deg, #2b6b31 0%, #368e3e 70%);
  color: #fff;
}

.bee-action-modal__confirm {
  background: #18bc9c;
  border-color: #18bc9c;
  color: #fff;
}

.bee-action-modal__confirm:hover {
  background: #149c83;
  border-color: #149c83;
}

.bee-action-modal__confirm--danger {
  background: #dc3545 !important;
  border-color: #dc3545 !important;
  color: #fff !important;
  padding: 5px 10px;
  border-radius: 10px;
}

.bee-action-modal__confirm--danger:hover {
  background: #c82333 !important;
  border-color: #bd2130 !important;
}

@keyframes beeActionModalIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
