.user-data__form-group {
  margin-bottom: 2rem;
  margin-top: 2rem;
}
.user-data__form-group-title {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-wrap: nowrap;
}
.form-group-title__divider {
  width: 100%;
  height: 1px;
  background-color: var(--neutral-50);
}
html.contrast-mode .form-group-title__divider {
  background-color: var(--contrast-yellow);
}
.my-account-section {
  min-height: 100vh;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1rem 4rem 1rem;
}
.my-account-section__title {
  margin-bottom: 2rem;
}
.my-account-section__title .btn {
  font-family: "Suisse BP Int'l" !important;
  width: fit-content;
}
.user-data__form-btns .btn {
  width: 100%;
  margin-top: 1rem;
}
.user-settings__form-content > p {
  margin-bottom: 1rem;
}
.user-settings__form-content {
  padding-bottom: 1rem;
}
.my-account-section__title {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
[data-tab-trigger="user-data"] .btn--account-tab__label {
  max-width: 50px;
}
.btn--account-tab__label {
  max-width: 70px;
}
.reset-email-notice {
  margin-top: 1rem;
}
.user-data__history-list {
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.user-data__history-list-item {
  padding: 1rem 0.5rem;
  border-radius: 1rem;
  background: var(--neutral-50);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
html.contrast-mode .user-data__history-list-item {
  background-color: var(--contrast-black);
  border: 1px solid var(--contrast-yellow);
}
.data__history-list-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--neutral-100);
  margin-bottom: 0.5rem;
}
html.contrast-mode .data__history-list-row {
  border-bottom: 1px solid var(--contrast-yellow);
}
.data__history-list-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
html.contrast-mode .data__history-list-row:last-child {
  border-bottom: none;
}
.data__history-list-label,
.data__history-list-value {
  width: 100%;
}
.data__history-list-value {
  text-align: right;
}
.history-list-item__content {
  margin-bottom: 2rem;
}
.history-list-item__content-tickets-title {
  margin-bottom: 1rem;
}

.history-list-item__content-tickets {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.history-list-item__content-item {
  padding: 1rem 0.5rem;
  border-radius: 0.5rem;
  background: var(--neutral-white);
}
html.contrast-mode .history-list-item__content-item {
  background-color: var(--contrast-black);
  border: 1px solid var(--contrast-yellow);
}
.ticket-title {
  font-family: "Romain BP Text";
  font-style: italic;
  margin-bottom: 1.5rem;
}
.ticket-variants {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.history-list-item__content-products {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.history-list-item__content-item--product {
  display: flex;
}
.history-list-item__content-delivery {
  margin-top: 2rem;
}
.history-list-item__content-delivery .ticket-variant-label {
  width: 70px;
}
.history-list-item__content-delivery-title {
  margin-bottom: 1rem;
}
.history-list-item__content-total {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
  border-top: 1px solid var(--neutral-700);
  margin-top: 1rem;
}
.history-list-item__actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 1rem;
}
.history-list-item__actions .btn {
  border-radius: 8px;
}
.user-data__history-pagination {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
#delete-account-popup .popup__box {
  max-width: 420px;
  padding: 1rem;
}
.popup-delete-account__title {
  margin-bottom: 1rem;
}
.popup-delete-account__btns {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
}

@media only screen and (max-width: 1023px) {
  .my-account-section-tabs {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    padding: 0.5rem;
    overflow: hidden;
    background-color: var(--neutral-white);
    z-index: 8;
    border-top: 1px solid var(--neutral-50);
    display: flex;
    justify-content: space-between;
  }
  html[data-font-size="large"] .my-account-section-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  html[data-font-size="large"]
    .my-account-section-tabs
    .btn--account-tab.btn--tab.btn {
    height: 3rem;
    min-height: 3rem;
  }
  html[data-font-size="large"]
    .my-account-section-tabs
    .btn--account-tab.btn--tab.btn {
    flex-direction: row;
  }
  html[data-font-size="large"]
    .my-account-section-tabs
    .btn--account-tab.btn--tab.btn
    .btn--account-tab__label {
    text-align: left;
    max-width: 100%;
    font-size: 0.875rem;
    justify-content: flex-start;
  }
  html[data-font-size="xlarge"] .my-account-section-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  html[data-font-size="xlarge"]
    .my-account-section-tabs
    .btn--account-tab.btn--tab.btn {
    height: 3rem;
    min-height: 3rem;
  }
  html[data-font-size="xlarge"]
    .my-account-section-tabs
    .btn--account-tab.btn--tab.btn {
    flex-direction: row;
  }
  html[data-font-size="xlarge"]
    .my-account-section-tabs
    .btn--account-tab.btn--tab.btn
    .btn--account-tab__label {
    text-align: left;
    max-width: 100%;
    font-size: 1rem;
    justify-content: flex-start;
  }
  html.contrast-mode .my-account-section-tabs {
    background-color: var(--contrast-black);
    border-top: 1px solid var(--contrast-yellow);
  }
  .btn--account-tab.btn--tab.btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    padding: 0.5rem 0.5rem;
    text-align: center;
    height: 5rem;
    min-height: 5rem;
    min-width: 0;
  }
  .btn--account-tab__label {
    font-size: 12px;
    line-height: 1.1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    /*white-space: nowrap;*/
    overflow: hidden;
    /*text-overflow: ellipsis;*/
    width: 100%;
    min-width: 0;
  }

  .btn--account-tab.btn--tab.btn svg {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    max-width: 24px;
    max-height: 24px;
  }
}
@media (min-width: 480px) {
  .my-account-section {
    padding: 4rem 10% 4rem 10%;
  }
  .my-account-section__title-label {
    width: 100%;
    flex-grow: 1;
  }
  .user-data__form-btns .btn {
    width: fit-content;
  }
  [data-tab-trigger="user-data"] .btn--account-tab__label {
    max-width: 100%;
  }
  .btn--account-tab__label {
    flex-grow: 0;
  }
  .btn--account-tab.btn--tab.btn {
    justify-content: center;
    align-items: center;
  }
  .my-account-section__title {
    flex-wrap: nowrap;
    width: 100%;
    margin-bottom: 3rem;
  }
  .my-account-section__title .btn {
    white-space: nowrap;
    flex-direction: row-reverse;
  }

  .btn--account-tab__label {
    max-width: 100%;
  }
  .btn--account-tab.btn--tab.btn {
    height: 4rem;
    min-height: 4rem;
  }
  .user-data__history-list-item,
  .history-list-item__content-item {
    padding: 1rem;
  }
  .user-data__history-list-item {
    gap: 1.5rem;
  }
}
@media (min-width: 820px) {
  .input-row--desktop {
    display: flex;
    gap: 1rem;
    width: 100%;
  }
  .input-row--desktop .input-wrapper {
    width: 100%;
  }
}

@media only screen and (min-width: 1024px) {
  .my-account-section {
    padding: 4rem 1rem 4rem 1rem;
  }
  .my-account-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
  }
  .user-data__history-list-item {
    padding: 2rem;
  }

  .my-account-section-tabs {
    padding: 1rem;
    border-radius: 1rem;
    background-color: var(--neutral-white);
    box-shadow: 0px 0px 2px 0px rgba(0, 5, 12, 0.1),
      0px 2px 8px 0px rgba(0, 5, 12, 0.13);
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: sticky;
    top: 8rem;
  }
  html.contrast-mode .my-account-section-tabs {
    background-color: var(--contrast-black);
    border: 1px solid var(--contrast-yellow);
  }
  .btn--account-tab.btn--tab.btn {
    height: 2.5rem;
    min-height: 2.5rem;
    justify-content: flex-start;
  }
}
