/* Algemene container */
.bev-aanb-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 48px auto;
    padding: 10px 0 30px 0;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 16px;
    color: #2a2d34;
}

/* Info box met voorwaarden */
.bev-info-box {
    background: #f5f9ff;
    border: 1.5px solid #c9defc;
    border-left: 5px solid #0073aa;
    border-radius: 7px;
    padding: 14px 22px 13px 18px;
    margin-bottom: 22px;
    color: #295489;
    font-size: 15.5px;
    box-shadow: 0 2px 8px -6px #b6d4fe;
}

.bev-info-box strong {
    color: #155394;
}

/* Compacte dropdowns in voorwaarden-zinnen */
.bev-info-box .bev-dd {
    width: 38px;
    min-width: 36px;
    max-width: 52px;
    padding: 2px 6px 2px 4px;
    font-size: 15px;
    border-radius: 3px;
    border: 1px solid #bbc8d7;
    background: #f9fafe;
    margin: 0 3px 0 3px;
    height: 22px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: none;
    transition: border 0.15s;
    vertical-align: baseline;
    line-height: 1.2;
}
.bev-info-box .bev-dd:focus {
    border-color: #0073aa;
    outline: none;
    background: #eef6fb;
}

/* Tabelopmaak */
table.widefat {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 32px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 14px -6px #bed6ef;
}

.widefat thead th {
    background: linear-gradient(90deg, #3393e6 85%, #b5d6fd 100%);
    color: #fff;
    font-weight: 600;
    padding: 13px 6px;
    font-size: 16px;
    border-bottom: 2px solid #21759b;
    text-align: center;
}
.widefat tbody td {
    padding: 10px 8px;
    border-bottom: 1px solid #e4eaf0;
    text-align: center;
    font-size: 15px;
    background: #fbfcfe;
}
.widefat tr:nth-child(even) td {
    background: #f4f8fc;
}
.widefat tr:hover td {
    background: #eaf4fd;
}

/* Linkjes in tabel */
.widefat a, .bev-aanb-container a {
    color: #1876c1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.14s;
}
.widefat a:hover, .bev-aanb-container a:hover {
    color: #005177;
    text-decoration: underline;
}

/* Status-indicatoren (vinkjes/kruisje) */
.status-indicator {
    font-size: 22px !important;
    font-weight: bold;
    vertical-align: middle;
    letter-spacing: 1px;
}
.status-indicator.green {
    color: #1db343;
    text-shadow: 0 0 2px #e1f3e4;
}
.status-indicator.red {
    color: #e04040;
    text-shadow: 0 0 2px #fbe2e2;
}

/* Kleine tijdsweergave onder datum */
.subtle-time {
    font-size: 12px;
    color: #888ea0;
    font-weight: normal;
    display: inline-block;
}

/* Kopjes boven tabellen */
.bev-aanb-container h2 {
    font-size: 21px;
    font-weight: 600;
    margin: 32px 0 9px 0;
    color: #245c90;
    letter-spacing: 0.01em;
    border-bottom: 1px solid #e6eef5;
    padding-bottom: 5px;
}

/* Responsive: op mobiel wat kleinere tekst/padding */
@media (max-width: 700px) {
    .bev-aanb-container {
        font-size: 14px;
    }
    .widefat thead th, .widefat tbody td {
        font-size: 13px;
        padding: 8px 3px;
    }
    .bev-info-box {
        font-size: 13.5px;
        padding: 11px 6px 10px 8px;
    }
    .bev-aanb-container h2 {
        font-size: 16px;
        padding-bottom: 3px;
    }
    .subtle-time {
        font-size: 10.5px;
    }
}
.bev-block {
    background: #f6faff;
    border: 1.5px solid #d7e7fa;
    border-radius: 12px;
    margin-bottom: 38px;
    padding: 18px 18px 10px 18px;
    box-shadow: 0 3px 16px -7px #bcd7ee;
    transition: box-shadow 0.18s;
}
.bev-block:hover {
    box-shadow: 0 7px 28px -9px #bcd7ee;
}
@media (max-width: 767px) {
  .bev-aanb-container {
    padding: 5px;
  }
  table.widefat, table.widefat thead, table.widefat tbody, table.widefat th, table.widefat td, table.widefat tr {
    display: block;
    width: 100%;
  }
  table.widefat thead {
    display: none;
  }
  table.widefat tr {
    margin-bottom: 18px;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    background: #fff;
    padding: 10px 5px 8px 5px;
  }
  table.widefat td {
    display: flex;
    align-items: center;
    padding: 6px 5px;
    border: none;
    border-bottom: 1px solid #f5f5f5;
    position: relative;
    width: 100%;
    font-size: 15px;
  }
  table.widefat td:last-child {
    border-bottom: none;
  }
  table.widefat td:before {
    content: attr(data-label);
    flex: 0 0 46%;
    font-weight: 600;
    color: #2370b8;
    margin-right: 6px;
    font-size: 14px;
    min-width: 110px;
  }
  .subtle-time {
    font-size: 12px;
    color: #777;
  }
  .bev-dd {
    width: 75px !important;
    font-size: 15px;
    display: inline-block;
  }
}
.bev-user-popover {
    border-bottom: 1px dashed #0073aa;
    cursor: pointer;
    color: #0073aa;
    font-weight: bold;
    position: relative;
}

#bev-popover {
    min-width: 250px;
    background: #fff;
    border: 1px solid #0073aa;
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
    border-radius: 10px;
    padding: 12px 16px;
    pointer-events: none;
    font-size: 14px;
    transition: opacity 0.1s;
    z-index: 10000;
}
.bev-popover-header {
    font-weight: bold;
    margin-bottom: 8px;
    color: #0073aa;
}
.bev-popover-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.bev-popover-list li {
    padding: 4px 0;
    border-bottom: 1px solid #eee;
}
.bev-popover-list li:last-child {
    border-bottom: none;
}
.bev-popover-date {
    font-family: monospace;
    background: #e0f2fa;
    border-radius: 4px;
    padding: 1px 6px;
    margin-right: 7px;
    color: #0073aa;
}
.bev-popover-subject {
    font-weight: normal;
}
.bev-popover-loading,
.bev-popover-noemails {
    font-style: italic;
    color: #888;
}
#bev-popover { position: fixed !important; z-index: 10000 !important; }
