/* ===== Mock Tickets Page ===== */

/* Page layout */
.mt-page {
  padding-bottom: 5rem;
}

.mt-page-head {
  text-align: center;
  padding: 3.5rem 1.5rem 2rem;
}

.mt-page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--purple-900);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.mt-page-lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--purple-700);
  margin: 0 auto;
  max-width: 480px;
  line-height: 1.6;
}

/* ===== Spec Card ===== */
.mt-spec-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto 2.5rem;
  background: var(--white);
  border: 1px solid var(--lavender-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(91, 33, 182, 0.05);
  overflow: hidden;
}

.mt-spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.25rem 1.75rem;
  flex: 1;
  min-width: 140px;
}

.mt-spec-divider {
  width: 1px;
  align-self: stretch;
  background: var(--lavender-200);
}

.mt-spec-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple-400);
}

.mt-spec-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--purple-900);
}

.mt-spec-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--purple-600);
}

.mt-spec-dim {
  font-size: 0.8rem;
  color: var(--purple-400);
}

.mt-spec-freebies {
  flex: 2;
}

.mt-freebie-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.mt-freebie-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--lavender-50);
  border: 1px solid var(--lavender-200);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--purple-700);
}

.mt-freebie-chip svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.mt-freebie-dim {
  font-weight: 400;
  color: var(--purple-400);
  font-size: 0.75rem;
}

.mt-spec-notice {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.6rem;
  flex: 2;
  font-size: 0.85rem;
  color: var(--purple-700);
  border-left: 3px solid var(--purple-400);
}

.mt-spec-notice svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--purple-500);
  margin-top: 1px;
}

/* ===== Two-column body ===== */
.mt-body {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 320px);
  gap: 1.75rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  align-items: start;
}

/* ===== Stepper ===== */
.mt-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 2rem;
}

.mt-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.mt-step-circle {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--lavender-100);
  color: var(--purple-400);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 2px solid var(--lavender-200);
}

.mt-step.active .mt-step-circle {
  background: var(--purple-600);
  color: var(--white);
  border-color: var(--purple-600);
  box-shadow: 0 4px 12px rgba(91, 33, 182, 0.35);
}

.mt-step.done .mt-step-circle {
  background: var(--purple-100);
  color: var(--purple-600);
  border-color: var(--purple-300);
}

.mt-step-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--purple-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mt-step.active .mt-step-label {
  color: var(--purple-700);
}

.mt-step-line {
  flex: 1;
  height: 2px;
  background: var(--lavender-200);
  margin-bottom: 1.25rem;
  transition: background 0.3s ease;
}

.mt-step-line.done {
  background: var(--purple-300);
}

/* ===== Form panels ===== */
.mt-form {
  background: var(--white);
  border: 1px solid var(--lavender-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(91, 33, 182, 0.05);
  overflow: hidden;
}

.mt-step-panel {
  display: none;
  padding: 2rem;
  animation: mtPanelIn 0.25s ease;
}

.mt-step-panel.active {
  display: block;
}

@keyframes mtPanelIn {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}

.mt-step-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--purple-900);
  margin: 0 0 1.5rem;
}

/* ===== Artist grid ===== */
.mt-artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.mt-artist-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--lavender-200);
  cursor: pointer;
  transition: all 0.25s ease;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(91, 33, 182, 0.06);
}

.mt-artist-card:hover {
  border-color: var(--purple-400);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(91, 33, 182, 0.15);
}

.mt-artist-card.selected {
  border-color: var(--purple-600);
  box-shadow: 0 0 0 3px rgba(91, 33, 182, 0.15), 0 8px 24px rgba(91, 33, 182, 0.18);
}

.mt-artist-card--soon {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.mt-artist-radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.mt-artist-poster {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--lavender-50);
}

.mt-artist-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.mt-artist-card:hover .mt-artist-img {
  transform: scale(1.06);
}

.mt-artist-soon-overlay {
  position: absolute;
  inset: 0;
  background: rgba(60, 7, 160, 0.65);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mt-artist-soon-overlay span {
  background: var(--purple-600);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

.mt-artist-info {
  padding: 0.6rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mt-artist-name {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--purple-900);
}

.mt-artist-status {
  font-size: 0.72rem;
  color: var(--purple-400);
}

.mt-artist-status.available {
  color: #16a34a;
  font-weight: 600;
}

.mt-artist-check {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--purple-600);
  color: var(--white);
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(91, 33, 182, 0.4);
}

.mt-artist-check svg {
  width: 10px;
  height: 10px;
}

.mt-artist-card.selected .mt-artist-check {
  display: flex;
}

/* ===== Form inputs ===== */
.mt-form-group {
  margin-bottom: 1.5rem;
}

.mt-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--purple-900);
  margin-bottom: 0.6rem;
}

.mt-req {
  color: #dc2626;
}

.mt-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid var(--lavender-200);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--purple-900);
  background: var(--white);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.mt-input:focus {
  outline: none;
  border-color: var(--purple-500);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.mt-input.error {
  border-color: #dc2626;
}

.mt-image-uploads {
  display: grid;
  gap: 1.5rem;
  margin: 1.5rem 0 2rem;
}

.mt-upload {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--lavender-200);
  border-radius: var(--radius-lg);
}

.mt-upload-help {
  text-align: justify;
}

.mt-upload-help,
.mt-upload-status {
  font-size: 0.85rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.mt-upload-status[data-error="true"] {
  color: #b91c1c;
}

.mt-upload input[type="file"] {
  width: 100%;
  font: inherit;
  font-size: 0.85rem;
}

.mt-crop-preview {
  display: block;
  width: min(100%, 220px);
  height: auto;
  margin: 1rem auto;
  border: 1px solid var(--lavender-200);
}

.mt-upload--photocard .mt-crop-preview {
  border-radius: 14px;
}

.mt-crop-controls label {
  display: block;
  margin: 0.75rem 0;
  font-size: 0.85rem;
}

.mt-crop-controls input[type="range"] {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  accent-color: var(--purple-600);
}

.mt-upload input:focus-visible {
  outline: 2px solid var(--purple-600);
  outline-offset: 3px;
}

.mt-btn-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.mt-form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

/* ===== Swatches ===== */
.mt-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mt-swatch {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 2px solid var(--lavender-200);
  background: var(--white);
  color: var(--purple-700);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mt-swatch:hover {
  border-color: var(--purple-400);
  background: var(--lavender-50);
}

.mt-swatch.selected {
  background: var(--purple-600);
  border-color: var(--purple-600);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(91, 33, 182, 0.3);
}

/* ===== Step navigation ===== */
.mt-step-nav {
  margin-top: 1.75rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.mt-step-nav--split {
  justify-content: space-between;
}

.mt-btn-next,
.mt-btn-submit,
.mt-btn-back {
  white-space: nowrap;
}

.mt-btn-next,
.mt-btn-submit {
  background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
  color: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  padding: 0.8rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mt-btn-next:hover,
.mt-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(91, 33, 182, 0.3);
}

.mt-btn-back {
  background: none;
  border: 2px solid var(--lavender-200);
  color: var(--purple-600);
  border-radius: var(--radius-lg);
  padding: 0.8rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mt-btn-back:hover {
  border-color: var(--purple-400);
  background: var(--lavender-50);
}

/* ===== Review list ===== */
.mt-review-list {
  background: var(--lavender-50);
  border: 1px solid var(--lavender-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.mt-review-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--lavender-200);
  gap: 1rem;
}

.mt-review-row:last-child {
  border-bottom: none;
}

.mt-review-key {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--purple-400);
  flex-shrink: 0;
}

.mt-review-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--purple-900);
  text-align: right;
}

/* ===== Live Preview Column ===== */
.mt-preview-col {
  position: relative;
}

.mt-preview-sticky {
  position: sticky;
  top: 1.5rem;
}

.mt-preview-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple-400);
  margin: 0 0 1rem;
  text-align: center;
}

/* ===== Preview Tabs ===== */
.mt-preview-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  justify-content: center;
}

.mt-preview-tab {
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
  border: 2px solid var(--lavender-200);
  background: var(--white);
  color: var(--purple-600);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mt-preview-tab:hover {
  border-color: var(--purple-400);
  background: var(--lavender-50);
}

.mt-preview-tab.active {
  background: var(--purple-600);
  border-color: var(--purple-600);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(91, 33, 182, 0.28);
}

/* ===== Ticket Image Preview ===== */
.mt-ticket-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--lavender-50);
  margin-bottom: 1.25rem;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mt-ticket-img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.25s ease;
}

.mt-ticket-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 2.5rem 1rem;
  color: var(--purple-300);
  text-align: center;
}

.mt-ticket-img-placeholder svg {
  width: 36px;
  height: 36px;
}

.mt-ticket-img-placeholder span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--purple-400);
  line-height: 1.4;
}

/* ===== Freebies Preview ===== */
.mt-preview-freebies {
  background: var(--white);
  border: 1px solid var(--lavender-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(91, 33, 182, 0.04);
}

.mt-preview-freebies-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple-400);
  margin: 0 0 0.85rem;
}

.mt-preview-freebie-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mt-preview-freebie-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.mt-preview-freebie-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--lavender-50);
  border: 1px solid var(--lavender-200);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--purple-500);
}

.mt-preview-freebie-icon svg {
  width: 14px;
  height: 14px;
}

.mt-preview-freebie-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--purple-900);
  margin: 0 0 0.1rem;
}

.mt-preview-freebie-desc {
  font-size: 0.75rem;
  color: var(--purple-400);
  margin: 0;
}

/* ===== Poster Popup ===== */
.mt-poster-popup {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mt-poster-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.mt-poster-popup-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  max-width: min(420px, 90vw);
  animation: mtPanelIn 0.25s ease;
}

.mt-poster-popup-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  display: block;
}

.mt-poster-popup-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.mt-poster-popup-close {
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--white);
  border: none;
  color: var(--purple-900);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}

.mt-poster-popup-close:hover {
  background: var(--purple-600);
  color: var(--white);
  transform: scale(1.1);
}

/* ===== Validation Modal ===== */
.validation-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.validation-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.validation-modal-content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  text-align: center;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.validation-modal-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.validation-modal-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--purple-900);
  margin: 0 0 1rem;
}

.validation-modal-message {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.validation-modal-btn {
  background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
  color: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 120px;
}

.validation-modal-btn:hover {
  background: linear-gradient(135deg, var(--purple-700), var(--purple-600));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(91, 33, 182, 0.3);
}

/* ===== Responsive ===== */
@media (max-width: 720px) {
  .mt-body {
    grid-template-columns: 1fr;
  }

  .mt-preview-col {
    order: -1;
  }

  .mt-preview-sticky {
    position: static;
  }

  .mt-ticket-preview {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .mt-spec-card {
    flex-direction: row;
  }

  .mt-spec-divider {
    width: 100%;
    height: 1px;
    align-self: auto;
  }

  .mt-spec-item {
    min-width: 120px;
  }
}

@media (max-width: 480px) {
  .mt-form-row {
    grid-template-columns: 1fr;
  }

  .mt-artist-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mt-spec-card {
    flex-wrap: wrap;
  }

  .mt-spec-item {
    flex: 1 1 calc(50% - 1px);
    min-width: 0;
    padding: 1rem 1.25rem;
  }

  .mt-spec-divider {
    display: none;
  }

  .mt-ticket-artist-img-wrap {
    width: 80px;
  }

  .validation-modal-content {
    padding: 1.5rem;
  }
}

/* Delivery options */
.mt-radio-group {
  display: grid;
  gap: 0.6rem;
}

.mt-radio {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--lavender-200);
  border-radius: 10px;
  cursor: pointer;
  line-height: 1.4;
}

.mt-radio input {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.mt-radio small {
  color: var(--text-soft, #5b6470);
}

.mt-radio:has(input:checked) {
  border-color: var(--purple-600, #7c3aed);
  background: var(--lavender-50, #f8f7fc);
}

#concertFields[hidden],
#deliveryGroup[hidden] {
  display: none;
}