body {
    font-family: Arial, "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
    background-color: #F9F9F9;
    color: #212588;
    margin: 0;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.vdw_header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
    background-color: #F9F9F9;
}

  .vdw_header h1 {
      margin: 0;
      color: #212588;
      font-size: 22px;
      text-align: center;
  }

  .vdw_button {
      padding: 10px 20px;
      font-size: 16px;
      background-color: #7072CF;
      color: #FFF;
      border: none;
      border-radius: 5px;
      text-decoration: none;
      display: inline-block;
      margin-top: 10px;
      font-family: Arial, "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
  }

  .vdw_button:hover {
      background-color: #212588;
  }

  .vdw_button-container {
      text-align: center;
      margin-top: 0;
      padding-top: 0;
  }

  .vdw_kopen-container {
        text-align: center;
        margin-bottom: 10px;
    }
    .vdw_kopen-totals {
        font-size: 18px;
        color: #212588;
        font-weight: bold;
        text-align: center;
        margin-bottom: 10px;
    }

  .vdw_table-container {
      overflow-x: auto;
      margin: 0 20px;
      border: 1px solid #CCCCCC;
      background-color: white;
      flex: 1;
      max-height: 100vh;
  }

  .vdw_table-containers {
      max-height: 95%;
      overflow-y: auto;
      width: 90vw;
      margin: 0 auto;
      position: relative;
      background-color: #F8F8FF;
      padding: 20px;
      border: 1px solid #212588;
      border-radius: 10px;
  }

  .vdw_table th,
  .vdw_table td {
      padding: 6px 8px;
      border: 1px solid #212588;
      overflow-wrap: break-word;
      line-height: 1.2;
      white-space: nowrap;
  }

  .vdw_table th {
      background-color: #AFB0E4;
      position: sticky;
      top: 0;
      z-index: 2;
  }

  .vdw_td-weekend {
      background-color: #ffe0e0;
  }

.vdw_td-center {
    text-align: center;
    background-color: white;
}

  .vdw_td-right {
      text-align: right;
      background-color: white;
  }

  .vdw_table {
      width: 100%;
      border-collapse: collapse;
      min-width: 1200px;
  }

  .vdw_th, .vdw_td {
      border: 1px solid #CCCCCC;
      padding: 8px;
  }

  .vdw_th {
      background-color: #7072CF;
      color: white;
      font-weight: bold;
      position: sticky;
      top: 0;
      z-index: 2;
      cursor: pointer;
  }

  .vdw_th a {
    color: inherit;
    text-decoration: none;
  }

  .vdw_th a:hover {
    color: inherit;
    text-decoration: none;
  }

  .vdw_tr:hover {
      background-color: #212588;
      color: white;
  }

  .vdw_td:nth-child(3) a {
      color: inherit;
      text-decoration: none;
      font-weight: bold;
      font-style: italic;
  }

  .vdw_th.asc::after {
      content: " ▲";
  }

  .vdw_th.desc::after {
      content: " ▼";
  }

  /* Kolombreedtes in tabel */
  .vdw_table td:nth-child(1), .vdw_table th:nth-child(1) { width: 10%; }
  .vdw_table td:nth-child(2), .vdw_table th:nth-child(2) { width: 10%; }
  .vdw_table td:nth-child(3), .vdw_table th:nth-child(3) { width: 20%; }
  .vdw_table td:nth-child(4), .vdw_table th:nth-child(4) { width: 30%; }
  .vdw_table td:nth-child(5), .vdw_table th:nth-child(5) { width: 10%; }
  .vdw_table td:nth-child(6), .vdw_table th:nth-child(6) { width: 10%; }
  .vdw_table td:nth-child(7), .vdw_table th:nth-child(7) { width: 10%; }
  .vdw_table td:nth-child(8), .vdw_table th:nth-child(8) { width: 10%; }
  /* Omschrijving krijgt de rest */
  .vdw_verschil-positief {
      color: green;
      font-weight: bold;
  }

  .vdw_verschil-negatief {
      color: red;
      font-weight: bold;
  }

  .vdw_verschil-neutraal {
      color: #333;
  }

  ::-webkit-scrollbar {
      width: 20px;
  }

  ::-webkit-scrollbar-track {
      box-shadow: inset 0 0 5px #212588;
      border-radius: 10px;
  }

  ::-webkit-scrollbar-thumb {
      background: #AFB0E4;
      border-radius: 10px;
  }

  ::-webkit-scrollbar-thumb:hover {
      background: #7072CF;
  }

  .vdw_titel-container {
      text-align: center;
      margin-bottom: 10px;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 15px;
  }

  .vdw_titel-container h1 {
      font-size: 24px;
      margin: 0;
      color: #212588;
  }

  .vdw_week-title {
      font-size: 1.5em;
      margin-bottom: 10px;
      color: #333;
  }

  .vdw_wapen {
      height: 50px;
      width: auto;
  }

  .vdw_week-container {
      margin-bottom: 20px;
      padding: 15px;
      background-color: #f8f9fa;
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .vdw_knoppen-container {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 5px;
      margin-bottom: 10px;
      max-width: 100%;
  }

  .vdw_knop {
      width: 140px;
      padding: 10px 0;
      font-size: 15px;
      border-radius: 8px;
      border: 2px solid #7072CF;
      text-align: center;
      text-decoration: none;
      display: inline-block;
      color: #212588;
      background-color: #AFB0E4;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      opacity: 0;
      transform: translateY(15px);
      animation: vdw_fadeInUp 0.4s ease forwards;
      animation-delay: var(--anim-delay, 0s);
      transition: all 0.3s ease;
  }

  .vdw_knop i {
      margin-right: 8px;
  }

  .vdw_knop:hover {
      transform: scale(1.05);
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
      background-color: #7072CF;
      color: white;
      border-color: #212588;
  }

  .vdw_help .vdw_knop {
      background-color: #FFE1E1;
      color: #8B0000;
      border-color: #D94A4A;
  }

  .vdw_info .vdw_knop {
      background-color: #E1F0FF;
      color: #003366;
      border-color: #3399CC;
  }

  .vdw_kopen .vdw_knop {
      background-color: #D0F5E1;
      color: #1F6639;
      border-color: #30A46C;
  }

  .vdw_nieuw .vdw_knop {
      background-color: #FFFACD;
      color: #666600;
      border-color: #CCCC33;
  }

  .vdw_planning .vdw_knop {
      background-color: #EADCF8;
      color: #4B0082;
      border-color: #9370DB;
  }

  .vdw_totalen-container {
      background-color: #f2f2f2;
      padding: 10px;
      margin-top: auto;
      border-radius: 8px;
      border: 1px solid #ccc;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
      box-shadow: 0 1px 4px rgba(0,0,0,0.1);
      font-size: 14px;
  }

  .vdw_totalen-tabel {
      width: 100%;
      border-collapse: collapse;
      text-align: center;
  }

  .vdw_totalen-tabel th,
  .vdw_totalen-tabel td {
      padding: 6px;
      font-size: 14px;
  }

  .vdw_totalen-tabel th {
      background-color: #7072CF;
      color: white;
  }

  .vdw_totalen-tabel td {
      background-color: #ffffff;
      font-weight: bold;
  }

  .vdw_progressbar {
      background-color: #eee;
      height: 12px;
      border-radius: 4px;
      margin-top: 3px;
      position: relative;
      overflow: hidden;
  }

  .vdw_progressbar-fill {
      background-color: #7072CF;
      height: 100%;
      transition: width 0.5s ease;
  }

  .vdw_progressbar-text {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      font-size: 11px;
      color: #fff;
      line-height: 16px;
      font-weight: bold;
  }

  .vdw_modal-link {
      text-decoration: none;
      color: inherit;
      cursor: pointer;
      font-weight: bold;
  }

  .vdw_modal-link:hover {
      color: #7072CF;
  }
  .vdw_modal.vdw_modal-fullscreen {
    align-items: stretch;
    justify-content: stretch;
}

.vdw_modal.vdw_modal-fullscreen .vdw_modal-content {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border-radius: 0;
}
  .vdw_modal {
      display: none;
      position: fixed;
      z-index: 999;
      left: 0;
      top: 0;
      width: 100vw;
      height: 100vh;
      background-color: rgba(0,0,0,0.6);
  }

  .vdw_modal-content {
      background-color: white;
      margin: 5% auto;
      padding: 20px;
      border-radius: 10px;
      max-width: 600px;
      width: 90%;
      position: relative;
      overflow-y: auto;
      height: auto;
      box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  }

  .vdw_modal iframe {
      width: 100%;
      height: 100%;
      border: none;
  }

  .vdw_modal-close {
      position: absolute;
      top: 10px;
      right: 20px;
      font-size: 28px;
      font-weight: bold;
      color: #212588;
      cursor: pointer;
      z-index: 1000;
  }

  .vdw_modal-content ::-webkit-scrollbar {
      width: 20px;
  }

  .vdw_modal-content ::-webkit-scrollbar-track {
      box-shadow: inset 0 0 5px #212588;
      border-radius: 10px;
  }

  .vdw_modal-content ::-webkit-scrollbar-thumb {
      background: #AFB0E4;
      border-radius: 10px;
  }

  .vdw_modal-content ::-webkit-scrollbar-thumb:hover {
      background: #7072CF;
  }
  .vdw_modal-content h2 {
      margin-top: 0;
      color: #212588;
      font-size: 22px;
      text-align: center;
  }

  .vdw_modal-content label {
      display: block;
      margin: 10px 0 5px;
      font-weight: bold;
      color: #212588;
  }

  .vdw_modal-content input,
  .vdw_modal-content select,
  .vdw_modal-content textarea {
      width: 100%;
      padding: 10px;
      border-radius: 6px;
      border: 1px solid #ccc;
      box-sizing: border-box;
      font-family: Arial, sans-serif;
      font-size: 16px;
      background-color: #fff;
      color: #212588;
  }

  .vdw_modal-content textarea {
      resize: vertical;
      min-height: 60px;
  }

  .vdw_modal-content button {
      padding: 10px 20px;
      background-color: #7072CF;
      color: white;
      border: none;
      border-radius: 5px;
      font-size: 16px;
      cursor: pointer;
      margin-top: 10px;
      margin-right: 10px;
  }

  .vdw_modal-content::-webkit-scrollbar {
    width: 10px;
  }

  .vdw_modal-content::-webkit-scrollbar-thumb {
    background-color: #AFB0E4;
    border-radius: 6px;
  }

  .vdw_modal-content::-webkit-scrollbar-track {
    background-color: #f0f0f0;
  }

  .vdw_delete {
      background-color: #D94A4A;
      color: white;
  }

  .vdw_delete:hover {
      background-color: #8B0000;
  }

  .vdw_container {
      width: 320px;
      margin: 50px auto;
      padding: 20px;
      border: 1px solid #7072CF;
      border-radius: 10px;
      background-color: #AFB0E4;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .vdw_dropdown,
  .vdw_input,
  .vdw_textarea,
  .vdw_submit {
      width: calc(100% - 22px);
      padding: 10px;
      font-size: 16px;
      border: 1px solid #212588;
      border-radius: 5px;
      background-color: #e6e6e6;
      color: #212588;
      margin-bottom: 12px;
      box-sizing: border-box;
  }

  .vdw_textarea {
      resize: vertical;
      min-height: 60px;
  }

  .vdw_submit {
      background-color: #7072CF;
      color: white;
      font-weight: bold;
      border: none;
      cursor: pointer;
  }

  .vdw_submit:hover {
      background-color: #212588;
  }
  /* Login container */
  .vdw_login-container {
    background-color: #AFB0E4;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
    text-align: center;
    margin: auto;
  }
  /* Titel */
  .vdw_login-title {
    color: #212588;
    font-size: 24px;
    margin-bottom: 20px;
  }
  /* Formulier structuur */
  .vdw_login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  /* Input velden */
  .vdw_login-input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #7072CF;
    border-radius: 5px;
    box-sizing: border-box;
    background-color: #fff;
  }
  /* Wachtwoord + oog icoon */
  .vdw_input-group {
    position: relative;
  }

  .vdw_input-group i {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-size: 18px;
    color: #707070;
    cursor: pointer;
  }
  /* Captcha */
  .vdw_captcha {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .vdw_captcha-text {
    padding: 5px 10px;
    border: 1px solid #7072CF;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    color: #212588;
    background-color: #FFF;
  }
  /* Inlogknop */
  .vdw_login-button {
    padding: 10px;
    background-color: #212588;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
  }

  .vdw_login-button:hover {
    background-color: #7072CF;
  }
  /* Welkom-styling */
  .vdw_welcome-container {
    background-color: #DFF6FF;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
  }

  .vdw_welcome-title {
    color: #212588;
    font-size: 28px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .vdw_last-login {
    color: #4A4A4A;
    font-size: 16px;
    margin-bottom: 15px;
  }

  .vdw_welcome-message {
    color: #5D5D5D;
    font-size: 18px;
    margin-bottom: 20px;
  }

  .vdw_logout-button {
    padding: 10px;
    background-color: #FF5E5E;
    color: #FFFFFF;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
  }

  .vdw_logout-button:hover {
    background-color: #FF7878;
  }

  .vdw_forgot-button {
      display: inline-block;
      margin-top: 10px;
      padding: 10px;
      font-size: 14px;
      background-color: #999;
      color: #fff;
      text-align: center;
      text-decoration: none;
      border-radius: 5px;
      transition: background-color 0.3s ease;
  }

  .vdw_forgot-button:hover {
      background-color: #666;
  }

  .vdw_form-wide {
      max-width: 900px;
      width: 90%;
      margin: 50px auto;
      padding: 20px;
      background-color: #AFB0E4;
      border: 1px solid #7072CF;
      border-radius: 10px;
      position: relative;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  .vdw_detail-block {
      max-width: 900px;
      width: 90%;
      margin: 50px auto;
      padding: 20px;
      border-radius: 10px;
      background-color: #ffffff;
      border: 1px solid #7072CF;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .vdw_detail-item {
      margin-bottom: 15px;
  }

  .vdw_detail-item label {
      font-weight: bold;
      color: #212588;
      display: block;
      margin-bottom: 5px;
  }

  .vdw_detail-item span {
      display: block;
      font-size: 16px;
  }

  .vdw_detail-item a {
      color: inherit;
      text-decoration: none;
      font-weight: bold;
      font-style: italic;
  }

  .vdw_detail-item a:hover {
      color: #7072CF;
  }

  .vdw_close-button {
      position: absolute;
      top: 15px;
      right: 25px;
      font-size: 28px;
      font-weight: bold;
      color: #212588;
      text-decoration: none;
  }

  .vdw_close-button:hover {
      color: #7072CF;
  }

  .vdw_back-container {
      text-align: center;
      margin-top: 30px;
  }

  .vdw_calendar-container {
      width: 90%;
      max-width: 1200px;
      margin: 40px auto;
      padding: 20px;
      background-color: #AFB0E4;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

  .vdw_calendar-header {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 15px;
      gap: 10px;
  }

  .vdw_calendar-header h2 {
      margin: 0;
      font-size: 22px;
      color: #212588;
  }

  .vdw_calendar-header .vdw_button {
      padding: 8px 14px;
  }

  .vdw_calendar-week {
      margin-top: 20px;
  }

  .vdw_calendar-table {
      width: 100%;
      border-collapse: collapse;
      background-color: #E6E6E6;
  }

  .vdw_calendar-table th,
  .vdw_calendar-table td {
      padding: 10px;
      border: 1px solid #CCCCCC;
      text-align: left;
      vertical-align: top;
  }

  .vdw_calendar-table th {
      background-color: #7072CF;
      color: white;
      position: sticky;
      top: 0;
      z-index: 1;
  }

  .vdw_calendar-cell {
      padding: 10px;
      background-color: #CCCCCC;
      text-align: center;
      border-radius: 5px;
      cursor: pointer;
  }

  .vdw_calendar-cell:hover {
      background-color: #7072CF;
      color: white;
  }

  .past-date {
      background-color: #A5D6A7 !important;
  }

  .vdw_agenda-modal {
      display: none;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background-color: white;
      border-radius: 10px;
      padding: 20px;
      width: 400px;
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
      z-index: 999;
  }

  .vdw_agenda-modal h3 {
      margin-top: 0;
      color: #212588;
  }

  .vdw_agenda-modal label {
      font-weight: bold;
      color: #212588;
      display: block;
      margin: 10px 0 5px;
  }

  .vdw_agenda-modal input,
  .vdw_agenda-modal select {
      width: 100%;
      padding: 8px;
      margin-bottom: 12px;
      border: 1px solid #ccc;
      border-radius: 5px;
      font-family: Arial, sans-serif;
  }

  .vdw_agenda-modal button {
      width: 48%;
      padding: 10px;
      margin: 5px 1%;
      border: none;
      border-radius: 5px;
      cursor: pointer;
  }

  .vdw_agenda-modal button[type="submit"] {
      background-color: #7072CF;
      color: white;
  }

  .vdw_agenda-modal button[type="button"] {
      background-color: #E6E6E6;
      color: #212588;
  }

  .vdw_agenda-modal button:hover[type="submit"] {
      background-color: #212588;
  }

  .vdw_agenda-modal button:hover[type="button"] {
      background-color: #CCCCCC;
  }

  .vdw_filter-container {
      display: flex;
      align-items: center;
      justify-content: center; /* ❗ Zorgt dat inhoud gecentreerd staat */
      gap: 15px;
      margin: 20px auto;
      padding: 20px;
      width: 90vw;
      background-color: #F8F8FF;
      border: 1px solid #212588;
      border-radius: 10px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .vdw_filter-container label {
      font-size: 14px;
      font-weight: bold;
  }

  .vdw_filter-select {
      padding: 6px 12px;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-family: Arial, sans-serif;
      font-size: 14px;
      background-color: #fdfdfd;
      min-width: 180px;
  }

  .vdw_select {
      padding: 5px 10px;
      font-size: 14px;
      border-radius: 5px;
      border: 1px solid #ccc;
      background-color: #fff;
      cursor: pointer;
  }

  .vdw_file-input-wrapper {
      position: relative;
      display: inline-block;
  }

  .vdw_file-input {
      display: none;
  }

  .vdw_bestandsnaam {
      display: block;
      margin-top: 8px;
      font-size: 0.9em;
      color: #333;
  }

  .vdw_gallery-container {
      max-height: 95%;
      overflow-y: auto;
      padding: 20px;
      background-color: #f5f5f5;
      border: 1px solid #ccc;
  }

  .vdw_gallery-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
  }

  .vdw_gallery-item {
      text-align: center;
      font-family: Arial, sans-serif;
      position: relative;
  }

  .vdw_gallery-item img {
      width: 100%;
      max-height: 200px;
      object-fit: cover;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  }

  .vdw_gallery-preview {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    z-index: 10;
    border: 3px solid #ccc;
    background: #fff;
    padding: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
  }

  .vdw_gallery-preview img {
    max-width: 400px;
    max-height: 300px;
  }

  .vdw_gallery-caption {
    margin-top: 5px;
    font-size: 0.9em;
    color: #333;
    word-wrap: break-word;
  }

  .vdw_upload-form {
    margin-bottom: 20px;
  }

  .vdw_hover-preview {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    z-index: 9999;
    padding: 5px;
    background: #fff;
    border: 3px solid #aaa;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
  }

  .vdw_hover-preview img {
    max-width: 600px;
    max-height: 80vh;
    display: block;
  }

  @keyframes vdw_fadeInUp {
      to {
          opacity: 1;
          transform: translateY(0);
      }
  }

  @media (max-width: 600px) {
      .vdw_knoppen-container {
          flex-direction: column;
          flex-wrap: wrap;
      }

      .vdw_knop {
          width: 100% !important;
          box-sizing: border-box;
          text-align: left;
          padding: 10px 40px;
      }

      .vdw_container {
          width: 90%;
      }

      .vdw_dropdown,
      .vdw_input,
      .vdw_textarea,
      .vdw_submit {
          font-size: 14px;
          padding: 8px;
      }
  }

  .vdw_modal-content button:hover {
      background-color: #212588;
  }

  .vdw_modal-content .vdw_delete {
      background-color: #D94A4A;
      color: white;
  }

  .vdw_modal-content .vdw_delete:hover {
      background-color: #8B0000;
  }

  .vdw_modal-content .vdw_cancel {
      background-color: #E6E6E6;
      color: #212588;
  }

  .vdw_modal-content .vdw_cancel:hover {
      background-color: #CCCCCC;
  }

.vdw_td {
      background-color: white;
      position: relative;
      z-index: 1;
      overflow: hidden;
      text-overflow: ellipsis;
  }

.vdw_tr:hover .vdw_td {
    background-color: #212588;
    color: white;
}
.vdw_tr:hover .vdw_td-right,
.vdw_tr:hover .vdw_td-center {
    background-color: #212588;
    color: white;
}

.vdw_tr.vdw_checked:hover td {
    background-color: #212588 !important;
    color: white !important;
}

 .vdw_tr.vdw_started:hover td {
    background-color: #212588 !important;
    color: white !important;
}

 .vdw_tr.vdw_wait:hover td {
    background-color: #212588 !important;
    color: white !important;
}

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}


  .vdw_button-container {
    margin-top: auto;
    padding: 20px;
  }

/* Added styles for modal compact input fields */
.vdw_modal-content form {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.vdw_modal-content form > div {
  flex: 1 1 45%;
  min-width: 200px;
}

.vdw_modal-content label {
  display: block;
  margin-bottom: 4px;
  font-weight: bold;
}

.vdw_tr:hover .vdw_td-center {
    background-color: #212588;
    color: white;
}

.vdw_checked {
    background-color: #e0ffe0; /* zachtgroen bijvoorbeeld */
    color: black;              /* zorg dat de tekst goed zichtbaar blijft */
    font-weight: bold;
}
.vdw_tr.vdw_checked {
    background-color: #e0ffe0 !important;
    color: black !important;
    font-weight: bold;
}
.vdw_tr.vdw_checked .vdw_td {
    background-color: #e0ffe0 !important;
    color: black !important;
    font-weight: bold;
}
.vdw_tr.vdw_checked .vdw_td-right,
.vdw_tr.vdw_checked .vdw_td-center {
    background-color: #e0ffe0 !important;
    color: black !important;
    font-weight: bold;
}
.vdw_tr.vdw_checked td {
    background-color: #e0ffe0 !important;
    color: black !important;
    font-weight: bold;
}

/* Added styles for vdw_started and vdw_wait */
.vdw_tr.vdw_started,
.vdw_tr.vdw_started td,
.vdw_tr.vdw_started .vdw_td,
.vdw_tr.vdw_started .vdw_td-center,
.vdw_tr.vdw_started .vdw_td-right {
    background-color: #fffccf !important; /* zachtgeel voor bezig */
    color: black !important;
    font-weight: bold;
}

.vdw_tr.vdw_wait,
.vdw_tr.vdw_wait td,
.vdw_tr.vdw_wait .vdw_td,
.vdw_tr.vdw_wait .vdw_td-center,
.vdw_tr.vdw_wait .vdw_td-right {
    background-color: #e0e0ff !important; /* lichtblauw/lila voor wacht */
    color: black !important;
    font-weight: bold;
}

/* Kolom-breedtes */
.vdw_col-5 { width: 5%; }
.vdw_col-10 { width: 10%; }
.vdw_col-15 { width: 15%; }

/* Celstijlen voor smalle kolommen */
.vdw_td-opdracht {
    white-space: normal;
    word-break: break-word;
}

/* Sorteerbare kolommen */
.vdw_sortable {
  cursor: pointer;
}
.vdw_sortable:after {
  content: ' ⇅';
  font-size: 0.8em;
  color: #999;
}
.vdw_sorted-asc:after {
  content: ' ▲';
}
.vdw_sorted-desc:after {
  content: ' ▼';
}


  .vdw_total-bar {
      background-color: #fff;
      border-bottom: 2px solid #7072CF;
      border-top: 2px solid #7072CF;
      padding: 10px 0;
      position: relative;
      text-align: right;
      z-index: 1;
  }
  .vdw_budget-total {
    padding: 8px;
    font-weight: bold;
    border: 1px solid #ccc;
  }

/* Statuskleuren */
td.vdw_status-wacht {
    background-color: #f9e6e6 !important;
    color: #b30000 !important;
  }

.td.vdw_status-todo {
    background-color: #fff6cc !important;
    color: #a67c00 !important;
}
td.vdw_status-oh {
    background-color: #e6f0ff !important;
    color: #004085 !important;
}
td.vdw_status-klaar {
    background-color: #e6ffe6 !important;
    color: #006600 !important;
}

.vdw_td-opmerking {
    white-space: normal;
    word-break: break-word;
    line-height: 1.2; /* zorgt voor consistentie */
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .vdw_filter-box {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
    background-color: #f9f9f9;
  }
  .vdw_filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }
  .vdw_lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }
  .vdw_lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    border: 4px solid white;
    border-radius: 6px;
  }
  .vdw_lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: white;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 0 15px;
    cursor: pointer;
    user-select: none;
    z-index: 10000;
  }
  .vdw_lightbox-arrow.left {
    left: 10px;
  }
  .vdw_lightbox-arrow.right {
    right: 10px;
  }
  .vdw_lightbox-caption {
    position: absolute;
    bottom: 30px;
    color: white;
    font-size: 1rem;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 6px 12px;
    border-radius: 4px;
  }
  .vdw_dropzone {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 10px 20px;
    text-align: center;
    color: #666;
    margin: 0;
    max-width: 600px;
  }
  .vdw_dropzone.dragover {
    border-color: #999;
    background-color: #f9f9f9;
  }
  
  .vdw_td-verleden {
    background-color: #f0f0f0;
}

.vdw_klaar {
    color: #999;
    text-decoration: line-through;
}