/* NCAS Flight History v0.7.0 */
.history-container{max-width:1850px;margin:auto;padding:22px 2% 42px;color:#202a36}
.history-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:5px 2px 22px}
.history-intro h1{font-size:30px;margin:3px 0 8px}
.history-intro p{margin:0;color:#728093;font-size:13px}
.history-eyebrow{color:#c91b35!important;font-size:11px!important;letter-spacing:1.8px;font-weight:800}
.history-totals{display:flex;gap:10px;flex-wrap:wrap}
.history-totals>div{background:white;border:1px solid #e6e9ef;border-radius:11px;min-width:132px;padding:12px 15px}
.history-totals span{display:block;font-size:11px;color:#758294;margin-bottom:5px}
.history-totals strong{font-size:24px;color:#192535}
.history-panel{background:#fff;border:1px solid #e5e9ef;border-radius:13px;box-shadow:0 5px 18px #21354b0b;margin-bottom:17px}
.history-filter{padding:20px}
.history-filter form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.history-filter label{display:flex;flex-direction:column;gap:6px;font-size:11px;color:#596779;font-weight:700}
.history-filter label.wide{grid-column:span 2}
.history-filter input,.history-filter select{width:100%;min-width:0;padding:10px 11px;border:1px solid #dfe4eb;border-radius:7px;background:#fff;font-size:13px;color:#263244}
.history-actions{display:flex;align-items:end;gap:16px;grid-column:span 2}
.history-actions button{background:#d80c26;color:#fff;border:0;border-radius:7px;padding:11px 17px;cursor:pointer;font-weight:700}
.history-actions a{color:#c60b26;font-size:13px;text-decoration:none;padding:11px 0}
.history-results-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:18px 20px;border-bottom:1px solid #e9ecf0}
.history-results-heading h2{font-size:19px;margin:0}
.history-results-heading p{margin:0;color:#738094;font-size:12px}
.history-scroll{overflow-x:auto}
.history-results table{width:100%;border-collapse:collapse;font-size:13px}
.history-results th{text-align:left;color:#788397;font-size:11px;font-weight:700;background:#f8fafc;padding:13px 14px;white-space:nowrap}
.history-results td{border-top:1px solid #edf0f3;padding:12px 14px;vertical-align:middle}
.history-results tbody tr:hover{background:#fffafa}
.history-results td small{display:block;color:#8994a3;font-size:10px;margin-top:4px}
.flight-call{color:#bc1531;font-weight:800;text-decoration:none}
.history-route{white-space:nowrap;font-weight:650}
.airline-logo{display:block;max-width:88px;max-height:36px;object-fit:contain}
.airline-fallback{color:#a9b3bf;font-size:20px}
.history-status{padding:5px 8px;border-radius:5px;font-size:10px;font-weight:800}
.status-clsd{background:#edf0f4;color:#566678}.status-prep{background:#fff4dd;color:#986612}.status-airb{background:#e5f7ea;color:#208c4d}.status-land{background:#e7effe;color:#2a5cb1}
.history-view{color:#c51b34;font-weight:750;text-decoration:none;white-space:nowrap}
.history-empty{text-align:center;padding:50px 15px!important;color:#748296}
.history-pagination{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;padding:19px}
.history-pagination a{border:1px solid #e0e4e9;border-radius:7px;padding:8px 11px;font-size:12px;text-decoration:none;color:#4a586b}
.history-pagination a[aria-current]{background:#c9142f;border-color:#c9142f;color:#fff}
.history-footer{padding:30px 0;text-align:center}
.history-footer .pn-branding{display:flex;flex-direction:column;align-items:center;gap:5px}
.history-footer .pn-branding__caption{font-size:10px;color:#8b95a3}
.history-footer .pn-branding__logo{width:140px;max-width:100%;height:auto}
@media(max-width:1100px){.history-intro{align-items:start;flex-direction:column}.history-filter form{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.history-container{padding:12px}.history-filter form{grid-template-columns:1fr}.history-filter label.wide,.history-actions{grid-column:span 1}.history-results-heading{align-items:start;flex-direction:column}.history-totals>div{min-width:100px;flex:1}}
