/* Generieke timepicker — Outlook-stijl dropdown met slimme parsing.
   Gebruik: <input type="text" class="pa-timepicker"> */

.pa-timepicker-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.pa-timepicker {
    width: 100%;
    padding: 6px 28px 6px 10px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #333333;
    outline: none;
    box-sizing: border-box;
    background: #ffffff;
}

.pa-timepicker:focus {
    border-color: #396BC4;
    box-shadow: 0 0 0 3px rgba(57, 107, 196, 0.15);
}

.pa-timepicker.invalid {
    border-color: #df5138;
}

.pa-timepicker.invalid:focus {
    box-shadow: 0 0 0 3px rgba(223, 81, 56, 0.15);
}

.pa-timepicker-wrapper > .pa-timepicker-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    pointer-events: none;
    font-size: 13px;
}

.pa-timepicker-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    max-height: 240px;
    overflow-y: auto;
    z-index: 9999;
    display: none;
}

.pa-timepicker-option {
    padding: 8px 12px;
    cursor: pointer;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #333333;
}

.pa-timepicker-option:hover,
.pa-timepicker-option.active {
    background: rgba(57, 107, 196, 0.1);
    color: #396BC4;
}
