/*
 * SVT Volnay / FooEvents UI (theme only).
 * WooCommerce My Account cards follow the billing-address card treatment.
 * The Bootstrap layout is authored in PHP: row / col-12 / col-md-6 / col-xl-4.
 */
.woocommerce-MyAccount-content .svt-my-tickets {
  width: 100%;
  max-width: none;
  margin: 0 0 2rem;
  color: #fff;
}

.woocommerce-MyAccount-content .svt-my-tickets__heading {
  margin: 0 0 1.5rem;
}
.woocommerce-MyAccount-content .svt-my-tickets__heading h2 {
  margin: 0 0 .5rem;
  color: var(--color-gold, #ffde98);
  font-family: 'the_voyagerbold', serif;
  font-size: clamp(1.65rem, 2.1vw, 2.1rem);
  line-height: 1.18;
}
.woocommerce-MyAccount-content .svt-my-tickets__heading p {
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: 1rem;
}

/* Same restrained card style as WooCommerce billing address. */
.woocommerce-MyAccount-content .card.svt-my-ticket {
  min-width: 0;
  background: transparent;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 6px;
  box-shadow: none;
  color: #fff;
  overflow: hidden;
}
.woocommerce-MyAccount-content .svt-my-ticket__body {
  padding: 1.3rem 1.25rem;
  min-width: 0;
}
.woocommerce-MyAccount-content .svt-my-ticket__head {
  margin-bottom: 1rem;
}
.woocommerce-MyAccount-content .svt-my-ticket__type {
  display: inline-block;
  margin-bottom: .45rem;
  color: var(--color-gold, #ffde98);
  font: 600 .76rem/1.35 var(--font-primary, Arial, sans-serif);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.woocommerce-MyAccount-content .svt-my-ticket__title {
  margin: 0;
  color: #fff;
  font-family: 'the_voyagerbold', serif;
  font-size: 1.31rem;
  font-weight: normal;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.woocommerce-MyAccount-content .svt-my-ticket__main {
  min-width: 0;
  padding-bottom: 1rem;
}
.woocommerce-MyAccount-content .svt-my-ticket__visual {
  display: flex;
  flex: 0 0 112px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 112px;
  min-height: 112px;
  padding: 6px;
  border-radius: 5px;
  background: #fff;
  color: #384965;
  overflow: hidden;
}
.woocommerce-MyAccount-content .svt-my-ticket__visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 108px;
  object-fit: contain;
  border: 0;
}
.woocommerce-MyAccount-content .svt-my-ticket__quiz-icon,
.woocommerce-MyAccount-content .svt-my-ticket__placeholder {
  display: block;
  font-size: 2.65rem;
  line-height: 1;
}
.woocommerce-MyAccount-content .svt-my-ticket__visual-caption {
  margin-top: .5rem;
  text-align: center;
  font-size: .66rem;
  line-height: 1.25;
}
.woocommerce-MyAccount-content .svt-my-ticket__details {
  min-width: 0;
  flex: 1;
  font-size: .87rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.woocommerce-MyAccount-content .svt-my-ticket__day {
  font-weight: 600;
  color: #fff;
  margin: 0 0 .75rem;
}
.woocommerce-MyAccount-content .svt-my-ticket__number,
.woocommerce-MyAccount-content .svt-my-ticket__order {
  margin: 0 0 .55rem;
  color: rgba(255,255,255,.89);
}
.woocommerce-MyAccount-content .svt-my-ticket__number span,
.woocommerce-MyAccount-content .svt-my-ticket__number strong {
  display: block;
}
.woocommerce-MyAccount-content .svt-my-ticket__number strong {
  font-size: .91rem;
  color: #fff;
  overflow-wrap: anywhere;
}
.woocommerce-MyAccount-content .svt-my-ticket__actions {
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.10);
}

/* Same gold-on-olive buttons as the "Modifier" billing-address button. */
.woocommerce-MyAccount-content a.btn.svt-my-ticket__download,
.woocommerce-order a.svt-fooevents-pdf-btn,
.woocommerce-order button.svt-fooevents-pdf-btn,
.woocommerce a.svt-fooevents-pdf-btn,
.woocommerce button.svt-fooevents-pdf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  max-width: 100%;
  min-height: 41px;
  padding: .6rem .85rem;
  background: var(--color-green, #787f5b);
  border: 1px solid transparent;
  border-radius: 5px;
  color: var(--color-gold, #ffde98) !important;
  font-family: 'the_voyagerbold', serif;
  font-size: .94rem;
  font-weight: normal;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  transition: background-color .18s ease, color .18s ease;
  white-space: normal;
}
.woocommerce-MyAccount-content a.btn.svt-my-ticket__download {
  width: 100%;
}
.woocommerce-MyAccount-content a.btn.svt-my-ticket__download:hover,
.woocommerce-MyAccount-content a.btn.svt-my-ticket__download:focus,
.woocommerce-order a.svt-fooevents-pdf-btn:hover,
.woocommerce-order a.svt-fooevents-pdf-btn:focus,
.woocommerce-order button.svt-fooevents-pdf-btn:hover,
.woocommerce-order button.svt-fooevents-pdf-btn:focus,
.woocommerce a.svt-fooevents-pdf-btn:hover,
.woocommerce a.svt-fooevents-pdf-btn:focus,
.woocommerce button.svt-fooevents-pdf-btn:hover,
.woocommerce button.svt-fooevents-pdf-btn:focus {
  background: var(--color-gold2, #c9a35b);
  color: #384965 !important;
}
.woocommerce-MyAccount-content a.btn.svt-my-ticket__download:focus-visible,
.woocommerce a.svt-fooevents-pdf-btn:focus-visible,
.woocommerce button.svt-fooevents-pdf-btn:focus-visible {
  outline: 2px solid var(--color-gold, #ffde98);
  outline-offset: 3px;
}
.woocommerce-MyAccount-content .svt-my-ticket__pending {
  display: block;
  font-size: .8rem;
  color: rgba(255,255,255,.74);
  line-height: 1.35;
}

@media (max-width: 575.98px) {
  .woocommerce-MyAccount-content .svt-my-ticket__body { padding: 1rem; }
  .woocommerce-MyAccount-content .svt-my-ticket__title { font-size: 1.2rem; }
  .woocommerce-MyAccount-content .svt-my-ticket__visual {
    flex-basis: 100px;
    width: 100px;
    min-height: 100px;
  }
  .woocommerce-MyAccount-content .svt-my-ticket__details { font-size: .82rem; }
}
