/* Nexus Travel - Flight Request History / premium popup system */
.nexus-flight-modal { font-family: inherit; }
.nexus-flight-modal .modal-dialog { max-width: 1180px; padding: 18px; }
.nexus-flight-modal .modal-content { border: 0; border-radius: 24px; overflow: hidden; background: #f6f8fc; box-shadow: 0 28px 80px rgba(7,27,60,.24); }
.nexus-flight-modal .modal-header { min-height: 94px; padding: 20px 26px; border: 0; color: #fff; background: radial-gradient(circle at 85% 0,rgba(255,216,139,.22),transparent 34%),linear-gradient(135deg,#071B3C 0%,#123766 100%); align-items: center; }
.nexus-flight-modal__title-wrap { display:flex; align-items:center; gap:14px; min-width:0; }
.nexus-flight-modal__icon { width:50px; height:50px; border-radius:16px; display:grid; place-items:center; flex:0 0 auto; color:#071B3C; font-size:22px; background:linear-gradient(135deg,#E6B94F,#FFDE9E); box-shadow:0 10px 26px rgba(213,161,58,.25); }
.nexus-flight-modal__eyebrow { display:block; margin-bottom:3px; color:#F5CF7E; font-size:10px; font-weight:800; letter-spacing:.16em; }
.nexus-flight-modal .modal-title { margin:0; color:#fff; font-size:22px; font-weight:750; line-height:1.25; }
.nexus-flight-modal__close { width:40px; height:40px; margin:0!important; padding:0!important; border:1px solid rgba(255,255,255,.18)!important; border-radius:12px; color:#fff!important; background:rgba(255,255,255,.08)!important; opacity:1!important; text-shadow:none!important; display:grid; place-items:center; transition:.2s ease; }
.nexus-flight-modal__close:hover { background:rgba(255,255,255,.16)!important; transform:rotate(4deg); }
.nexus-flight-modal .modal-body { max-height:calc(100vh - 220px); overflow:auto; padding:24px 26px 26px; }
.nexus-flight-modal__summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-bottom:18px; }
.nexus-flight-modal__summary>div { min-height:78px; padding:14px 16px; border:1px solid #e5eaf2; border-radius:16px; background:#fff; box-shadow:0 8px 24px rgba(7,27,60,.045); }
.nexus-flight-modal__summary small,.nexus-flight-modal__field label { display:block; margin:0 0 6px; color:#78869a; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.055em; }
.nexus-flight-modal__summary strong { display:block; color:#071B3C; font-size:15px; line-height:1.35; overflow-wrap:anywhere; }
.nexus-flight-modal__summary i { margin:0 5px; color:#D5A13A; }
.nexus-flight-modal__section { margin-top:16px; padding:20px; border:1px solid #e3e8f0; border-radius:20px; background:#fff; box-shadow:0 10px 30px rgba(7,27,60,.045); }
.nexus-flight-modal__section-head { display:flex; align-items:center; gap:12px; margin-bottom:17px; padding-bottom:14px; border-bottom:1px solid #edf0f5; }
.nexus-flight-modal__section-head>span { width:38px; height:38px; border-radius:12px; display:grid; place-items:center; color:#A87008; background:#FFF4D9; font-size:17px; }
.nexus-flight-modal__section-head small { display:block; color:#A87008; font-size:9px; font-weight:800; letter-spacing:.16em; }
.nexus-flight-modal__section-head h6 { margin:2px 0 0; color:#071B3C; font-size:16px; font-weight:750; }
.nexus-flight-modal__info-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.nexus-flight-modal__field { min-height:70px; padding:13px 14px; border:1px solid #e8ecf2; border-radius:14px; background:linear-gradient(180deg,#fff,#fafbfd); }
.nexus-flight-modal__field strong { display:block; color:#172A49; font-size:14px; font-weight:650; line-height:1.4; overflow-wrap:anywhere; }
.nexus-flight-modal__field.is-warning { border-color:#f1d69c; background:#fffbf2; }
.nexus-flight-modal__field.is-warning strong { color:#9A6500; }
.nexus-flight-modal__passenger-counts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:12px; }
.nexus-flight-modal__passenger-counts>div { position:relative; min-height:90px; padding:15px 15px 13px 56px; border-radius:15px; background:#f6f8fc; }
.nexus-flight-modal__count-icon { position:absolute; left:14px; top:16px; width:32px; height:32px; border-radius:10px; display:grid; place-items:center; color:#0A386C; background:#e7eef8; }
.nexus-flight-modal__passenger-counts small,.nexus-flight-modal__passenger-counts em { display:block; color:#7a8799; font-style:normal; font-size:11px; }
.nexus-flight-modal__passenger-counts strong { display:block; margin:1px 0; color:#071B3C; font-size:23px; line-height:1.15; }
.nexus-flight-modal__passenger-list { display:grid; gap:10px; }
.nexus-flight-modal__passenger { display:flex; gap:13px; padding:14px; border:1px solid #e8ecf2; border-radius:16px; background:#fbfcfe; }
.nexus-flight-modal__passenger-index { width:34px; height:34px; border-radius:11px; display:grid; place-items:center; flex:0 0 auto; color:#071B3C; font-weight:800; background:linear-gradient(135deg,#E6B94F,#FFDF9D); }
.nexus-flight-modal__passenger-main { flex:1; min-width:0; }
.nexus-flight-modal__passenger-name { display:flex; align-items:center; gap:9px; margin-bottom:10px; }
.nexus-flight-modal__passenger-name>strong { color:#071B3C; font-size:15px; }
.nexus-flight-modal__passenger-name>span { padding:3px 8px; border-radius:20px; color:#49617f; background:#edf2f8; font-size:10px; font-weight:700; }
.nexus-flight-modal__passenger-details { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; }
.nexus-flight-modal__passenger-details>div { padding:9px 10px; border-radius:11px; background:#fff; }
.nexus-flight-modal__passenger-details small { display:block; color:#8793a4; font-size:10px; }
.nexus-flight-modal__passenger-details strong { display:block; margin-top:2px; color:#233854; font-size:12px; overflow-wrap:anywhere; }
.nexus-flight-modal__route-card { position:relative; padding:20px; border-radius:20px; color:#fff; background:radial-gradient(circle at 90% 20%,rgba(255,211,124,.24),transparent 27%),linear-gradient(135deg,#0A2248,#164A7D); box-shadow:0 16px 36px rgba(7,27,60,.14); }
.nexus-flight-modal__route-type { display:inline-flex; padding:4px 9px; border:1px solid rgba(255,255,255,.18); border-radius:20px; color:#F6D486; background:rgba(255,255,255,.08); font-size:9px; font-weight:800; letter-spacing:.13em; }
.nexus-flight-modal__route-points { display:flex; align-items:center; justify-content:center; gap:20px; margin:13px 0 9px; }
.nexus-flight-modal__route-points strong { font-size:23px; }
.nexus-flight-modal__route-points span { width:42px; height:42px; border-radius:50%; display:grid; place-items:center; color:#071B3C; background:linear-gradient(135deg,#E6B94F,#FFDB91); transform:rotate(45deg); }
.nexus-flight-modal__route-points span i { transform:rotate(-45deg); }
.nexus-flight-modal__route-passengers { text-align:center; color:#dce7f4; font-size:12px; }
.nexus-flight-modal__flight-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-top:16px; }
.nexus-flight-modal__flight-columns.is-single { grid-template-columns:1fr; }
.nexus-flight-modal__flight-card { padding:20px; border:1px solid #e1e7ef; border-radius:20px; background:#fff; box-shadow:0 10px 30px rgba(7,27,60,.045); }
.nexus-flight-modal__flight-card-head,.nexus-flight-modal__flight-card-head>div { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.nexus-flight-modal__flight-card-head>div { justify-content:flex-start; }
.nexus-flight-modal__flight-direction { width:40px; height:40px; border-radius:13px; display:grid; place-items:center; color:#09695d; background:#e5f5f1; font-size:18px; }
.nexus-flight-modal__flight-direction.is-return { color:#8A5A00; background:#fff2d5; }
.nexus-flight-modal__flight-card-head small { color:#8090a4; font-size:9px; font-weight:800; letter-spacing:.14em; }
.nexus-flight-modal__flight-card-head h6 { margin:2px 0 0; color:#071B3C; font-size:15px; font-weight:750; }
.nexus-flight-modal__airline { padding:5px 9px; border-radius:20px; color:#385171; background:#edf2f8; font-size:10px; font-weight:700; text-align:right; }
.nexus-flight-modal__timeline { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:15px 0 12px; padding:12px 13px; border-radius:13px; color:#5e6d80; background:#f5f7fa; font-size:12px; }
.nexus-flight-modal__timeline i { color:#B47B10; }
.nexus-flight-modal__timeline strong { color:#172A49; }
.nexus-flight-modal__info-grid.is-compact { grid-template-columns:repeat(3,minmax(0,1fr)); }
.nexus-flight-modal__info-grid.is-compact .nexus-flight-modal__field { min-height:65px; padding:11px; }
.nexus-flight-modal__price-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-top:12px; }
.nexus-flight-modal__price-grid>div { padding:10px 11px; border:1px solid #e9edf3; border-radius:12px; background:#fbfcfe; }
.nexus-flight-modal__price-grid small { display:block; color:#8793a4; font-size:10px; }
.nexus-flight-modal__price-grid strong { display:block; margin-top:2px; color:#324963; font-size:12px; }
.nexus-flight-modal__price-grid .is-total { grid-column:span 2; border-color:#efd18e; background:linear-gradient(135deg,#fff8e7,#fffdf8); }
.nexus-flight-modal__price-grid .is-total strong { color:#8D5A00; font-size:16px; }
.nexus-flight-modal__attachments { margin-bottom:0; }
.nexus-flight-modal__file-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.nexus-flight-modal__file-list>a { display:flex; align-items:center; gap:11px; min-height:64px; padding:11px 13px; border:1px solid #e4e9f1; border-radius:14px; color:inherit; background:#fbfcfe; text-decoration:none!important; transition:.2s ease; }
.nexus-flight-modal__file-list>a:hover { border-color:#D5A13A; background:#fffaf0; transform:translateY(-1px); box-shadow:0 8px 22px rgba(7,27,60,.07); }
.nexus-flight-modal__file-icon { width:38px; height:38px; border-radius:11px; display:grid; place-items:center; flex:0 0 auto; color:#b32c2c; background:#fdeaea; font-size:18px; }
.nexus-flight-modal__file-list>a>span:nth-child(2) { flex:1; min-width:0; }
.nexus-flight-modal__file-list strong,.nexus-flight-modal__file-list small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.nexus-flight-modal__file-list strong { color:#172A49; font-size:12px; }
.nexus-flight-modal__file-list small { color:#8a96a6; font-size:10px; }
.nexus-flight-modal__file-list>a>i { color:#B47B10; }
.nexus-flight-modal__empty-file { grid-column:1/-1; padding:15px; border:1px dashed #d8dee8; border-radius:13px; color:#8793a4; text-align:center; background:#fafbfd; }
.nexus-flight-modal .modal-footer { padding:15px 26px 18px; border-top:1px solid #e4e9f0; background:#fff; }
.nexus-flight-modal__btn { min-width:112px; min-height:42px; padding:9px 17px; border:0!important; border-radius:12px!important; display:inline-flex!important; align-items:center; justify-content:center; gap:7px; font-size:13px; font-weight:750; box-shadow:none!important; transition:.2s ease; }
.nexus-flight-modal__btn--secondary { color:#30455f!important; background:#edf1f6!important; }
.nexus-flight-modal__btn--secondary:hover { background:#e3e9f0!important; transform:translateY(-1px); }
.nexus-flight-modal__btn--primary { color:#071B3C!important; background:linear-gradient(135deg,#E6B94F 0%,#FCDB99 52%,#FFCC73 100%)!important; box-shadow:0 10px 24px rgba(213,161,58,.22)!important; }
.nexus-flight-modal__btn--primary:hover { transform:translateY(-1px); filter:saturate(1.06); }
.nexus-flight-request-history-page .highlight-row { background:#fff8dc!important; box-shadow:inset 3px 0 0 #D5A13A; }
.nexus-flight-request-history-page .status-2,.nexus-flight-request-history-page .status-3,.nexus-flight-request-history-page .status-4,.nexus-flight-request-history-page .status-5,.nexus-flight-request-history-page .status-6 { display:inline-flex; align-items:center; min-height:25px; padding:4px 9px; border-radius:20px; font-size:11px; font-weight:700; }
.nexus-flight-request-history-page .status-2 { color:#8A5A00; background:#fff2d5; }
.nexus-flight-request-history-page .status-3 { color:#09695d; background:#e4f5f1; }
.nexus-flight-request-history-page .status-4 { color:#a04826; background:#fff0e8; }
.nexus-flight-request-history-page .status-5 { color:#1d4e93; background:#eaf1fb; }
.nexus-flight-request-history-page .status-6 { color:#09695d; background:#e4f5f1; }
@media (max-width:991.98px){
  .nexus-flight-modal .modal-dialog{padding:8px}.nexus-flight-modal .modal-body{padding:18px}.nexus-flight-modal__summary{grid-template-columns:repeat(2,1fr)}.nexus-flight-modal__flight-columns{grid-template-columns:1fr}.nexus-flight-modal__passenger-details{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:767.98px){
  .nexus-flight-modal .modal-dialog{margin:0;max-width:none;padding:0;min-height:100%}.nexus-flight-modal .modal-content{min-height:100vh;border-radius:0}.nexus-flight-modal .modal-header{min-height:82px;padding:16px}.nexus-flight-modal__icon{width:42px;height:42px;border-radius:13px}.nexus-flight-modal .modal-title{font-size:18px}.nexus-flight-modal .modal-body{max-height:calc(100vh - 160px);padding:14px}.nexus-flight-modal__summary,.nexus-flight-modal__info-grid,.nexus-flight-modal__passenger-counts,.nexus-flight-modal__info-grid.is-compact,.nexus-flight-modal__price-grid,.nexus-flight-modal__file-list{grid-template-columns:1fr}.nexus-flight-modal__price-grid .is-total{grid-column:auto}.nexus-flight-modal__section,.nexus-flight-modal__flight-card{padding:15px}.nexus-flight-modal__route-points{gap:10px}.nexus-flight-modal__route-points strong{font-size:18px}.nexus-flight-modal__route-points span{width:36px;height:36px}.nexus-flight-modal__passenger-details{grid-template-columns:1fr}.nexus-flight-modal .modal-footer{padding:12px 14px}.nexus-flight-modal__btn{flex:1;min-width:0}
}
