/* Announced pickups: full-width grid, compact customer filters and statistics. */
#frm_PickupRequest_Popup .pickup-request-layout { width:100%!important; table-layout:fixed; border-spacing:0 8px; }
#frm_PickupRequest_Popup .pickup-request-statuses { display:flex; flex-wrap:wrap; gap:6px; }
#frm_PickupRequest_Popup .pickup-request-statuses > div { float:none!important; margin:0!important; font-size:12px!important; }
#frm_PickupRequest_Popup .pickup-request-statuses label { display:flex; align-items:center; gap:5px; padding:7px 10px; background:#f4f7fa; border:1px solid #dce6ec; border-radius:8px; cursor:pointer; }
#frm_PickupRequest_Popup .pickup-request-statuses label:has(input:checked) { background:#e0f1ef; border-color:#84bfc1; color:#166b70; }
#frm_PickupRequest_Popup #CustomerList { width:100%; max-height:110px; overflow:auto; }
#frm_PickupRequest_Popup #CustomerList table,
#frm_PickupRequest_Popup #CustomerList tbody { display:block; width:100%; }
#frm_PickupRequest_Popup #CustomerList tbody { display:flex; flex-wrap:wrap; align-items:center; gap:6px; }
#frm_PickupRequest_Popup #CustomerList tr { display:contents; }
#frm_PickupRequest_Popup #CustomerList td { display:block; padding:0!important; border:0!important; }
#frm_PickupRequest_Popup #CustomerList a { display:block; padding:6px 10px; border:1px solid #dce6ec; border-radius:8px; color:#166b70; background:#f4f9f9; text-decoration:none; }
#frm_PickupRequest_Popup #CustomerList a:hover { background:#deefed; }
#frm_PickupRequest_Popup #Grid,
#frm_PickupRequest_Popup #ListPopupPickupRequestGrid,
#frm_PickupRequest_Popup .flexigrid { width:100%!important; min-width:0; }
#frm_PickupRequest_Popup .flexigrid .hDiv th,
#frm_PickupRequest_Popup .flexigrid .bDiv td { padding:0!important; border-left:0; border-right:1px solid #e8eef1; }
#frm_PickupRequest_Popup .flexigrid .hDiv th > div,
#frm_PickupRequest_Popup .flexigrid .bDiv td > div { box-sizing:content-box; padding:7px 6px!important; line-height:1.6; }
#frm_PickupRequest_Popup .flexigrid .bDiv { height:48vh!important; height:48dvh!important; min-height:220px; }
#frm_PickupRequest_Popup #DriverList { border:1px solid #dce6ec; border-radius:12px; background:white; margin-top:8px; }
#frm_PickupRequest_Popup #DriverList:empty { display:none; }
#frm_PickupRequest_Popup #DriverList table { border-collapse:separate; border-spacing:0; width:100%; }
#frm_PickupRequest_Popup #DriverList thead tr,
#frm_PickupRequest_Popup #DriverList thead th,
#frm_PickupRequest_Popup #DriverList thead td { background:#edf6f5!important; color:#356970!important; }
#frm_PickupRequest_Popup #DriverList th,
#frm_PickupRequest_Popup #DriverList td { padding:9px 10px!important; border:0!important; border-bottom:1px solid #e5edf1!important; font-size:12px; line-height:1.6; }
#frm_PickupRequest_Popup #DriverList tbody tr:nth-child(odd) td { background:#fff; }
#frm_PickupRequest_Popup #DriverList tbody tr:nth-child(even) td { background:#f7fafb; }
#frm_PickupRequest_Popup #DriverList tbody tr:hover td { background:#e6f3f1; }
#frm_PickupRequest_Popup #DriverList a { color:#166b70; }

/* Keep dates after the customer chips in the same filter row. */
#frm_PickupRequest_Popup .pickup-request-filters{display:flex;align-items:center;gap:10px;min-width:0}
#frm_PickupRequest_Popup .pickup-request-filters #CustomerList{flex:1 1 auto;width:auto;min-width:0}
#frm_PickupRequest_Popup .pickup-request-dates{display:flex;align-items:center;gap:8px;flex:0 0 auto;white-space:nowrap}
#frm_PickupRequest_Popup .pickup-request-dates input{margin:0;box-sizing:border-box}
@media(max-width:600px){#frm_PickupRequest_Popup .pickup-request-filters{flex-wrap:wrap}#frm_PickupRequest_Popup .pickup-request-filters #CustomerList{flex-basis:100%}#frm_PickupRequest_Popup .pickup-request-dates{flex-wrap:wrap;max-width:100%}}
#frm_PickupRequest_Popup .pickup-request-filters{flex-wrap:wrap}
#frm_PickupRequest_Popup .pickup-request-dates{flex-wrap:wrap;flex:1 1 100%;white-space:normal}
#frm_PickupRequest_Popup .pickup-request-dates label{display:flex;align-items:center;gap:6px}
#frm_PickupRequest_Popup .pickup-request-dates select{max-width:220px;min-width:120px}
#PickupBulkGeoProgress{font-weight:bold;color:#167b80}

#frm_PickupRequest_Popup .pickup-request-dates select,
#frm_PickupRequest_Popup #PickupStart,
#frm_PickupRequest_Popup #PickupEnd{height:40px!important;min-height:40px!important;box-sizing:border-box;font-size:14px!important}
#frm_PickupRequest_Popup #PickupStart,
#frm_PickupRequest_Popup #PickupEnd{width:140px!important;padding:8px 12px!important;border:1px solid #ccd9e1!important;border-radius:9px!important;background:#fff;font-family:inherit;direction:ltr}

#frm_PickupRequest_Popup .pickup-request-dates{gap:8px;align-items:center}
#frm_PickupRequest_Popup .pickup-request-dates>label{gap:5px;white-space:nowrap}
#frm_PickupRequest_Popup .pickup-request-dates select{min-width:110px;max-width:180px}

#frm_PickupRequest_Popup .pickup-filter-field{display:flex;align-items:center;gap:5px;white-space:nowrap}

#frm_PickupRequest_Popup .pickup-request-dates{flex-wrap:wrap!important;gap:8px;min-width:0}
#frm_PickupRequest_Popup .pickup-request-dates>label,#frm_PickupRequest_Popup .pickup-filter-field{min-width:160px;flex:1 1 180px}
#frm_PickupRequest_Popup .pickup-request-dates select{width:100%;min-width:65px;max-width:none}
#frm_PickupRequest_Popup #PickupStart,#frm_PickupRequest_Popup #PickupEnd{width:115px!important;flex:0 1 115px;min-width:90px}
.pickup-fullscreen{border-radius:0!important}
.pickup-fullscreen #frm_PickupRequest_Popup .flexigrid .bDiv{height:calc(100dvh - 260px)!important}

.pickup-calendar-actions{padding:8px;text-align:center;border-top:1px solid #dce5eb;background:#fff}
.pickup-calendar-actions button{width:100%;cursor:pointer}

#frm_PickupRequest_Popup .pickup-date-range{display:flex;align-items:center;gap:8px;flex:0 0 auto;flex-wrap:nowrap}
#frm_PickupRequest_Popup .pickup-date-range input{flex:0 0 auto;width:auto}
