/* Tickets checkout page — converted from src/pages/TicketsCheckoutPage.jsx styled-components.
 * Props-driven variants are expressed as modifier classes toggled by tickets-get.js. */

/* CheckoutRoot */
.checkout-root {
  min-height: 100vh;
  width: 100%;
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  background: #ffffff;
}

@media (max-width: 980px) {
  .checkout-root {
    grid-template-columns: 1fr;
  }
}

/* CheckoutLeft */
.checkout-left {
  background: #5e6578;
  color: #ffffff;
  padding: 44px 62px;
  display: flex;
  flex-direction: column;
}

@media (max-width: 900px) {
  .checkout-left {
    padding: 20px 14px;
  }
}

/* CheckoutBreadcrumbs */
.checkout-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* HomeBadge */
.home-badge {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
}

/* HomeIcon */
.home-icon {
  width: 12px;
  height: 12px;
  display: block;
}

/* CheckoutTitle */
.checkout-title {
  margin: 34px 0 20px;
  font-family: 'Roboto', sans-serif;
  font-size: 46px;
  font-weight: 400;
  line-height: 1;
}

@media (max-width: 900px) {
  .checkout-title {
    margin: 18px 0 12px;
    font-size: 30px;
  }
}

/* SectionLabel */
.section-label {
  margin: 0 0 12px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 700;
}

/* Divider */
.checkout-divider {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.55);
}

/* SelectedRow */
.selected-row {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  align-items: center;
}

@media (max-width: 900px) {
  .selected-row {
    grid-template-columns: 120px 1fr;
    gap: 10px;
  }
}

/* SelectedImage */
.selected-image {
  width: 150px;
  height: 86px;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .selected-image {
    width: 120px;
    height: 72px;
  }
}

/* SelectedTitle */
.selected-title {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 700;
}

/* SelectedHint */
.selected-hint {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
}

/* SelectedMeta */
.selected-meta {
  margin-top: 8px;
}

/* SelectedDateText */
.selected-date-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}

/* SelectedFormula */
.selected-formula {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.95);
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}

/* SelectedBottomDivider */
.selected-bottom-divider {
  width: 100%;
  height: 1px;
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.25);
}

/* SelectedTotalRow */
.selected-total-row {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
}

/* LeftActions */
.left-actions {
  margin-top: auto;
  display: grid;
  gap: 12px;
  padding-top: 24px;
}

@media (max-width: 900px) {
  .left-actions {
    position: sticky;
    bottom: 0;
    background: #5e6578;
    padding-top: 12px;
    padding-bottom: 8px;
    z-index: 2;
  }
}

/* LeftActionButton */
.left-action-button {
  height: 48px;
  border: none;
  background: #f1f1f1;
  color: #171717;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* LeftActionButton $primary */
.left-action-button.is-primary {
  background: #188a00;
  color: #ffffff;
}

@media (max-width: 900px) {
  .left-action-button {
    height: 46px;
    font-size: 12px;
    border-radius: 6px;
  }
}

/* CheckoutRight */
.checkout-right {
  background: #ffffff;
  color: #161616;
  padding: 28px 100px 34px;
  display: flex;
  flex-direction: column;
}

@media (max-width: 900px) {
  .checkout-right {
    padding: 16px 12px 18px;
  }
}

/* DateStepWrap */
.date-step-wrap {
  width: 100%;
  min-height: calc(100vh - 62px);
  display: flex;
  flex-direction: column;
}

@media (max-width: 900px) {
  .date-step-wrap {
    min-height: auto;
  }
}

/* DateHeading */
.date-heading {
  margin: 86px 0 12px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 900px) {
  .date-heading {
    margin: 18px 0 10px;
  }
}

/* TicketOptionBlock */
.ticket-option-block {
  margin-top: 34px;
  margin-bottom: 18px;
}

/* TicketOptionTitle */
.ticket-option-title {
  margin: 0 0 10px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

/* TicketOptionLine */
.ticket-option-line {
  height: 1px;
  background: #1f1f1f;
  margin-bottom: 16px;
}

/* TicketOptionText */
.ticket-option-text {
  margin: 0 0 14px;
  color: #2b2b2b;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  line-height: 1.35;
}

/* TicketOptionSubtext */
.ticket-option-subtext {
  margin: 0 0 12px;
  color: #171717;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 700;
}

/* TicketOptionRow */
.ticket-option-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  user-select: none;
  color: #171717;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
}

/* TicketOptionInput */
.ticket-option-input {
  width: 18px;
  height: 18px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #212121;
  border-radius: 6px;
  background: #e6e8eb;
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.ticket-option-input:checked {
  background: #e6f6e8;
  border-color: #1a9f2b;
}

.ticket-option-input:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid #1a9f2b;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* TimeStepWrap */
.time-step-wrap {
  width: 100%;
  min-height: calc(100vh - 62px);
  display: flex;
  flex-direction: column;
}

@media (max-width: 900px) {
  .time-step-wrap {
    min-height: auto;
  }
}

/* TimeStepTitle */
.time-step-title {
  margin: 86px 0 12px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 600;
}

/* TimeStepLine */
.time-step-line {
  height: 1px;
  background: #1f1f1f;
  margin-bottom: 12px;
}

/* TimeStepGrid */
.time-step-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 18px;
}

@media (max-width: 900px) {
  .time-step-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* TimeDateCard */
.time-date-card {
  background: #f1f1f1;
  padding: 12px 14px;
  color: #1b1b1b;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 600;
}

/* TimePanel */
.time-panel {
  background: #f1f1f1;
  padding: 12px;
}

/* TimePanelTitle */
.time-panel-title {
  margin: 0 0 10px;
  color: #1b1b1b;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 600;
}

/* TimeSlotsGrid */
.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

/* TimeSlotButton */
.time-slot-button {
  height: 44px;
  border: 1px solid transparent;
  background: #ffffff;
  color: #1c1c1c;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 600;
}

/* TimeSlotButton $selected */
.time-slot-button.is-selected {
  border: 1px solid #1a9f2b;
  background: #e6f6e8;
}

/* CalendarBlock */
.calendar-block {
  width: 100%;
}

@media (max-width: 900px) {
  .calendar-block {
    margin-bottom: 10px;
  }
}

/* CalendarTopLine */
.calendar-top-line {
  height: 1px;
  background: #1f1f1f;
  margin-bottom: 10px;
}

/* CalendarHead */
.calendar-head {
  display: grid;
  grid-template-columns: repeat(7, 34px);
  column-gap: 10px;
  align-items: center;
  margin-bottom: 8px;
  color: #141414;
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.calendar-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .calendar-head {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    column-gap: 6px;
  }
}

/* WeekDayLabel */
.week-day-label {
  color: #141414;
}

/* WeekDayLabel $muted */
.week-day-label.is-muted {
  color: #b7bcc7;
}

/* CalendarMain */
.calendar-main {
  display: grid;
  grid-template-columns: 320px 120px 1fr;
  gap: 14px;
  align-items: start;
}

@media (max-width: 900px) {
  .calendar-main {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* CalendarDaysColumn */
.calendar-days-column {
  width: 320px;
  min-width: 320px;
}

@media (max-width: 900px) {
  .calendar-days-column {
    width: 100%;
    min-width: 0;
  }
}

/* DaysGrid */
.days-grid {
  display: grid;
  grid-template-columns: repeat(7, 34px);
  column-gap: 10px;
  row-gap: 6px;
  color: #272727;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
}

@media (max-width: 900px) {
  .days-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    column-gap: 6px;
  }
}

/* CalendarAside */
.calendar-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-left: 16px;
}

@media (max-width: 900px) {
  .calendar-aside {
    margin-left: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
}

/* CalendarMonthTitle */
.calendar-month-title {
  margin: 0;
  color: #141414;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 700;
}

/* MonthNavButton */
.month-nav-button {
  width: 30px;
  height: 30px;
  border-radius: 11px;
  border: 1px solid #212121;
  background: transparent;
  color: #1f1f1f;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .month-nav-button {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }
}

/* MonthNavButtons */
.month-nav-buttons {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 900px) {
  .month-nav-buttons {
    gap: 8px;
  }
}

/* MonthNavIcon */
.month-nav-icon {
  width: 16px;
  height: 12px;
  display: block;
}

/* MonthNavIcon $left */
.month-nav-icon.is-left {
  transform: rotate(180deg);
}

@media (max-width: 900px) {
  .month-nav-icon {
    width: 15px;
    height: 11px;
  }
}

/* LegendLabels */
.legend-labels {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 6px;
  color: #1d1d1d;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 900px) {
  .legend-labels {
    display: none;
  }
}

/* LegendDots */
.legend-dots {
  margin-top: 92px;
  display: grid;
  justify-items: end;
  row-gap: 6px;
}

@media (max-width: 900px) {
  .legend-dots {
    display: none;
  }
}

/* LegendDot */
.legend-dot {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  display: inline-block;
  border: 1px solid #232323;
  background: #efefef;
}

/* LegendDot $selected */
.legend-dot.is-selected {
  background: #c5e4b9;
}

/* DayCell */
.day-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #222;
  font-weight: 500;
  border: 1px solid transparent;
  background: transparent;
  transition: background-color 0.16s ease;
}

.day-cell:hover {
  background: #d2e6cc;
}

/* DayCell muted / past / disabled -> grey text, no hover */
.day-cell.is-muted,
.day-cell.is-past,
.day-cell.is-disabled {
  color: #c4c9d1;
}

.day-cell.is-muted:hover,
.day-cell.is-past:hover,
.day-cell.is-disabled:hover {
  background: transparent;
}

/* DayCell $selected */
.day-cell.is-selected {
  font-weight: 700;
  border: 1px solid #798195;
  background: #e9ecef;
}

@media (max-width: 900px) {
  .day-cell {
    width: 100%;
    height: 30px;
    border-radius: 9px;
    font-size: 11px;
  }
}

/* BottomNext */
.bottom-next {
  margin-top: auto;
  margin-left: auto;
  width: 360px;
  height: 56px;
  border: none;
  background: #f3f3f3;
  color: #c3c3c3;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.bottom-next:not(:disabled) {
  color: #111111;
  cursor: pointer;
}

.bottom-next:not(:disabled):hover {
  background: #575f6f;
  color: #ffffff;
}

@media (max-width: 900px) {
  .bottom-next {
    width: 100%;
    margin-left: 0;
    margin-top: 12px;
    height: 48px;
    font-size: 13px;
    border-radius: 6px;
  }
}

/* TicketsStepWrap */
.tickets-step-wrap {
  width: 100%;
  min-height: calc(100vh - 62px);
  display: flex;
  flex-direction: column;
}

@media (max-width: 900px) {
  .tickets-step-wrap {
    min-height: auto;
  }
}

/* TicketsStepTitle */
.tickets-step-title {
  margin: 86px 0 12px;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
}

@media (max-width: 900px) {
  .tickets-step-title {
    margin: 18px 0 10px;
    font-size: 18px;
  }
}

/* TicketsStepLine */
.tickets-step-line {
  height: 1px;
  background: #1f1f1f;
  margin-bottom: 14px;
}

/* TicketRows */
.ticket-rows {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

/* TicketRow */
.ticket-row {
  display: grid;
  grid-template-columns: 110px 1fr 150px;
  gap: 8px;
}

@media (max-width: 900px) {
  .ticket-row {
    grid-template-columns: 80px 1fr 116px;
    gap: 6px;
  }
}

/* TicketPrice */
.ticket-price {
  min-height: 48px;
  background: #ececec;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-family: 'Roboto', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #242424;
}

@media (max-width: 900px) {
  .ticket-price {
    padding: 0 8px;
    font-size: 15px;
  }
}

/* TicketName */
.ticket-name {
  min-height: 48px;
  background: #ececec;
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #2b2b2b;
}

@media (max-width: 900px) {
  .ticket-name {
    padding: 0 10px;
    font-size: 11px;
  }
}

/* TicketCounter */
.ticket-counter {
  min-height: 48px;
  background: #5d6679;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  justify-items: center;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 700;
}

/* CounterButton */
.counter-button {
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1;
  cursor: pointer;
}

/* ConfirmWrap */
.confirm-wrap {
  width: 100%;
}

/* ConfirmTitle */
.confirm-title {
  margin: 86px 0 12px;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
}

@media (max-width: 900px) {
  .confirm-title {
    margin: 18px 0 10px;
    font-size: 18px;
  }
}

/* ConfirmLine */
.confirm-line {
  height: 1px;
  background: #1f1f1f;
  margin-bottom: 14px;
}

/* ConfirmCard */
.confirm-card {
  min-height: 74px;
  background: #ececef;
  border: 1px solid #d2d6de;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
}

/* ConfirmIconWrap */
.confirm-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d7dbe3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ConfirmText */
.confirm-text {
  margin: 0;
  color: #2a2a2a;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 1.35;
}

/* TicketsStepActions */
.tickets-step-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 900px) {
  .tickets-step-actions {
    position: sticky;
    bottom: 0;
    background: #ffffff;
    padding-top: 10px;
    padding-bottom: 6px;
    z-index: 2;
  }
}

/* TicketsStepActionButton */
.tickets-step-action-button {
  height: 48px;
  border: none;
  background: #f1f1f1;
  color: #171717;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
}

/* TicketsStepActionButton disabled */
.tickets-step-action-button:disabled {
  color: #b8c0c9;
  cursor: not-allowed;
}

@media (max-width: 900px) {
  .tickets-step-action-button {
    height: 46px;
    border-radius: 6px;
  }
}

/* Step visibility helper (replaces React conditional rendering) */
[hidden] {
  display: none !important;
}
