.modal {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
  }
  
  .modal.hidden {
    opacity: 0;
    pointer-events: none;
  }
  
  .modal-content {
    background: #fff;
    padding: 30px 40px;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    position: relative;
    animation: fadeIn 1s ease;
    font-family: 'Arial', sans-serif;
  }
  
  @keyframes fadeIn {
    from {
      transform: scale(0.95);
      opacity: 0;
    }
    to {
      transform: scale(1);
      opacity: 1;
    }
  }
  
  .modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 28px;
    color: #333;
    cursor: pointer;
    transition: 0.2s;
  }
  
  .modal-close:hover {
    color: #ff4d4d;
  }
  
  .modal-content h3 {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #222;
  }
  
  #modalOptions > div {
    margin-bottom: 20px;
  }
  
  #modalOptions label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
  }
  
  #modalOptions select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
    background-color: #f9f9f9;
    appearance: none;
  }
  
  #submitSelection {
    width: 100%;
    padding: 14px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    background-color: #F07261;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  #submitSelection:hover {
    background-color: #1e7100;
  }


  .modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  .modal-content {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  }
  
  .modal-content label {
    display: block;
    margin-top: 15px;
  }
  
  .modal-content input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    font-size: 16px;
  }
  
  .modal-content button {
    margin-top: 20px;
    width: 100%;
    padding: 10px;
    background-color: #F07261;
    color: white;
    border: none;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
  }
  
  .close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
  }