/* status colors */
td.status-Delayed    { color:#dc3545; font-weight:700; }   /* red */
td.status-Cancelled  { color:#dc3545; font-weight:700; }   /* red */
td.status-Boarding   { color:#fd7e14; font-weight:700; }   /* orange */

/* optional (neutral) */
td.status-Active     { color:#198754; font-weight:700; }   /* green */
td.status-Scheduled  { color:#0d6efd; font-weight:600; }   /* blue */
td.status-FinalCall  { color:#fd7e14; font-weight:700; }   /* orange */
td.status-Departed   { color:#6c757d; }                    /* gray */
td.time-sched.changed { text-decoration: line-through; opacity:.65; }
td.time-est.changed { font-weight:700; }
td.time-est .delta { color:#dc3545; font-weight:700; margin-left:.25rem; }

/* status colours (optional) */
td.status-Delayed, td.status-Cancelled { color:#dc3545; font-weight:700; }
td.status-Boarding, td.status-FinalCall { color:#fd7e14; font-weight:700; }
td.status-Active, td.status-Arrived { color:#198754; font-weight:700; }
td.status-Scheduled { color:#0d6efd; font-weight:600; }
td.status-Departed { color:#6c757d; }
.airlogo{height:20px;vertical-align:middle}
.airlogo{height:20px;width:auto;object-fit:contain;vertical-align:middle}
.table td,.table th{vertical-align:middle}
.airlogo{height:20px;width:auto;object-fit:contain;vertical-align:middle}
.table td,.table th{vertical-align:middle}
td.logo-cell{width:84px;overflow:hidden}
.airlogo{height:18px;width:auto;object-fit:contain;display:block}
.table td,.table th{vertical-align:middle}
/* Dark theme */
html,body{background:#000;color:#eee}
a,code{color:#ddd}
.table{border-color:#333}
.table thead.table-light th{background:#111!important;color:#ccc!important;border-color:#333!important}
.table td,.table th{border-color:#333;background:transparent;color:#eee}
.table-striped tbody tr:nth-of-type(odd)>*{background:#0f0f0f}
.table-striped tbody tr:nth-of-type(even)>*{background:#141414}
.status{color:#ddd}
.status-Boarding{color:#ff8c00}
.status-Departed{color:#8aa0c8}
.changed .time-sched,.changed .time-est{font-weight:600}
.airlogo{height:18px;width:auto;object-fit:contain;filter:none}
/* status color overrides */
.table td.status-Boarding{color:#ff4444!important}
.table td.status-Departed{color:#8aa0c8!important}
.table td.status-Delayed{color:#ffb300!important}
.table td.status-Cancelled{color:#ff5757!important}
.table td.status-GateClosed{color:#f97316!important}
.table td.status-Expected{color:#9acd32!important}
.table td.status-Unknown{color:#bbbbbb!important}
/* if API uses "Check-in" */
.table td.status-Check-in{color:#22c55e!important}
/* white logo column on dark theme */
.table thead th:nth-child(4){background:#fff!important;color:#111!important}
.table tbody td:nth-child(4), td.logo-cell{background:#fff!important}
.airlogo{mix-blend-mode:normal!important;filter:none!important;height:18px;width:auto;display:block;margin:0 auto}
.table thead th:nth-child(4){background:transparent!important;color:#ccc!important;text-align:center}
.table tbody td:nth-child(4), td.logo-cell{background:transparent!important}
/* Dark header for merged Airline cell */
.table thead.table-light th:nth-child(4),
.table thead.table-light th[colspan="2"]{
  background:#111 !important; color:#ccc !important; border-color:#333 !important; text-align:center;
}
/* Dark body for the logo column */
.table tbody td:nth-child(4), td.logo-cell{ background:#141414 !important; }
.table thead.table-light th.airline-span{
  text-align:center!important;
  background:#111!important; color:#ccc!important; border-color:#333!important;
}
/* white logo column on dark theme */
.table thead th:nth-child(4){background:#fff!important;color:#111!important}
.table tbody td:nth-child(4), td.logo-cell{background:#fff!important}
.airlogo{mix-blend-mode:normal!important;filter:none!important;height:18px;width:auto;display:block;margin:0 auto}
.shuttle-inline{margin-left:12px;font:inherit;color:inherit;line-height:inherit}
html.embed body{overflow:hidden}
html.embed, html.embed body{height:100%;margin:0!important;overflow:hidden!important}
.embed .table-responsive{overflow:hidden!important}
/* remove legacy logo styles */
td.logo-cell{display:none!important}
.table thead th:nth-child(4),
.table tbody td:nth-child(4){background:transparent!important}
.table td.status-On-Time { color:#9acd32!important; font-weight:700; }

