/* Minimal stylesheet for jquery-confirm v3.0.1
   Use with: useBootstrap:false, boxWidth:'90%' (any theme name is fine) */

.jconfirm {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999999;
  font-family: inherit;
  overflow: hidden;
}

.jconfirm .jconfirm-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(10, 20, 50, 0.55);
  opacity: 1;
  transition: opacity 0.3s ease;
}

.jconfirm .jconfirm-bg.jconfirm-bg-h {
  opacity: 0;
}

.jconfirm .jconfirm-scrollpane {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.jconfirm .jc-bs3-container,
.jconfirm .jc-bs3-row,
.jconfirm .jconfirm-box-container {
  width: 100%;
}

/* the dialog box (JS sets width, margin-top and margin-bottom) */
.jconfirm .jconfirm-box {
  position: relative;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  padding: 22px 22px 18px;
  background: #fff;
  color: #1b2440;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(10, 20, 50, 0.35);
  outline: none;
  transition-property: transform, opacity, margin;
  /* hidden by default; JS removes the animation class when it opens */
}

/* open / close animations */
.jconfirm .jconfirm-box.jconfirm-animation-zoom {
  transform: scale(0.6);
  opacity: 0;
}

.jconfirm .jconfirm-box.jconfirm-animation-scale {
  transform: scale(0.8);
  opacity: 0;
}

/* shake when the background is clicked */
.jconfirm .jconfirm-box.hilight.jconfirm-hilight-shake {
  animation: jconfirm-shake 0.8s;
}

@keyframes jconfirm-shake {
  0%, 100% { transform: translateX(0); }
  15%, 45%, 75% { transform: translateX(-8px); }
  30%, 60%, 90% { transform: translateX(8px); }
}

/* title and icon */
.jconfirm .jconfirm-title-c {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #0b3fae;
}

.jconfirm .jconfirm-icon-c {
  display: inline-flex;
  align-items: center;
  font-size: 22px;
  color: #d99a00;
}

.jconfirm .jconfirm-icon-c:empty {
  display: none;
}

/* content */
.jconfirm .jconfirm-content-pane {
  overflow-y: auto;
  max-height: 60vh;
}

.jconfirm .jconfirm-content {
  font-size: 15px;
  line-height: 1.5;
  color: #1b2440;
  overflow: hidden;
}

/* buttons */
.jconfirm .jconfirm-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.jconfirm .jconfirm-buttons button {
  cursor: pointer;
  min-width: 90px;
}

/* the X icon is hidden by the script when not used */
.jconfirm .jconfirm-closeIcon {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #6b7390;
}

.jconfirm .jconfirm-clear {
  clear: both;
}

/* spinner state (only used by ajax content) */
.jconfirm .jconfirm-box.loading {
  opacity: 0.8;
}

/* stop the page behind from scrolling while a dialog is open */
body[class*="jconfirm-no-scroll-"] {
  overflow: hidden !important;
}

@media (max-width: 480px) {
  .jconfirm .jconfirm-box {
    padding: 18px 16px 14px;
  }
  .jconfirm .jconfirm-buttons button {
    flex: 1;
  }
}