.trip-main { max-width: 760px; margin: 0 auto; padding: 28px 20px 60px; outline: none; }
.trip-main h1 { font-family: var(--head); color: var(--gold); margin: 0 0 6px; }
.trip-card { background: var(--panel, #1a1a1a); border: 1px solid #333; padding: 20px; margin: 16px 0; }
.trip-card h2 { margin: 0 0 12px; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.trip-dl { display: grid; grid-template-columns: 150px 1fr; gap: 8px 14px; margin: 0; }
.trip-dl dt { color: #bdb7aa; } .trip-dl dd { margin: 0; font-weight: 600; }
.trip-badge { display: inline-block; padding: 3px 10px; font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; background: #2a2418; color: var(--gold); border: 1px solid var(--gold); }
.trip-badge.bad { background: #3a1d1d; color: #ff9b9b; border-color: #ff9b9b; }
.trip-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; }
.trip-row label, .trip-card label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.trip-card input, .trip-card textarea { width: 100%; box-sizing: border-box; min-height: 46px; padding: 10px 12px; font: inherit; color: var(--field-text, #1a1a1a); background: var(--field, #f4f3ef); border: 1px solid var(--field-line, #d6d2c8); }
.trip-btn { background: var(--gold); color: #1a1a1a; border: 0; font-weight: 800; padding: 12px 20px; cursor: pointer; text-decoration: none; display: inline-block; text-transform: uppercase; letter-spacing: .04em; min-height: 46px; }
.trip-btn.ghost { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.trip-btn.danger { background: #b3261e; color: #fff; }
.trip-msg { margin: 10px 0 0; font-weight: 700; }
.trip-msg.ok { color: #8fd19e; } .trip-msg.err { color: #ff9b9b; }
.trip-loading, .trip-muted { color: #bdb7aa; }
@media (max-width: 600px) { .trip-dl { grid-template-columns: 1fr; } .trip-dl dt { margin-top: 6px; } .trip-row { grid-template-columns: 1fr; } }
.check-row { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 600; margin: 10px 0 14px; }
.check-row input { width: 20px !important; min-height: 20px !important; margin-top: 2px; }
.stripe-box { background: #f4f3ef; padding: 12px; margin: 10px 0; }
.acct-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.acct-head .spacer { flex: 1; }
.acct-trip { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #2c2c2c; }
.acct-trip:last-child { border-bottom: 0; }
.acct-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.acct-actions .trip-btn { min-height: 38px; padding: 8px 14px; font-size: 13px; }
.agreement-text { white-space: pre-wrap; line-height: 1.65; max-height: 60vh; overflow-y: auto; padding-right: 8px; }
.up-row { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 1.4fr) 110px; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid #2c2c2c; }
.up-row label { font-weight: 700; }
.up-row input[type="file"] { min-height: 0; padding: 6px; background: #f4f3ef; color: #1a1a1a; }
.up-status { font-weight: 700; font-size: 14px; }
.up-status.ok { color: #8fd19e; } .up-status.err { color: #ff9b9b; }
@media (max-width: 600px) { .up-row { grid-template-columns: 1fr; } }
.pt-tot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pt-tot > div { background: #111; border: 1px solid #2c2c2c; padding: 12px; display: grid; gap: 4px; }
.pt-tot span { color: #b8b2a6; font-size: 13px; } .pt-tot strong { font-size: 20px; color: #e2c787; }
.pt-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #2c2c2c; }
.pt-amt { text-align: right; }
@media (max-width: 600px) { .pt-tot { grid-template-columns: 1fr; } }


/* live map */
.live-card { padding-bottom: 14px; }
.live-eta { font-size: 20px; font-weight: 700; margin: 4px 0 2px; }
.live-sub { margin: 0 0 12px; }
.live-map { height: 320px; border-radius: 10px; overflow: hidden; border: 1px solid rgba(201,168,76,0.35); background: #e8e4da; }
.car-pin span, .pt-pin span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #1a1a1a; border: 2px solid #c9a84c; font-size: 18px; box-shadow: 0 2px 8px rgba(0,0,0,0.35); }
.pt-pin span { width: 30px; height: 30px; background: #fff; font-size: 15px; }

/* secure payment link page */
.pay-card { margin: 8px 0 14px; }
.pay-amt { font-weight: 700; color: #c9a84c; }
.pay-done h1 { color: #4caf50; }
.trip-err:empty { display: none; }
.pay-btn { width: 100%; margin: 6px 0 10px; font-size: 16px; }
.pt-bonus progress { display: block; width: 100%; height: 8px; margin: 14px 0 6px; accent-color: #c8a96e; }

/* account log-in code box (no inline styles: the page CSP blocks them) */
.code-input { font-size: 24px; letter-spacing: 6px; max-width: 220px; }
.pay-bill { display: grid; gap: 12px; margin: 0 0 14px; }
.pay-bill select { width: 100%; box-sizing: border-box; min-height: 46px; padding: 10px 12px; font: inherit; color: var(--field-text, #1a1a1a); background: var(--field, #f4f3ef); border: 1px solid var(--field-line, #d6d2c8); }
.pay-bill [aria-invalid="true"] { border-color: #ff8a80; box-shadow: 0 0 0 1px #ff8a80; }
.pay-bill small.trip-err { font-weight: 600; font-size: 13px; color: #ff8a80; }

/* expense receipts: forwarding status (My account, corporate portal) */
.fwd-status { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 12px 0; font-size: 14px; color: #d8d3c8; }
.fwd-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 4px; background: #6b665c; }
.fwd-dot.on { background: #4caf7a; box-shadow: 0 0 0 3px rgba(76,175,122,0.2); }
.check-row input[role="switch"] { accent-color: #c8a96e; }
.trip-return { border-color: rgba(200,169,110,0.55); }
.saved-from { color: #bdb7aa; font-weight: 400; }
/* Share my ride */
.share-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.share-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 8px 10px; border: 1px solid rgba(201,168,76,0.3); border-radius: 8px; font-size: 14px; }
.trip-link { background: none; border: 0; padding: 0; font: inherit; color: #e0b8b4; text-decoration: underline; cursor: pointer; }
.share-url { width: 100%; margin-top: 6px; }
/* NYC Sightseeing Tour: the picks, in order */
.trip-sights { margin: 0; padding-left: 1.3em; }
.trip-sights li { margin: 2px 0; }
/* partner page: the booking link's QR code */
.pt-qr img { display: block; width: 180px; height: 180px; margin: 6px 0 10px; }
