/* Agent · Activities: start, activity, booking and voucher pages. Builds on packages.css (cards, boxes, dropdown). */

/* ---------- Start page ---------- */
.ac-search .qbox--date .qbox__val {
  font: 600 18px/22px 'Poppins', sans-serif;
}
.ac-search .qbox--date .qbox__sub {
  color: var(--muted);
  font-size: 12px;
}
.ac-cities {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.ac-cities button {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 12px 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  transition:
    border-color 0.25s var(--ease),
    background-color 0.25s var(--ease);
}
.ac-cities button:hover {
  border-color: #cfcfcf;
}
.ac-cities .flag {
  width: 22px;
  height: 16px;
  border-radius: 4px;
}
.ac-cities button span {
  min-width: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 11.5px;
  line-height: 18px;
  text-align: center;
}
.ac-cities button[aria-pressed='true'] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.ac-cities button[aria-pressed='true'] span {
  background: rgba(255, 255, 255, 0.2);
}
.ac-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ac-chips button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
}
.ac-chips button .icon {
  width: 15px;
  height: 15px;
}
.ac-chips button[aria-pressed='true'] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.acard .pcard__tag .icon {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
}
.ac-mine {
  margin-top: 28px;
}
.ac-mine .card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ---------- Activity page ---------- */
.ad-hero {
  height: 320px;
}
.ad-opts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ad-opt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-align: left;
  transition:
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.ad-opt:hover {
  border-color: #cfcfcf;
}
.ad-opt.is-on {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}
.ad-opt__dot {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  border: 2px solid #d0d0d0;
  border-radius: 50%;
}
.ad-opt.is-on .ad-opt__dot {
  border: 5px solid var(--ink);
}
.ad-opt__main {
  min-width: 0;
  flex: 1;
}
.ad-opt__main b {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.ad-opt__main > span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12.5px;
}
.ad-opt__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}
.ad-opt__tags em {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  background: var(--page);
  color: var(--ink-2);
  font-size: 11.5px;
  font-style: normal;
  font-weight: 600;
}
.ad-opt__tags .icon {
  width: 12px;
  height: 12px;
}
.ad-opt__price {
  flex: none;
  text-align: right;
}
.ad-opt__price strong {
  display: block;
  font: 600 16px 'Poppins', sans-serif;
  font-variant-numeric: tabular-nums;
}
.ad-opt__price span {
  color: var(--muted);
  font-size: 11.5px;
}
.ad-expect {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ad-expect li {
  position: relative;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 0 14px;
  padding: 0 0 16px;
}
.ad-expect li::before {
  position: absolute;
  top: 6px;
  bottom: -6px;
  left: 117px;
  border-left: 2px dashed var(--line);
  content: '';
}
.ad-expect li:last-child::before {
  display: none;
}
.ad-expect li > span {
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 600;
  text-align: right;
}
.ad-expect li > div {
  position: relative;
  padding-left: 18px;
}
.ad-expect li > div::before {
  position: absolute;
  top: 4px;
  left: -2px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  background: #fff;
  content: '';
}
.ad-expect b {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.ad-expect p {
  margin-top: 2px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.5;
}
.ad-know {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.ad-know > div {
  display: flex;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  background: var(--page);
}
.ad-know > div > .icon {
  width: 32px;
  height: 32px;
  flex: none;
  padding: 7px;
  border-radius: 10px;
  background: #fff;
}
.ad-know b {
  display: block;
  margin-bottom: 3px;
  font-size: 13.5px;
  font-weight: 600;
}
.ad-know p,
.ad-know li {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.5;
}
.ad-know ul {
  margin: 0;
  padding-left: 16px;
}
.ad-cancel {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}
.ad-cancel .icon {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
}
.ad-cancel b {
  display: block;
}
.ad-cancel.is-free {
  background: #e9f7ef;
  color: #11603d;
}
.ad-cancel.is-tier {
  background: #fff6e6;
  color: #8a5300;
}
.ad-cancel.is-none {
  background: #fdf0f0;
  color: #a3262b;
}
/* Booking box */
.ad-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ad-slots button {
  min-width: 72px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.ad-slots button small {
  display: block;
  margin-top: -2px;
  color: var(--warn);
  font-size: 10.5px;
  font-weight: 600;
}
.ad-slots button:hover:not(:disabled) {
  border-color: #cfcfcf;
}
.ad-slots button[aria-pressed='true'] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.ad-slots button[aria-pressed='true'] small {
  color: #ffd98a;
}
.ad-slots button:disabled {
  color: #c2c2c2;
  text-decoration: line-through;
  cursor: not-allowed;
}
.ad-bopts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ad-bopt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  text-align: left;
}
.ad-bopt.is-on {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}
.ad-bopt .ad-opt__dot {
  margin-top: 0;
}
.ad-bopt span:not(.ad-opt__dot) {
  min-width: 0;
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}
.ad-bopt em {
  flex: none;
  font-size: 12.5px;
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
}
.ad-bands {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.ad-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.ad-band b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
}
.ad-band span {
  color: var(--muted);
  font-size: 12px;
}
.ad-confirm {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-size: 12.5px;
}
.ad-confirm .icon {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--primary);
}
.ad-confirm.is-req .icon {
  color: var(--warn);
}

/* ---------- Voucher ---------- */
.av-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
  margin-top: 16px;
}
.av-ticket {
  overflow: hidden;
  padding: 0;
}
.av-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  background: var(--ink);
  color: #fff;
}
.av-top b {
  display: block;
  font: 600 16px 'Poppins', sans-serif;
}
.av-top > div > span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}
.av-top .pill {
  flex: none;
}
.av-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  padding: 22px;
}
.av-main h1 {
  font-size: 21px;
  line-height: 1.3;
}
.av-main > div > p {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 13.5px;
}
.av-kv {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 0;
}
.av-kv dt {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.av-kv dd {
  margin: 3px 0 0;
  font-size: 14px;
  font-weight: 600;
}
.av-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.av-qr svg {
  width: 132px;
  height: 132px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.av-qr > span {
  color: var(--muted);
  font-family: ui-monospace, monospace;
  font-size: 12px;
}
.av-qr.is-wait svg {
  opacity: 0.12;
}
.av-tear {
  position: relative;
  height: 0;
  margin: 0 22px;
  border-top: 2px dashed var(--line);
}
.av-tear::before,
.av-tear::after {
  position: absolute;
  top: -11px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--page);
  content: '';
}
.av-tear::before {
  left: -33px;
}
.av-tear::after {
  right: -33px;
}
.av-sec {
  padding: 18px 22px;
}
.av-sec + .av-sec {
  border-top: 1px solid var(--line);
}
.av-sec h2 {
  margin-bottom: 10px;
  font-size: 14px;
}
.av-pax {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.av-pax li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--page);
}
.av-pax li > span:first-child {
  display: grid;
  width: 26px;
  height: 26px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
}
.av-pax b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
}
.av-pax em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}
.av-meet {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.5;
}
.av-meet .icon {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
  color: var(--primary);
}
.av-meet b {
  display: block;
}
.av-know {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.6;
}
.av-side {
  position: sticky;
  top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}
.av-side h2 {
  font-size: 15px;
}
.av-wait {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff6e6;
  color: #8a5300;
  font-size: 13px;
}
.av-wait .icon {
  width: 18px;
  height: 18px;
  flex: none;
}
.av-wait b {
  display: block;
  color: var(--ink);
}

@media (max-width: 1100px) {
  .av-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .av-side {
    position: static;
  }
}
@media (max-width: 720px) {
  .ac-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .ac-chips button {
    flex: none;
  }
  .ad-hero {
    height: 260px;
  }
  .ad-opt {
    flex-wrap: wrap;
  }
  .ad-opt__price {
    margin-left: 30px;
    text-align: left;
  }
  .ad-expect li {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 0 10px;
  }
  .ad-expect li::before {
    left: 71px;
  }
  .ad-know {
    grid-template-columns: minmax(0, 1fr);
  }
  .av-main {
    grid-template-columns: minmax(0, 1fr);
  }
  .av-qr {
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
  }
  .av-qr svg {
    width: 110px;
    height: 110px;
  }
  .av-kv {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .av-top,
  .av-main,
  .av-sec {
    padding-right: 16px;
    padding-left: 16px;
  }
  .av-tear {
    margin: 0 16px;
  }
  .av-tear::before {
    left: -27px;
  }
  .av-tear::after {
    right: -27px;
  }
}
@media print {
  .av-side,
  .res-back,
  .pb-done {
    display: none !important;
  }
  .av-wrap {
    display: block;
  }
}
@media (max-width: 720px) {
  .pk-bar__right,
  .ac-chips {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
}

