/* Request Seats: adapted from the supplied AFC_request_seats.css.
   Loaded last; real availability comes from the fixture, and open panels never overlap. */
.gr-split,
.fx-list,
.sel-match-card.mp {
  --rs-ok: #61CAA6;
  --rs-ok-dim: rgba(97, 202, 166, .1);
  --rs-ok-line: rgba(97, 202, 166, .26);
  --rs-blue: #3257F4;
  --rs-blue-lt: #6E8CFF;
  --rs-blue-dim: rgba(50, 87, 244, .14);
  --rs-gold: #D1AC6A;
  --rs-gold-dim: rgba(209, 172, 106, .1);
  --rs-gold-line: rgba(209, 172, 106, .3);
  --rs-panel: 420px;      
  --rs-gap: 28px;
}

.gr-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 40px;
  align-items: start;
}

.gr-split > .gr-form {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding-inline: 0;
}

.gr-split > .card.sel-match-card.mp {
  position: sticky;
  top: 24px;
}

@media (max-width: 1100px) {
  .gr-split {
    grid-template-columns: minmax(0, 1fr);
  }
  .gr-split > .card.sel-match-card.mp {
    position: static;
  }
}

ul.fx-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--rs-panel);
  column-gap: var(--rs-gap);
  row-gap: 9px;
  align-content: start;
  align-items: start;
}

ul.fx-list > li.fx {
  display: contents;
}

ul.fx-list > li.fx > .fx-head {
  grid-column: 1;
}

ul.fx-list > li.fx > .fx-body {
  grid-column: 2;
  grid-row: 1 / -1;
  position: sticky;
  top: 24px;
  align-self: start;
  margin: 0;
  padding: 16px 17px 18px;
  border: 1px solid var(--afc-line);
  border-radius: 18px;
  background: rgba(14, 18, 30, .93);
  box-shadow: 0 22px 60px rgba(3, 7, 18, .6);
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

ul.fx-list > li.fx ~ li.fx > .fx-body {
  grid-row: auto;
  position: static;
}

@media (max-width: 1180px) {
  ul.fx-list {
    grid-template-columns: minmax(0, 1fr);
  }
  ul.fx-list > li.fx > .fx-head,
  ul.fx-list > li.fx > .fx-body {
    grid-column: 1;
  }
  ul.fx-list > li.fx > .fx-body {
    grid-row: auto;
    position: static;
  }
}

ul.fx-list > li.fx > .fx-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 12px 15px 12px 14px;
  border: 1px solid var(--afc-line);
  border-radius: 14px;
  background: rgba(17, 22, 36, .66);
  transition: background-color 140ms ease, border-color 140ms ease;
}

ul.fx-list > li.fx > .fx-head:hover {
  background: rgba(22, 29, 46, .85);
  border-color: #33405A;
}

ul.fx-list > li.fx.on > .fx-head {
  background: rgba(22, 29, 46, .95);
  border-color: #2E4790;
  box-shadow: 0 0 0 1px rgba(50, 87, 244, .35), 0 14px 34px rgba(4, 9, 24, .5);
}

ul.fx-list > li.fx.on > .fx-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--rs-blue), var(--rs-blue-lt));
}

ul.fx-list > li.fx > .fx-head > .fx-img-thumb {
  width: 66px;
  height: 42px;
  flex: none;
  border-radius: 8px;
  border: 1px solid var(--afc-line);
  overflow: hidden;
}

ul.fx-list > li.fx > .fx-head > .grow {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

ul.fx-list .fx-head .fx-opp {
  font-size: 15.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

ul.fx-list .fx-head .fx-meta {
  font-size: 12.5px;
  color: var(--afc-text-muted);
}

ul.fx-list .fx-head > .pill {
  flex: none;
  white-space: nowrap;
  font-size: 11.5px;
  font-weight: 650;
  padding: 4px 10px;
  border-radius: 999px;
}

ul.fx-list .fx-head > .pill.good {
  color: var(--rs-ok);
  background: var(--rs-ok-dim);
  border: 1px solid var(--rs-ok-line);
}

ul.fx-list .fx-head > .fx-toggle {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid transparent;
  color: var(--afc-text-muted);
  transition: background-color 140ms ease, color 140ms ease,
              border-color 140ms ease;
}

ul.fx-list .fx-head > .fx-toggle:hover {
  background: rgba(50, 87, 244, .14);
  border-color: #2E4790;
  color: var(--afc-text);
}

ul.fx-list > li.fx:has(> .fx-body) > .fx-head > .fx-toggle {
  background: rgba(50, 87, 244, .18);
  border-color: #2E4790;
  color: #C3D2FC;
}

ul.fx-list .fx-head .fx-round {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-bottom: 1px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rs-ok);
  background: var(--rs-ok-dim);
  border: 1px solid var(--rs-ok-line);
}

ul.fx-list .fx-head .fx-round::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  flex: none;
}

ul.fx-list .fx-head .fx-round[data-status="soon"] {
  color: #8FB0FF;
  background: rgba(50, 87, 244, .12);
  border-color: rgba(143, 176, 255, .3);
}

ul.fx-list .fx-head .fx-round[data-status="closed"] {
  color: var(--afc-text-muted);
  background: rgba(145, 156, 175, .1);
  border-color: rgba(145, 156, 175, .28);
}

ul.fx-list .fx-body > .full {
  grid-column: 1 / -1;
}

ul.fx-list .fx-body > .label {
  grid-column: 1 / -1;
  font-size: 12px;
  font-weight: 600;
  color: var(--afc-text-secondary);
}

ul.fx-list .fx-body .stepper {
  border-radius: 10px;
}

ul.fx-list .fx-body > .suite-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  border-radius: 12px;
  background: rgba(23, 30, 48, .8);
  border: 1px solid var(--afc-line);
}

ul.fx-list .fx-body > .suite-row > .switch {
  margin-left: auto;
  flex: none;
}

ul.fx-list .fx-body .textarea {
  min-height: 74px;
}

ul.fx-list .fx-body .chips-input {
  border-radius: 12px;
}

.card.sel-match-card.mp:not(:has(.sel-match)) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 300px;
  padding: 38px 28px;
  gap: 2px;
  border: 1px solid var(--afc-line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(21, 27, 40, .9), rgba(14, 18, 30, .92));
  box-shadow: 0 22px 60px rgba(3, 7, 18, .5);
}

.card.sel-match-card.mp:not(:has(.sel-match))::before {
  content: "";
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  opacity: .9;
  background-color: var(--rs-gold);
  -webkit-mask: var(--rs-empty-mark) center / contain no-repeat;
  mask: var(--rs-empty-mark) center / contain no-repeat;
  --rs-empty-mark: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' \
stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'>\
<rect x='3' y='5' width='18' height='16' rx='2'/>\
<path d='M3 10h18M8 3v4M16 3v4'/></svg>");
}

.card.sel-match-card.mp:not(:has(.sel-match)) > p.small.muted {
  margin: 0;
  max-width: 44ch;
  font-size: 15.5px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--afc-text);
}

.card.sel-match-card.mp:not(:has(.sel-match)) > p + p {
  margin-top: 7px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--afc-text-secondary);
}

.gr-split > .card.sel-match-card.mp:not(:has(.sel-match)) {
  position: static;
}

ul.fx-list > li.fx > .fx-body { grid-row:auto; min-width:0; }
ul.fx-list > li.fx > .fx-body:first-of-type { position:static; }
ul.fx-list .fx-head .fx-opp { white-space:normal; overflow-wrap:anywhere; }
ul.fx-list .fx-toggle:focus-visible { outline:2px solid var(--rs-blue-lt); outline-offset:3px; }
@media(max-width:640px){
 ul.fx-list > li.fx > .fx-head{flex-wrap:wrap;gap:10px;padding:12px;}
 ul.fx-list .fx-head > .pill{margin-left:0;max-width:100%;white-space:normal;}
 ul.fx-list > li.fx > .fx-body{grid-template-columns:minmax(0,1fr);}
 ul.fx-list .fx-head > .grow{flex-basis:calc(100% - 110px);}
 ul.fx-list .fx-body .row{flex-wrap:wrap;}
}
@media(max-width:640px){
 ul.fx-list > li.fx > .fx-head > .grow{flex:1 1 calc(100% - 116px);}
 ul.fx-list > li.fx > .fx-head > .pill{margin-left:0;}
 ul.fx-list > li.fx > .fx-head > .fx-toggle{margin-left:auto;}
}
