#workspace .ticket-search{display:flex;flex-wrap:wrap;align-items:end;gap:10px;padding:12px;margin:12px 0;background:#f2f8fa}
#workspace .ticket-search label{flex:1 0 110px;min-width:110px;margin:0;font-size:12px;line-height:1.4}
#workspace .ticket-search label:has(#ticket-query){order:0;flex:1.8 0 180px;min-width:180px}
#workspace .ticket-search label:has(#filter){order:1}
#workspace .ticket-search label:has(#ticket-priority){order:2}
#workspace .ticket-search #ticket-assignment-label{order:3;flex-basis:140px;min-width:140px}
#workspace .ticket-search label:has(#ticket-created-from){order:4;flex-basis:150px;min-width:150px}
#workspace .ticket-search label:has(#ticket-created-to){order:5;flex-basis:150px;min-width:150px}
#workspace .ticket-search label:has(#ticket-order){order:6;flex-basis:135px;min-width:135px}
#workspace .ticket-search input,#workspace .ticket-search select{height:36px;min-height:36px;font-size:12px;margin-top:5px;padding:7px 8px}
.ticket-filter-actions{order:7;flex:0 0 100%;display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;padding-top:8px;border-top:1px solid #d8e7ed}
#workspace .ticket-search button{width:auto;min-height:36px;font-size:12px;padding:8px 13px;white-space:nowrap;flex:0 0 auto}
.tickets .heading{margin:0 0 10px}.tickets .table-wrap{max-width:100%;overflow-x:auto}
.tickets table{min-width:1080px}.tickets th,.tickets td{padding:12px;font-size:13px;vertical-align:middle}
.tickets th{background:#f2f7f9;color:#244a5c;white-space:nowrap}
.tickets td:nth-child(2){min-width:220px;max-width:360px}.ticket-date{min-width:150px;white-space:nowrap;color:#526a77}
.ticket-status,.ticket-priority{white-space:nowrap;text-transform:capitalize}
.ticket-status[data-status=open]{color:#1c6a80}.ticket-status[data-status=in_progress]{color:#7a5300}.ticket-status[data-status=resolved]{color:#226341}.ticket-status[data-status=closed]{color:#566875}
.ticket-priority[data-priority=urgent]{color:#a12731;font-weight:750}.ticket-priority[data-priority=high]{color:#855400;font-weight:700}
.tickets td:nth-child(5){max-width:240px;overflow-wrap:anywhere}.tickets tbody tr:hover{background:#f7fbfc}
@container(max-width:500px){
 #workspace .ticket-search label{flex-basis:100%;min-width:0}
 #workspace .ticket-search label:has(#ticket-query),#workspace .ticket-search #ticket-assignment-label,#workspace .ticket-search label:has(#ticket-created-from),#workspace .ticket-search label:has(#ticket-created-to),#workspace .ticket-search label:has(#ticket-order){flex-basis:100%;min-width:0}
 .ticket-filter-actions{justify-content:flex-start}
}
