#submission-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    z-index: 1000;
}

#submission-modal .modal-content {
    max-height: 80vh;
    overflow-y: auto;
}

#submission-modal .close-modal {
    float: right;
    cursor: pointer;
}
.help-icon {
  display: inline-block;
  margin-left: 10px;
  background-color: #0079b3;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  text-align: center;
  font-size: 12px;
  line-height: 18px;
  cursor: pointer;
  position: relative;
}

.help-icon:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -5px;
  left: 25px;
  background-color: #333;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  white-space: nowrap;
  font-size: 12px;
  z-index: 10;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}

.help-icon:hover::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 15px;
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent #333 transparent transparent;
  z-index: 10;
}
/* Custom modal styling */
.custom-confirm-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 400px;
    max-width: 90%;
    z-index: 1000;
    text-align: center;
    padding: 20px;
    font-family: Arial, sans-serif;
}
.custom-confirm-modal h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}
.custom-confirm-modal p {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}
.custom-confirm-modal .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    margin: 5px;
}
.custom-confirm-modal .btn-confirm {
    background-color: #28a745;
    color: #fff;
}
.custom-confirm-modal .btn-cancel {
    background-color: #dc3545;
    color: #fff;
}
/* Overlay */
.custom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}