
/* Flight-list recap bar — matches the supplied reference image.
   No edit-search-panel is used. */
* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

.recap-wrap {
  width: 100%;
  padding: 4px;
}

.recap-bar {
  min-height: 55px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 3px 8px 3px 12px;
  background: #fff;
  border: 1px solid #dce4ed;
  border-radius: 16px;
  box-shadow: 0 2px 5px rgba(23, 43, 77, .08);
  overflow: visible;
}

.recap-item {
  position: relative;
  flex: 0 0 auto;
  height: 47px;
  display: flex;
  align-items: stretch;
  border-right: 1px solid #e6ebf1;
}

.recap-item--wide {
  min-width: 114px;
}

.recap-btn {
  appearance: none;
  border: 0;
  background: transparent;
  height: 100%;
  min-width: 112px;
  padding: 5px 12px 4px 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  cursor: pointer;
  color: #142338;
  text-align: left;
}

.recap-item--wide .recap-btn {
  min-width: 114px;
}

.recap-btn .k {
  display: block;
  margin-bottom: 2px;
  font-size: 8px;
  line-height: 10px;
  font-weight: 600;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: #64748b;
}

.recap-btn .v {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-size: 13px;
  line-height: 17px;
  font-weight: 700;
  color: #101c2e;
}

.recap-btn .v svg {
  width: 11px;
  height: 11px;
  color: #708096;
  flex: 0 0 auto;
}

.recap-item[data-open="true"] .recap-btn,
.recap-item.open .recap-btn {
  background: transparent;
}

.recap-item:last-of-type {
  border-right: 0;
}

/* Cabin is the highlighted selector in the reference. */
.recap-item:has([data-recap="cabin"]) {
  margin-left: 2px;
  border-right: 0;
}

.recap-item:has([data-recap="cabin"]) .recap-btn {
  min-width: 102px;
  height: 45px;
  margin: 1px 0;
  padding: 5px 12px;
  border: 1px solid #f0a82d;
  border-radius: 12px;
  background: #fff8e9;
}

.recap-item:has([data-recap="cabin"]) .recap-btn .k {
  color: #80510b;
}

.recap-item:has([data-recap="cabin"]) .recap-btn .v {
  color: #bd7108;
}

.recap-item:has([data-recap="cabin"]) .recap-btn .v svg {
  color: #bd7108;
}

/* Results button on the right. */
.recap-go {
  flex: 0 0 auto;
  margin-left: auto;
  min-width: 144px;
  height: 34px;
  padding: 0 15px;
  border: 1px solid #dbe3ec;
  border-radius: 18px;
  background: #fff;
  color: #73849a;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.recap-go:not(:disabled) {
  color: #b56d08;
  border-color: #f0c36a;
  background: #fffaf0;
}

.recap-go:disabled {
  opacity: 1;
  cursor: default;
}

/* Dropdown panels retain the existing component structure. */
.recap-pop {
  display: none;
  position: absolute;
  z-index: 1000;
  top: calc(100% + 8px);
  left: 0;
  min-width: 250px;
  padding: 10px;
  border: 1px solid #e0e6ed;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 36, 58, .14);
}

.recap-item.open > .recap-pop {
  display: block;
}

/*.recap-item--wide .recap-pop {
  min-width: 620px;
}*/

.recap-item:has([data-recap="depart"]) .recap-pop,
.recap-item:has([data-recap="return"]) .recap-pop {
  min-width: 280px;
}

.recap-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.recap-list > button {
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 9px 10px;
  text-align: left;
  cursor: pointer;
}

.recap-list > button:hover,
.recap-list > button.on {
  background: #f7f9fc;
}

.recap-list > button b {
  display: block;
  font-size: 13px;
  color: #17253a;
}

.recap-list > button span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: #7b899b;
}

.recap-route {
  display: flex;
  gap: 10px;
}

.field {
  position: relative;
  min-width: 250px;
}

.field label {
  display: block;
  margin-bottom: 5px;
  font-size: 11px;
  color: #69788b;
}

.input-wrap {
  display: flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  padding: 0 9px;
  background: #fff;
}

.input-wrap input {
  width: 100%;
  border: 0;
  outline: 0;
  font-size: 13px;
  color: #17253a;
  background: transparent;
}

.fld-ico {
  width: 18px;
  margin-right: 7px;
  color: #78879a;
}

.ac-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 1100;
  margin-top: 4px;
  overflow: auto;
  border: 1px solid #dfe5ec;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(20, 36, 58, .14);
}

.ac-head,
.ac-foot {
  padding: 8px 10px;
  font-size: 10px;
  color: #77869a;
}

.ac-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  cursor: pointer;
}

.ac-item:hover {
  background: #f6f8fb;
}

.ac-code {
  width: 38px;
  font-size: 12px;
  font-weight: 700;
}

.ac-info {
  flex: 1;
}

.ac-city {
  display: flex;
  gap: 5px;
  font-size: 12px;
}

.ac-ctry,
.ac-name,
.ac-tag {
  font-size: 10px;
  color: #7a8899;
}

.ac-tag {
  white-space: nowrap;
}

.cal-popup {
  width: 270px;
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

.cal-nav {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
}

.cal-select {
  border: 1px solid #e1e6ed;
  border-radius: 6px;
  padding: 5px;
  background: #fff;
}

.cal-dow,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.cal-dow div {
  padding: 7px 0;
  text-align: center;
  font-size: 10px;
  color: #7a8899;
}

.cal-cell {
  min-height: 31px;
  border: 0;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
}

.cal-cell:hover:not(:disabled) {
  background: #f5f7fa;
}

.cal-cell.sel {
  background: #fff0d2;
  color: #bd7108;
  font-weight: 700;
}

.cal-cell:disabled,
.cal-cell.disabled {
  opacity: .35;
  cursor: not-allowed;
}

.cal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 7px;
  font-size: 10px;
  color: #78879a;
}

.cal-chip {
  border: 1px solid #e1e6ed;
  border-radius: 12px;
  background: #fff;
  padding: 4px 7px;
  font-size: 10px;
  cursor: pointer;
}

/* Traveller controls created by the existing JS. */
/*.pax-controls {
  margin-top: 8px;
  border-top: 1px solid #edf0f4;
  padding-top: 6px;
}

.pax-row {
  display: grid;
  grid-template-columns: 1fr 28px 25px 28px;
  align-items: center;
  gap: 5px;
  padding: 5px 0;
  font-size: 12px;
}

.pax-row button {
  width: 28px;
  height: 26px;
  border: 1px solid #dfe5ec;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.pax-row button:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.pax-row b {
  text-align: center;
}*/

@media (max-width: 900px) {
  /*.recap-bar {
    overflow-x: auto;
  }*/
}
