/* Supplementary styles for offline interactive webstore */
[ng-cloak], .is-hidden { display: none !important; }
body.modal-open { overflow: hidden; }

/* Clearfix for floated footer columns so contacts, socials & privacy stay visible */
#footer { overflow: hidden; }
#footer .container::after { content: ""; display: table; clear: both; }
#footer .footer-right { text-align: right; }
#footer .socials { list-style: none; padding: 0; margin: 0 0 14px 0; display: inline-block; }
#footer .socials li { display: inline-block; margin-left: 4px; }

@media screen and (max-width: 700px) {
  #footer { padding: 28px 16px; }
  #footer .c-100-c { width: 100%; float: none; }
  #footer .m-r-all { margin-right: 0; }
  #footer .footer-right { text-align: center; margin-top: 18px; }
  #footer .footer-contact { max-width: 320px; margin: 0 auto 10px auto; text-align: left; }
}

/* Prevent margin-top collapse from pushing #header / .top_logo down */
#page .container.main {
  margin-top: 0 !important;
  padding-top: 150px;
}

/* Header, Logo & Cart Badge on Mobile (<= 700px) */
@media screen and (max-width: 700px) {
  #header .top_bar { padding: 0 12px; }
  #header .top_bar .logo img { max-width: 130px; }
  #header .top_logo { position: absolute; top: 46px; left: 16px; z-index: 900; }
  #header .top_logo img { width: 150px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); }
  #page .container.main { margin-top: 0 !important; padding-top: 128px; padding-left: 14px; padding-right: 14px; box-sizing: border-box; }
  .ui-control.button.buttonCounter .count { left: -10px; bottom: -10px; width: 22px; line-height: 22px; font-size: 12px; }
}

/* 5-Step Progress Bar on Mobile (<= 600px) - compact iconsOnly mode */
.steps.iconsOnly > div { display: flex; justify-content: center; flex-wrap: nowrap; }
.steps.iconsOnly .step { padding-right: 10px; padding-left: 24px; flex: 0 0 auto; }
.steps.iconsOnly .step:first-child { padding-left: 12px; }
.steps.iconsOnly .step span { display: none; }
.steps.iconsOnly .step.typcn:before { font-size: 16px; height: 44px; line-height: 44px; margin-right: 0; }

@media screen and (max-width: 600px) {
  .steps > div { display: flex; justify-content: center; flex-wrap: nowrap; }
  .steps .step { padding-right: 10px; padding-left: 24px; flex: 0 0 auto; }
  .steps .step:first-child { padding-left: 12px; }
  .steps .step span { display: none; }
  .steps .step.typcn:before { font-size: 16px; height: 44px; line-height: 44px; margin-right: 0; }
}

/* Calendar Select Native Arrow Fix */
#calendarModalWrapper .calendar-header select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}
#calendarModalWrapper .calendar-header select::picker-icon {
  display: none;
}

/* Calendar & Terms Modals on Mobile/Tablet (<= 900px) */
@media screen and (max-width: 900px) {
  .calendar-modal .modal,
  .calendar-modal.event-time.wide .modal {
    width: 94vw !important;
    max-width: 480px;
    max-height: 92vh;
  }
  .calendar-modal .modal .modal-content,
  .calendar-modal.event-time .modal .modal-content {
    max-height: 88vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 14px;
    box-sizing: border-box;
  }
  .calendar-modal .c-50-a,
  .calendar-modal .modal-content > .row .c-50-all {
    width: 100%;
    float: none;
  }
  .calendar-modal .m-l-all { margin-left: 0 !important; }
  .calendar-modal .time-selector { max-height: none; margin-top: 14px; }
  .calendar-modal .time-selector .times { max-height: none; overflow-y: visible; }
  .calendar-modal .time-selector .header-row .c-25-all,
  .calendar-modal .time-selector .time .c-25-all {
    width: 25% !important;
    float: left !important;
  }
  .calendar-modal .time-selector .header-row .c-50-all,
  .calendar-modal .time-selector .time .c-50-all {
    width: 50% !important;
    float: left !important;
  }
  .calendar-modal .time-selector .select-time {
    width: 100%;
    padding: 6px 8px;
    font-size: 13px;
    line-height: 1.25;
    white-space: normal;
    min-height: 40px;
  }
  .calendar-header .month-name .month-year-select select {
    font-size: 14px;
    padding: 4px 22px 4px 6px;
  }
  .calendar-body .day { font-size: 13px; }
}

/* Cart Update Button on Mobile (<= 615px) & Consistent Labels */
@media (max-width: 615px) {
  .cart-items .update-row .updateCart {
    display: block !important;
    margin: 12px 0 15px 0;
  }
  .cart-items .update-row .updateCart .ui-control.button {
    width: 100%;
    margin: 0;
    top: 0;
  }
}

.vertical-cart h5.label {
  font-family: Lato, 'Open Sans', sans-serif;
  color: #848484;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  padding: 0 0 5px 0;
}

/* Floating Labels & Select Spacing */
.input-text {
  padding-top: 1.2rem;
  padding-bottom: 0.2rem;
}
.input-text.ng-not-empty + label,
.input-text:focus + label {
  top: 2px;
  font-size: 11px;
  color: #707070;
}
.select .text {
  padding-top: 14px;
  line-height: 26px;
}
.select select.ng-not-empty + label {
  top: 2px;
  font-size: 11px;
  color: #707070;
}

/* High-contrast promo link on yellow banner */
.salesChannelNav .tsogo_msg a {
  color: #fff;
  text-decoration: underline;
  font-weight: 700;
}

/* Pass Lookup & Ticket Thumbnail on Mobile (<= 600px) */
@media screen and (max-width: 600px) {
  .pass-lookup .c-80-a { width: 100%; }
  .pass-lookup .membership-input { width: 100%; }
  .pass-lookup table { width: 100%; }
  .pass-lookup .hotel-rewards-text { margin: 20px 0; }
  .viewItems .list-categories .img_wrap img {
    display: block;
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    border-radius: 2px;
  }
}

/* Inline validation & toast banner */
.grc-alert-banner {
  background-color: #fdecea;
  border-left: 4px solid #d6443c;
  color: #8a1f19;
  padding: 12px 16px;
  margin: 14px 0;
  font-family: Lato, 'Open Sans', sans-serif;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.grc-alert-banner.success {
  background-color: #edf7ed;
  border-left-color: #2e7d32;
  color: #1b5e20;
}
.grc-alert-banner button.close-alert {
  background: transparent;
  border: none;
  color: inherit;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}

/* Member badge bar on discounted ticket pages */
.grc-member-banner {
  background-color: #fff6ed;
  border: 1px solid #fa8d29;
  padding: 10px 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
}
.grc-member-banner strong { color: #eb7305; }
.grc-member-banner a { color: #007fc8; text-decoration: none; font-weight: 700; }
.grc-member-banner a:hover { text-decoration: underline; }

/* Clickable casino ID rows helper */
.pass-lookup table tbody tr { cursor: pointer; transition: background-color 0.15s ease; }
.pass-lookup table tbody tr:hover { background-color: #fff3e6 !important; }

/* Calendar selected & disabled states */
.calendar-body .day.available { cursor: pointer; }
.calendar-body .day[aria-disabled="true"]:not(.selected) { opacity: 0.45; cursor: not-allowed; }
.calendar-body .day.selected { outline: 2px solid #222; border-radius: 6px; }

/* Checkbox SVG check visibility */
.checkbox-wrapper { position: relative; display: inline-block; width: 24px; height: 24px; cursor: pointer; }
.checkbox-wrapper input.input-checkbox {
  position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2;
}
.checkbox-wrapper span.checked {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border: 1px solid #b3b3b3; background: #fff; box-sizing: border-box;
}
.checkbox-wrapper input.input-checkbox:checked + span.checked {
  background-color: #fa8d29; border-color: #fa8d29;
}
.checkbox-wrapper span.checked svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 3; display: none; }
.checkbox-wrapper input.input-checkbox:checked + span.checked svg { display: block; }

/* Order Confirmation page */
.confirm-page .order-hero {
  background-color: #f7f7f7;
  border-top: 4px solid #fa8d29;
  padding: 20px;
  margin-bottom: 24px;
}
.confirm-page .order-ref {
  font-size: 20px;
  font-weight: 700;
  color: #007fc8;
}
.confirm-page .ticket-voucher {
  border: 1px solid #dcdcdc;
  background: #fff;
  padding: 18px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.confirm-page .voucher-qr {
  text-align: center;
  border-left: 1px dashed #ccc;
  padding-left: 18px;
}
@media screen and (max-width: 600px) {
  .confirm-page .voucher-qr { border-left: none; border-top: 1px dashed #ccc; padding-left: 0; padding-top: 12px; width: 100%; }
}
@media print {
  .headerContainer, .stepsContainer, .footerContainer, .no-print { display: none !important; }
  .container.main { margin-top: 0 !important; }
}
