/* AbanRah V31: scope styling to truck details and the two always-visible GET filters. */
.abanrah-content .ar-v31-truck-detail { width:100%; max-width:1380px; margin:0 auto 24px; padding:clamp(8px,1.25vw,16px); min-width:0; color:#20364f; }
.ar-v31-truck-detail :is(h1,h2,p,dl,dt,dd) { margin:0; }
.ar-v31-truck-hero {display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;background:linear-gradient(115deg,#182d56,#28427a);border-radius:16px;color:#fff;padding:18px 22px;box-shadow:0 9px 25px rgba(24,45,86,.1);}
.ar-v31-hero-main,.ar-v31-hero-actions {display:flex;align-items:center;flex-wrap:wrap;gap:12px;min-width:0;}
.ar-v31-hero-main {flex:1 1 280px;}
.ar-v31-hero-icon {display:grid;place-items:center;width:46px;height:46px;background:rgba(255,255,255,.12);border-radius:12px;font-size:21px;flex-shrink:0;}
.ar-v31-hero-text {min-width:0;}
.ar-v31-eyebrow {display:block;font-size:11px;opacity:.82;margin-bottom:3px;}
.ar-v31-hero-text h1 {font-size:clamp(18px,2vw,23px);font-weight:800;line-height:1.65;color:inherit;}
.ar-v31-hero-plate {display:inline-flex;margin-top:5px;}
.ar-v31-hero-actions .btn {white-space:nowrap;font-size:12px;padding:7px 11px;border-radius:9px;}
.ar-v31-status {display:inline-flex;align-items:center;gap:6px;padding:7px 11px;font-size:12px;font-weight:700;border-radius:8px;}
.ar-v31-status.is-active {background:#def9e9;color:#08643a;}.ar-v31-status.is-inactive {background:#ffe8e8;color:#9a2929;}
.ar-v31-quick-facts {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0 16px;}
.ar-v31-fact {min-width:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;background:#fff;border:1px solid #dce6f0;border-radius:12px;padding:11px 14px;}
.ar-v31-fact small {color:#617590;font-size:11px;font-weight:650;}.ar-v31-fact strong {font-size:13px;min-width:0;max-width:100%;overflow-wrap:anywhere;}
.ar-v31-info-columns {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.ar-v31-section {background:#fff;border:1px solid #dce6f0;border-radius:14px;padding:17px;margin-bottom:14px;min-width:0;box-shadow:0 4px 16px rgba(34,57,90,.035);}
.ar-v31-section-title {display:flex;align-items:center;gap:9px;border-bottom:1px solid #e5edf5;padding-bottom:10px;margin-bottom:12px;color:#233c73;}
.ar-v31-section-title i {display:grid;place-items:center;color:#284c90;background:#edf3fc;border-radius:9px;width:31px;height:31px;}
.ar-v31-section-title h2 {font-size:15px;line-height:1.6;font-weight:800;}
.ar-v31-data-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
.ar-v31-data-grid > div {min-width:0;border:1px solid #e7edf4;border-radius:9px;padding:10px 12px;background:#f9fbff;}
.ar-v31-data-grid .ar-v31-wide {grid-column:1/-1;}
.ar-v31-data-grid dt {font-weight:650;font-size:11px;color:#63768e;margin-bottom:5px;}
.ar-v31-data-grid dd {font-weight:680;font-size:13px;line-height:1.75;overflow-wrap:anywhere;color:#20344f;}
.ar-v31-data-grid dd a,.ar-v31-expiry-item a {color:#1d629f;text-decoration:none;}
.ar-v31-expiry-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.ar-v31-expiry-item {min-width:0;border:1px solid #e0e8f2;background:#f8fbff;border-radius:10px;padding:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;}
.ar-v31-expiry-item > div {display:flex;flex-direction:column;gap:4px;}
.ar-v31-expiry-item small {color:#63768e;font-size:11px;}.ar-v31-expiry-item strong {font-size:14px;}.ar-v31-expiry-item strong.is-warning {color:#bd3f35;}
.ar-v31-expiry-item > a {font-size:12px;font-weight:700;display:inline-flex;align-items:center;gap:6px;}
.ar-v31-doc-section .docs-grid {display:grid;grid-template-columns:repeat(auto-fill,minmax(min(135px,100%),1fr));gap:10px;}
.ar-v31-doc-section .doc-item {border:1px solid #e1e9f3;border-radius:11px;background:#fafcff;overflow:hidden;min-width:0;padding:10px;text-align:center;}
.ar-v31-doc-section .doc-preview {display:grid;place-items:center;min-height:95px;max-height:130px;overflow:hidden;border-radius:8px;background:#edf3f9;}
.ar-v31-doc-section .doc-preview img {display:block;max-width:100%;height:94px;object-fit:contain;}
.ar-v31-doc-section .no-doc {font-size:29px;color:#8b9cb5;}
.ar-v31-doc-section .doc-name {font-size:12px;font-weight:650;margin-top:8px;color:#34516e;}
.ar-v31-doc-section .doc-preview video {width:100%;max-height:95px;}
.ar-v31-truck-empty {padding:28px;border:1px solid #dce6f0;background:#fff;border-radius:12px;}
/* Plate components each establish their own bidi context; don't split digit runs. */
.ar-v31-plate {display:inline-flex!important;align-items:center;gap:0;direction:ltr!important;unicode-bidi:isolate!important;white-space:nowrap!important;flex-wrap:nowrap!important;font-family:Tahoma,Arial,sans-serif;font-weight:800;letter-spacing:0;font-variant-numeric:tabular-nums;line-height:1.45;max-width:100%;}
.ar-v31-plate > span {unicode-bidi:isolate;display:inline-block;white-space:nowrap;flex-shrink:0;}
.ar-v31-plate > .ar-v31-plate-gap {width:6px;}
.ar-v31-plate-fallback {display:inline-block;white-space:nowrap;unicode-bidi:isolate;font-family:Tahoma,Arial,sans-serif;max-width:100%;}
.ar-v31-truck-list-plate {white-space:nowrap;min-width:max-content;display:flex;align-items:center;justify-content:center;font-size:13px;}
.ar-v29-truck-table th:nth-child(2),.ar-v29-truck-table td:nth-child(2) {min-width:160px!important;white-space:nowrap!important;}
.ar-v31-hero-plate .ar-v31-plate,.ar-v31-hero-plate .ar-v31-plate-fallback {color:#fff;font-size:18px;}
.ar-v31-fact .ar-v31-plate {font-size:15px;}
/* Only travel + accounting filters: always visible, compact and centered. */
body.abanrah-app-body .abanrah-content .ar-v31-fixed-filter {padding:10px 12px!important;margin-block:8px 12px!important;max-width:100%!important;min-height:0!important;background:#fff!important;border:1px solid #dbe7f1!important;border-radius:12px!important;box-shadow:0 3px 12px rgba(32,62,110,.04)!important;}
body.abanrah-app-body .abanrah-content .ar-v31-fixed-filter > :is(h3,h4,h5,.ar-section-heading) {min-height:0!important;margin:0 auto 8px!important;font-size:13px!important;line-height:1.5!important;padding:0!important;text-align:center!important;}
body.abanrah-app-body .abanrah-content .ar-v31-fixed-filter > form {margin:0 auto!important;max-width:1140px!important;width:100%!important;padding:0!important;}
body.abanrah-app-body .abanrah-content .ar-v31-fixed-filter .ar-filter-grid {display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr))!important;gap:8px!important;}
body.abanrah-app-body .abanrah-content .ar-v31-fixed-filter .ar-field {min-width:0!important;}
body.abanrah-app-body .abanrah-content .ar-v31-fixed-filter .ar-field label {margin-bottom:3px!important;font-size:11px!important;}
body.abanrah-app-body .abanrah-content .ar-v31-fixed-filter :is(input.form-control,select.form-control) {min-width:0!important;width:100%!important;max-width:100%!important;height:36px!important;min-height:36px!important;font-size:12px!important;}
body.abanrah-app-body .abanrah-content .ar-v31-fixed-filter .ar-filter-actions {display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;gap:7px!important;margin:10px 0 0!important;}
body.abanrah-app-body .abanrah-content .filter-container.ar-v31-fixed-filter > form > .d-flex:first-child {display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr))!important;gap:8px!important;align-items:stretch!important;margin:0!important;}
body.abanrah-app-body .abanrah-content .filter-container.ar-v31-fixed-filter .form-group {margin:0!important;min-width:0!important;width:100%!important;}
body.abanrah-app-body .abanrah-content .filter-container.ar-v31-fixed-filter .form-group > :is(input,select) {max-width:100%!important;min-width:0!important;width:100%!important;}
body.abanrah-app-body .abanrah-content .filter-container.ar-v31-fixed-filter > form > .d-flex:last-child {display:flex!important;justify-content:center!important;flex-wrap:wrap!important;gap:7px!important;margin:10px 0 0!important;}
body.abanrah-app-body .abanrah-content .ar-v31-fixed-filter .btn {font-size:11.5px!important;min-height:32px!important;padding:6px 11px!important;}
@media(max-width:850px){.ar-v31-info-columns {grid-template-columns:1fr;}.ar-v31-quick-facts {grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:520px){.ar-v31-truck-hero {padding:14px;}.ar-v31-quick-facts,.ar-v31-expiry-grid,.ar-v31-data-grid {grid-template-columns:1fr;}.ar-v31-hero-actions {width:100%;}.ar-v31-truck-detail {padding:6px!important;}.ar-v31-truck-list-plate {font-size:11px;}}
