


/* Voorbeeld van absolute positionering rechtsboven */
    #datepicker-container {
      position: relative; /* Belangrijk voor absolute positionering van het kruisje */
      /* Overige styling... */
    }

    .close-button {
      position: absolute;
      top: -23px;
      right: -20px;
      width: 40px;
      height: 40px;

      border: none;
      border-radius: 8px;
      background-color: #991b1b;
      color: #fff;
      box-shadow: 0 2px 6px rgba(0,0,0,0.2);
      display: block;

      font-size: 30px;
      line-height: 40px;
      font-weight: bold;
      text-align: center;
      
      cursor: pointer;
      
    }

    /* Wanneer je er over hovert */
    .close-button:hover {
      background-color: #ff1010;
    }





  
  /* Container voor de datepicker */
  #datepicker-container {
    width: 90%;
    max-width: 400px;
    margin: 0 auto;
    background-color: #f9f9f9;
    border: 2px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    box-sizing: border-box;

    height: 342px;
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    box-shadow: 0px 0px 50px 50px #fff;
  }

  /* Tab-headers */
  .tab-headers {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #ccc;
  }
  .tab-headers li {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    cursor: pointer;
    font-weight: bold;
    background-color: #eee;
    border-right: 1px solid #ccc;
  }
  .tab-headers li:last-child {
    border-right: none;
  }
  .tab-headers li.active {
    background-color: #fff;
  }

  /* Tab-panels */
  .tab-content .tab-panel {
    display: none;
    padding: 10px 0;
  }
  .tab-content .tab-panel.active {
    display: block;
  }

  /* Scroll container */
  .scroll-container {
    
    overflow-y: scroll;
    text-align: center;
    margin: 10px 0;
    border: 1px solid #eee;
    -webkit-overflow-scrolling: touch; /* Voor mobiel vloeiend scrollen */
    height: 230px;
  }

  .scroll-item {
    padding: 10px;
    transition: all 0.2s;
  }

  /* De geselecteerde (midden) rij groter maken */
  .scroll-item.selected {
    font-size: 1.2em;
    font-weight: bold;
    background-color: #dfefff;
  }
  /* De 'andere' items iets kleiner */
  .scroll-item:not(.selected) {
    font-size: 0.9em;
    color: #555;
  }

  /* Custom date range styling (optioneel) */
  #custom-range-fields p {
    margin: 5px 0;
  }
  #custom-range-fields input {
    width: 120px;
    text-align: center;
  }

  #submitButton {
    display: block;
    background-color: #0043ce;
    color: #fff;
    border: none;
    border-radius: 8px;
    width: 60%;
    height: 50px;
    position: absolute;
    left: 50%;
    top: 96%;
    transform: translate(-50%,-97%); 
    font-size: 18px;
  }

  /* Responsiveness (eenvoudig voorbeeld) */
  @media (max-width: 480px) {
    #datepicker-container {
      width: 95%;
      padding: 5px;
    }
    .tab-headers li {
      font-size: 0.9em;
    }
    .scroll-container {
      height: 120px;
    }
  }