.commguide-modal-open {
  overflow: hidden;
}

.commguide-confirm-modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 55, 100, 0.55);
  z-index: 900;
  transition: opacity 0.2s ease-in-out;
  opacity: 0;
}

.commguide-confirm-modal__overlay:not([hidden]) {
  opacity: 1;
}

.commguide-confirm-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92%;
  max-width: 420px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 20px 45px rgba(11, 51, 79, 0.25);
  z-index: 910;
  overflow: hidden;
  text-align: center;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.commguide-confirm-modal__header,
.commguide-confirm-modal__header h2 {
  background: linear-gradient(135deg, #009edc, #55c6ef);
  color: #fff;
  padding: 1.75rem 1.5rem 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  font-size: 1.125rem;
}

.commguide-confirm-modal__body {
  padding: 1.5rem 1.75rem;
  color: #3e4a5c;
  font-size: 1rem;
  line-height: 1.6;
}

.commguide-confirm-modal__body p {
  margin: 0;
}

.commguide-confirm-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  padding: 0 1.75rem 1.75rem;
}

.commguide-confirm-modal__button {
  min-width: 120px;
  border-radius: 6px;
  border: 2px solid transparent;
  padding: 0.3rem 1.5rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 6px 18px rgba(11, 51, 79, 0.18);
  letter-spacing: 0.04em;
  background: #fff;
  color: #0a3558;
}

.commguide-confirm-modal__button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 158, 220, 0.35);
}

.commguide-confirm-modal__button--cancel {
  border-color: #0a3558;
  background: #fff;
}

.commguide-confirm-modal__button--cancel:hover {
  background: rgba(10, 53, 88, 0.08);
  color: #0a3558;
}

.commguide-confirm-modal__button--confirm {
  background: linear-gradient(135deg, #009edc, #55c6ef);
  color: #fff;
  border: none;
}

.commguide-confirm-modal__button--confirm:hover {
  box-shadow: 0 10px 22px rgba(0, 158, 220, 0.35);
  transform: translateY(-1px);
}
