/** modal popup */
/* Modal Base Styles */
#sessionWarningModal.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1050;
}

.modal.fade {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

#sessionWarningModal.modal.show {
  opacity: 1;
  display: block !important;
}

/* Modal Dialog Styles */
#sessionWarningModal .modal-dialog {
  position: relative;
  width: auto;
  margin: 1.75rem auto;
  max-width: 400px;
  transform: translateY(100%) !important;
  transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
  transform: translateY(0);
}

/* Modal Content Styles */
#sessionWarningModal .modal-content {
  position: relative;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  border-top: 5px solid var(--Red-Red700, #C50022);
  background: #FFF;
  display: block !important;
  padding: 0;
}

/* Modal Header Styles */
.modal-header {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  margin: 0;
  line-height: 1.5;
  display: inline-block;
  color: #000;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.modal-title .timeout-icon {
  padding-left: 33px;
  padding-top: 3px;
  font-size: 16px;
}

/* Modal Body Styles */
.modal-body {
  padding: 0 20px;
  position: relative;
}
.modal-body p {
  margin: 0;
  color: var(--Gray-1100, #333);
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* Modal Footer Styles */
.modal-footer {
  padding: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

/* Button Styles */
.btn {
  padding: 0.375rem 0.75rem;
  border-radius: 0.25rem;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}

.btn-timeout {
  width: fit-content;
  height: 32px;
  border: 2px solid transparent;
  letter-spacing: 1px;
}

.timeout-icon.icon-warn-hex-warning {
  background-position-x: -3px;
}

/* Responsive Design */
@media (max-width: 576px) {
  .modal-dialog {
    margin: 0.5rem;
  }
  .modal-footer {
    flex-direction: column;
  }
  .modal-footer .btn {
    width: 100%;
    margin: 0.25rem 0;
  }
}
/* Accessibility Enhancements */
.modal:focus {
  outline: none;
}

.btn:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  outline: none;
}

.btn-close {
  padding: 0.5rem;
  background: transparent;
  border: none;
  float: right;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: 0.5;
  cursor: pointer;
  margin-top: -25px;
}

/* Custom X icon using pseudo-elements */
.btn-close::before,
.btn-close::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 14px;
  background-color: currentColor;
}

.btn-close::before {
  transform: rotate(45deg);
}

.btn-close::after {
  transform: rotate(-45deg);
}

/** modal popup */

/*# sourceMappingURL=session-popup.css.map */
