.modal {
  display: none;
  position: fixed;
  z-index: 1055;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

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

.modal.show {
  display: block;
  opacity: 1;
}

.modal-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 600px;
  width: 90%;
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: #fff;
  border-radius: 0.3rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
  outline: 0;
  padding: 1rem;
}

.modal-header,
.modal-body,
.modal-footer {
  text-align: justify;
}

.modal-body p {
  text-align: justify !important;
  font-size: 14px !important;
}

.modal-header {
  border-bottom: 1px solid #dee2e6;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  text-align: center;
  width: 100%;
  font-weight: 300;
  margin: 0 auto;
}

.modal-title {
  font-size: 24px !important;
  padding-top: 10px;
  padding-bottom: 10px;
}

.modal-footer {
  display: flex;
  justify-content: center;
}

.modal-close-btn {
  border: none;
  border-radius: 32px;
  padding: 10px 20px;
  background-color: var(--primary);
  height: 45px;
  position: relative;
  margin-top: auto;
  cursor: pointer;
  color: var(--white-color);
}

.highlight {
  color: #0056b3;
  font-weight: 600;
}

.action {
  background-color: #fef3c7;
  padding: 0.1em 0.3em;
  border-radius: 0.2rem;
  font-weight: 500;
}


@media (min-width: 768px) {
  .modal-body p {
    font-size: 16px !important;
  }

  .modal-title {
    font-size: 30px !important;
  }
}
