/* Style for the custom modal container */
#custom-confirm-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  width: 80%;
  max-width: 400px;
  padding: 20px;
  text-align: center;
  height: auto; /* Adjust height automatically based on content */
  overflow-y: auto; /* Add scrollbar if content exceeds height */
}

/* Style for the modal title */
.modal-content h2 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #333;
}

/* Style for the modal message text */
.modal-content p {
  font-size: 14px;
  margin-bottom: 20px;
  color: #666;
}

/* Style for the "Yes" and "No" buttons container */
.modal-buttons {
  display: flex;
  justify-content: space-between;
}

/* Style for the "Yes" and "No" buttons */
.modal-buttons button {
  flex: 1;
  margin: 10px;
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Style for the "Yes" button */
.modal-buttons #confirm-yes {
  background-color: #007bff; /* Blue color */
  color: #fff;
}

/* Style for the "No" button */
.modal-buttons #confirm-no {
  background-color: #f44336; /* Red color */
  color: #fff;
}

/* Hover effect for buttons */
.modal-buttons button:hover {
  background-color: #0056b3; /* Darker blue color on hover */
}
