
/* wep-tagpicker.css  –  past bij Bootstrap 5 + Wepsysteem oranje thema */
 
.wep-tp-wrap {
    position: relative;
}
 
/* Het klikbare veld (vervangt de <select>) */
.wep-tp-field {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 5px;
    min-height: 38px;
    padding: 5px 8px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    cursor: text;
    transition: border-color .15s, box-shadow .15s;
}
.wep-tp-field:focus-within {
    border-color: #e07830;
    box-shadow: 0 0 0 0.2rem rgba(224,120,48,.2);
    outline: none;
}
 
/* Tags (geselecteerde items) */
.wep-tp-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fef0e6;
    color: #8a3e0a;
    border: 1px solid #f5c08a;
    border-radius: 20px;
    font-size: 12px;
    padding: 2px 8px 2px 10px;
    line-height: 1.4;
    max-width: 100%;
    word-break: break-word;
}
.wep-tp-tag .wep-tp-remove {
    font-size: 16px;
    line-height: 1;
    color: #b05020;
    cursor: pointer;
    padding: 0 1px;
    flex-shrink: 0;
}
.wep-tp-tag .wep-tp-remove:hover {
    color: #802010;
}
 
/* Zoekinput binnen het veld */
.wep-tp-input {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    font-size: 13px;
    color: #212529;
    flex: 1 1 80px;
    min-width: 80px;
    padding: 2px 0 !important;
    height: auto !important;
    line-height: 1.4;
}
.wep-tp-input::placeholder {
    color: #adb5bd;
}
 
/* Dropdown */
.wep-tp-drop {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    margin-top: 3px;
    max-height: 220px;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.wep-tp-drop.open {
    display: block;
}
 
/* Header in dropdown (teller / zoekinfo) */
.wep-tp-drop-hdr {
    font-size: 11px;
    color: #6c757d;
    padding: 6px 10px 4px;
    border-bottom: 1px solid #f0f0f0;
    text-transform: uppercase;
    letter-spacing: .04em;
    position: sticky;
    top: 0;
    background: #fff;
}
 
/* Opties in dropdown */
.wep-tp-opt {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 7px 10px;
    font-size: 13px;
    cursor: pointer;
    color: #212529;
    line-height: 1.4;
    transition: background .08s;
}
.wep-tp-opt:hover {
    background: #f8f9fa;
}
.wep-tp-opt.selected {
    background: #fdf5ef;
    color: #8a3e0a;
}
 
/* Checkbox-icoontje */
.wep-tp-chk {
    width: 15px;
    height: 15px;
    min-width: 15px;
    border-radius: 3px;
    border: 1px solid #ced4da;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    font-size: 11px;
    color: transparent;
    flex-shrink: 0;
}
.wep-tp-opt.selected .wep-tp-chk {
    background: #e07830;
    border-color: #e07830;
    color: #fff;
}
 
/* Geen resultaten melding */
.wep-tp-nores {
    padding: 8px 10px;
    font-size: 13px;
    color: #6c757d;
    font-style: italic;
}
 
/* Zoekterm highlight in dropdown */
.wep-tp-hl {
    background: #fde8cc;
    border-radius: 2px;
    color: #8a3e0a;
    font-weight: 500;
}
 
/* Hint onder het veld ("3 items geselecteerd") */
.wep-tp-hint {
    font-size: 11px;
    color: #6c757d;
    margin-top: 4px;
    min-height: 16px;
}