/* TravelDesk Jets – additions to the Debtors styles */
.top-inner .spacer, .pagehead .spacer, .row .spacer { flex: 1; }
.toplink { color: #e9e0ef; text-decoration: none; font-size: 13px; white-space: nowrap; }
.avatar { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--gold); color: #3B1A4B; font-weight: 700; font-size: 13px; cursor: pointer; }
nav.tabs a { color: #e9e0ef; text-decoration: none; padding: 7px 10px; border-radius: 7px; font-size: 14px; white-space: nowrap; }
nav.tabs a.on, nav.tabs a:hover { background: rgba(255,255,255,.14); color: #fff; }
h1 { font-size: 22px; margin: 0; } h3 { margin: 0 0 10px; font-size: 15px; } h4 { margin: 14px 0 6px; font-size: 13px; }
.card { margin-bottom: 14px; }
.pagehead { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.pagehead input[type=search] { min-width: 260px; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 8px 0; }
.row.end { justify-content: flex-end; }
.cardhead { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.cardhead h3, .cardhead h2 { margin: 0; }
input, select, textarea { border: 1px solid #cfc8d6; border-radius: 7px; padding: 7px 9px; background: #fff; max-width: 100%; }
textarea { width: 100%; font: inherit; }
.chk { display: flex; gap: 8px; align-items: center; margin: 6px 0; cursor: pointer; }
.fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0 12px; }
.fgrid .c2 { grid-column: span 2; } .fgrid .c3 { grid-column: span 3; }
@media (max-width: 700px) { .fgrid .c2, .fgrid .c3 { grid-column: auto; } }
.sublabel { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; margin: 12px 0 6px; display: flex; gap: 8px; align-items: center; }
.modal.wide { max-width: 920px; }
.bad { color: var(--red); } .good { color: var(--green); } .warn { color: var(--orange); }
.notice { background: var(--yellow-bg); border-radius: 8px; padding: 10px 12px; margin: 8px 0; }
.notice.good { background: var(--green-bg); color: inherit; } .notice.bad { background: var(--red-bg); color: inherit; }
.pill.ok { background: var(--green-bg); color: var(--green); }
.pill.linkish { border: 0; cursor: pointer; }
.stage-enquiry, .stage-sourcing { background: var(--grey-bg); } .stage-quoted { background: var(--blue-bg); color: var(--blue); }
.stage-accepted { background: var(--yellow-bg); } .stage-contracted { background: #efe4f6; color: var(--purple); }
.stage-paid, .stage-flown { background: var(--green-bg); color: var(--green); } .stage-lost { background: var(--red-bg); color: var(--red); }
.track-airborne { background: var(--blue-bg); color: var(--blue); } .track-landed { background: var(--green-bg); color: var(--green); }
/* board */
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 10px; }
.col { background: #efecf3; border-radius: 10px; padding: 8px; min-height: 120px; }
.colhead { font-weight: 700; font-size: 13px; padding: 4px 6px 8px; }
.tcard { display: block; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 9px 10px; margin-bottom: 8px; color: inherit; text-decoration: none; }
.tcard:hover { border-color: var(--purple-2); }
.tc1 { display: flex; justify-content: space-between; gap: 6px; } .tc2 { font-size: 13px; margin: 3px 0; }
.tc3 { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.empty { padding: 6px; }
/* trip page */
.tripgrid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr); gap: 14px; }
@media (max-width: 980px) { .tripgrid { grid-template-columns: 1fr; } }
.progress { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.progress span { background: #efecf3; border-radius: 999px; padding: 3px 10px; font-size: 12px; color: var(--muted); }
.progress span.ok { background: var(--green-bg); color: var(--green); } .progress span.bad { background: var(--red-bg); color: var(--red); }
.actions { margin-bottom: 14px; }
.nextsteps { border-left: 4px solid var(--gold); }
.steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.step { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; }
.step .stx { flex: 1; min-width: 0; } .step .sic { font-size: 18px; color: var(--muted); }
.step.done { background: var(--green-bg); border-color: #cfe9d8; } .step.done .sic { color: var(--green); }
.leg { border-bottom: 1px solid var(--line); padding: 8px 0; } .leg:last-of-type { border-bottom: 0; }
.leg .route { font-weight: 700; margin: 0 6px; } .legmeta { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 4px; color: var(--muted); }
.options { display: grid; gap: 10px; }
.opt { display: flex; gap: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.opt.chosen { border-color: var(--gold); box-shadow: 0 0 0 2px #fdb81333; } .opt.hiddenopt { opacity: .65; }
.optimg { width: 150px; min-height: 96px; border-radius: 7px; background: #e9e5ee center/cover no-repeat; flex: none; }
.optbody { flex: 1; min-width: 0; } .opthead { display: flex; gap: 6px; align-items: center; }
.optprice { display: flex; gap: 14px; align-items: baseline; margin: 6px 0 2px; font-size: 13px; } .optprice b { font-size: 17px; }
@media (max-width: 600px) { .opt { flex-direction: column; } .optimg { width: 100%; height: 150px; } }
.kvs div { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 3px 0; } .kvs span { color: var(--muted); }
.calc { margin-top: 10px; font-size: 13px; } .calc input { padding: 3px 6px; }
.timeline { max-height: 420px; overflow: auto; }
table.legs input { width: 100%; padding: 5px 6px; } table.legs input.code { width: 64px; text-transform: uppercase; }
table.legs td, table.legs th { padding: 3px 4px; }
.xrow { display: flex; gap: 8px; margin: 4px 0; align-items: center; } .xrow input:first-child { flex: 1; } .xrow input[type=number] { width: 120px; }
.pricebox { background: #f6f3f9; border-radius: 9px; padding: 10px 12px; margin: 10px 0; display: grid; gap: 4px; } .pricebox .big { font-size: 18px; }
.legtimes { display: grid; gap: 6px; } .legtime { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13px; } .legtime b { min-width: 110px; }
.legtime input { padding: 4px 6px; }
.photos .thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.thumb { position: relative; width: 120px; height: 80px; border-radius: 7px; overflow: hidden; background: #eee; }
.thumb img { width: 100%; height: 100%; object-fit: cover; } .thumb:first-child { outline: 2px solid var(--gold); }
.thumb button { position: absolute; top: 3px; right: 3px; border: 0; background: rgba(0,0,0,.6); color: #fff; border-radius: 50%; width: 22px; height: 22px; cursor: pointer; }
.drop { border: 2px dashed #cfc8d6; border-radius: 9px; padding: 14px; text-align: center; color: var(--muted); cursor: pointer; font-size: 13px; }
.drop.small { padding: 8px; } .drop.over { border-color: var(--purple-2); background: #f6f3f9; }
.passbox { margin-bottom: 10px; } .passthumb { height: 60px; vertical-align: middle; border-radius: 4px; margin-right: 8px; }
.picker { position: relative; } .picker input { width: 100%; }
.pickres { position: absolute; z-index: 30; left: 0; right: 0; top: 100%; background: #fff; border: 1px solid var(--line); border-radius: 9px; box-shadow: 0 8px 24px rgba(0,0,0,.12); max-height: 320px; overflow: auto; }
.pickres button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 8px 10px; cursor: pointer; } .pickres button:hover { background: #f1ecf5; }
.optpick { border: 1px solid var(--line); border-radius: 8px; padding: 8px; }
/* flying soon */
a.card.soon { display: block; color: inherit; text-decoration: none; } .soonhead { display: flex; gap: 8px; align-items: center; margin-bottom: 4px; }
.soonleg { font-size: 13px; } .ticks { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.tick { font-size: 12px; padding: 2px 8px; border-radius: 999px; } .tick.ok { background: var(--green-bg); color: var(--green); } .tick.no { background: var(--orange-bg); color: var(--orange); }
/* dashboard */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-bottom: 14px; } .cards .card { margin: 0; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 180px; padding-top: 10px; }
.bar { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; font-size: 11px; color: var(--muted); }
.bar .bv { width: 100%; max-width: 46px; background: #c9b6dc; border-radius: 4px 4px 0 0; display: flex; align-items: flex-end; min-height: 2px; }
.bar .bg { width: 100%; background: var(--purple); border-radius: 4px 4px 0 0; }
ul.plain { list-style: none; padding: 0; margin: 0; } ul.plain li { padding: 3px 0; }
tr.click { cursor: pointer; } tr.click:hover td { background: #faf8fc; }
#toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(80px); background: #241a2c; color: #fff; padding: 10px 16px; border-radius: 9px; opacity: 0; transition: .25s; z-index: 100; max-width: 90vw; }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
