.ticket-card {
  background: #222;
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  border-radius: 1rem;
  font-size: 1.125rem;
}

.ticket-card.active {
  background-image: linear-gradient(45deg,
      rgb(31, 29, 29, 0.7),
      rgb(41, 42, 41, 0.7) 50%,
      rgb(31, 29, 29, 0.7));
  border: 0.3rem solid #ff0000;
  opacity: 0.8;
}

.ticket-card.coming-soon {
  background-image: linear-gradient(45deg,
      rgb(73, 74, 74, 0.7),
      rgb(131, 139, 139, 0.7) 50%,
      rgb(73, 74, 74, 0.7));
  opacity: 0.8;
  border: 0.3rem solid #8f8f8f;
}

.ticket-card.closed {
  background-image: linear-gradient(45deg,
      rgb(73, 74, 74, 0.7),
      rgb(131, 139, 139, 0.7) 50%,
      rgb(73, 74, 74, 0.7));
  border: 0.3rem solid #8f8f8f;
  opacity: 0.8;
}

.ticket-card-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 19rem;
  width: 19rem;
  padding: 1.5rem;
  position: relative;
}

.labels {
  position: relative;
  top: 1.125rem;
  right: 1.125rem;
  display: flex;
  flex-direction: row;
  justify-content: right;
  align-items: center;
  gap: 1rem;
  width: 100%;
  height: 1rem;
}

.label {
  display: flex;
  align-items: center;
  font-size: 0.7rem;
  padding: 0.2rem 0.8rem;
  height: 1rem;
  border-radius: 0.2rem;
}

.disabled-ticket.coming-soon {
  background-color: #cfcfcf;
  color: #060608;
  font-weight: 600;
}

.disabled-ticket.closed {
  background-color: #cfcfcf;
  color: #060608;
  font-weight: 600;
}

.disabled-ticket.popular {
  background-color: #cfcfcf;
  color: #060608;
  font-weight: 600;
}

.ticket-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.ticket-details .heading {
  color: #fff;
  margin-block-end: 0.83em;
}

.disabled-description {
  color: #fff;
}

.active-description {
  color: #959596;
}

 .button-container p {
  margin: 0;
} 

.toggle-button {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.toggle-button {
  -webkit-tap-highlight-color: transparent;
}

.price {
  color: #fff;
  font-size: 1.7rem;
  font-weight: 700;
  margin: 0.7rem 0;
}

.price-container .hidden {
  display: none;
}

.subtext {
  margin-bottom: 1.3rem;
}

.active-subtext {
  color: #777877;
}

.disabled-subtext {
  color: #bdbfbe;
}

.panel-close a {
  text-decoration: none;
}

.button-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  padding: 0.5rem 1.5rem;
  border-radius: 1.2rem;
  width: 100%;
  font-family: Montserrat, Calibri, sans-serif;
}

button {
  border-radius: .5rem;
  background:#ff0000;
  padding: 1em;
  color: white;
  font-size: 1rem;
  height: 2.5em;
  border-width: 0;
  cursor: pointer;
  align-items: center;
  justify-items: center;
  display: flex;
  justify-content: center;
  
}

.active-button {
  background-color: red;
  color: #fffbfb;
}

.disabled-button {
  background-color: #fefefe;
  color: #060608;
}

.arrow-right {
  width: 3.4rem;
}

@media (max-width: 470px) {
  .ticket-card-container {
    border-radius: 0.5rem;
    margin-top: 0.5rem;
  }

  .ticket-card-container-close {
    display: flex;
    justify-content: center;
    animation: close-panel 0.3s ease-in-out;
    height: 2.2rem;
    width: 19rem;
    padding: 1rem;
    overflow: hidden;
  }

  .ticket-card-container-open {
    animation: open-panel 0.3s ease-in-out;
    height: 16rem;
    width: 19rem;
    padding: 1rem;
  }

  .disabled-ticket {
    border: 0.1rem solid #8f8f8f;
  }

  .labels {
    position: relative;
    top: -1.125rem;
    left: 0.094rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .label {
    font-size: .6rem;
    height: .7rem;
    border-radius: .2rem .2rem 0 0;
  }

  .ticket-details .heading {
    margin: -0.2rem 0;
    font-size: 1.3rem;
    margin-block-end: 1.3em;
  }

  .toggle-button {
    display: block;
    position: absolute;
    right: 0.625rem;
    top: 32%;
    transform: translateY(-50%);
  }

  .ticket-card-container-open .toggle-button {
    top: 0.625rem;
    right: 0.625rem;
    transform: translateY(-0.1);
  }

  .arrow-icon {
    transition: transform 0.3s ease-in-out;
    font-size: 1.5rem;
    color: white;
  }

  .rotated {
    transform: rotate(180deg);
  }

  .ticket-card-container {
    transition: height 0.3s ease-in-out;
  }

}

@media (max-width: 350px) {
  .ticket-card-container-close {
    animation: close-panel .3s ease-in-out;
    height: 2.2rem;
    width: 17rem;
    padding: 1rem;
  }

  .ticket-card-container-open {
    animation: open-panel .3s ease-in-out;
    height: 16rem;
    width: 17rem;
    padding: 1rem;
  }
}