.trainly-uf-form {
  max-width: 520px;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #dfdfdf;
  border-radius: 8px;
  background: #fff;
  font-family: inherit;
  color: #1f1f1f;
}

.trainly-uf-field {
  margin-bottom: 18px;
}

.trainly-goals-field,
.trainly-uf-field--gender {
  position: relative;
}

.trainly-uf-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1f1f1f;
}

.trainly-uf-field-control {
  position: relative;
}

.trainly-uf-field input[type="text"] {
  width: 100%;
  padding: 12px 40px 12px 40px;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  background: #fff;
  font-size: 15px;
  line-height: 1.4;
  color: #1f1f1f;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .trainly-uf-field input[type="text"] {
    font-size: 16px; /* Prevent iOS zoom on focus */
  }
}

.trainly-uf-field input[type="text"]:focus {
  outline: 2px solid #4b78d7;
  border-color: transparent;
}

.trainly-uf-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #4b78d7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.trainly-uf-icon svg {
  width: 100%;
  height: 100%;
}

.trainly-uf-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: #6b6b6b;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.trainly-uf-field--has-value .trainly-uf-clear {
  opacity: 1;
  pointer-events: auto;
}

.trainly-uf-autocomplete {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  border: 1px solid #4b78d7;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  padding: 6px 0;
  display: none;
  z-index: 30;
}

.trainly-uf-autocomplete--visible {
  display: block;
}

.trainly-uf-autocomplete-item {
  display: block;
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  padding: 8px 14px;
  font-size: 15px;
  cursor: pointer;
  color: #1f1f1f;
}

.trainly-uf-autocomplete-item:hover,
.trainly-uf-autocomplete-item:focus {
  background: rgba(75, 120, 215, 0.08);
  outline: none;
}

.trainly-uf-autocomplete-empty {
  padding: 10px 14px;
  font-size: 14px;
  color: #4b4b4b;
}

.trainly-uf-field--gender .trainly-uf-gender-control {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}
.trainly-uf-overlay-search {
  margin-bottom: 0;
}
#trainly_uf_city_search {
  margin-bottom: 0;
  cursor: text;
}

.trainly-uf-gender-control:focus-visible {
  outline: 2px solid #4b78d7;
}

.trainly-uf-gender-prefix {
  font-size: 14px;
  font-weight: 500;
  color: #6b6b6b;
}

.trainly-uf-gender-display {
  flex: 1;
  border: none;
  background: transparent;
  text-align: left;
  font-size: 15px;
  color: #1f1f1f;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.trainly-uf-gender-display::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.trainly-uf-gender-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  border: 1px solid #4b78d7;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  padding: 6px 0;
  z-index: 25;
}

.trainly-uf-goal-display {
  width: 100%;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  background: #fff;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  cursor: pointer;
  text-align: left;
}

.trainly-uf-goal-display .trainly-uf-icon {
  position: static;
  left: auto;
  top: auto;
  transform: none;
}

.trainly-uf-goal-display::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: auto;
}

.trainly-uf-control--empty {
  color: #6b6b6b;
}

.trainly-uf-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  border: 1px solid #4b78d7;
  border-radius: 6px;
  background: #fff;
  padding: 6px 0;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  display: none;
  z-index: 25;
}

.trainly-uf-dropdown[hidden] {
  display: none;
}

.trainly-uf-dropdown:not([hidden]) {
  display: block;
}

.trainly-uf-dropdown-inner {
  display: grid;
  gap: 4px;
  padding: 6px 12px 12px;
}

.trainly-uf-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #1f1f1f;
}

.trainly-uf-check input[type='checkbox'] {
  width: 16px;
  height: 16px;
}

.trainly-uf-empty {
  padding: 10px 12px;
  font-size: 14px;
  color: #6b6b6b;
}

.trainly-uf-actions button {
  width: 100%;
  padding: 12px 18px;
  border: none;
  border-radius: 6px;
  background: #4b78d7;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.trainly-uf-submit {
  background: #4b78d7;
  color: #fff;
}

.trainly-uf-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.trainly-uf-actions button:not(:disabled):hover,
.trainly-uf-actions button:not(:disabled):focus-visible {
  background: #355fb1;
}

@media (max-width: 520px) {
  .trainly-uf-form {
    padding: 16px;
  }
}

.trainly-uf-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: stretch;
  justify-content: center;
  z-index: 9999;
}

.trainly-uf-overlay__close-top {
  display: flex;
  justify-content: flex-end;
}

.trainly-uf-overlay[hidden] {
  display: none;
}

.trainly-uf-overlay__panel {
  background: #fff;
  width: 100%;
  max-width: 640px;
  height: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.24);
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.trainly-uf-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 2px 0;
}

.trainly-uf-progress__circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f2f2;
  border: 2px solid #f1f2f2;
  display: grid;
  place-items: center;
  color: #4b78d7;
  box-sizing: border-box;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.trainly-uf-progress__circle.is-current {
  border-color: #4b78d7;
  box-shadow: 0 0 0 2px rgba(75, 120, 215, 0.2);
}

.trainly-uf-progress__circle svg {
  width: 16px;
  height: 16px;
}

.trainly-uf-progress__circle.is-complete {
  background: #4b78d7;
  border-color: #4b78d7;
  color: #fff;
}

.trainly-uf-progress__circle.is-active {
  border-color: #4b78d7;
}

.trainly-uf-progress__line {
  flex: 1;
  height: 4px;
  background: #f1f2f2;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.trainly-uf-progress__line.is-complete {
  background: #4b78d7;
}
.trainly-uf-overlay--exit-right .trainly-uf-overlay__panel {
  transform: translateX(36px);
  opacity: 0;
}
.trainly-uf-overlay--exit-left .trainly-uf-overlay__panel {
  transform: translateX(-36px);
  opacity: 0;
}

.trainly-uf-overlay__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.trainly-uf-overlay__title {
  font-size: 18px;
  font-weight: 700;
  color: #1f1f1f;
}

.trainly-uf-overlay__back {
  border: none;
  background: transparent;
  color: #4b78d7;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trainly-uf-back-icon {
  display: inline-block;
  font-size: 15px;
  line-height: 1;
}

.trainly-uf-overlay__close {
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: #1f1f1f;
}

.trainly-uf-overlay__body {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  min-height: 0;
}

.trainly-uf-overlay__body > * + * {
  margin-top: 6px;
}

.trainly-uf-overlay__body > .trainly-uf-overlay__actions {
  margin-top: 0;
}

.trainly-uf-overlay__context {
  font-size: 14px;
  color: #4b4b4b;
}

.trainly-uf-overlay-list {
  flex: 1;
  min-height: 0;
  border: none;
  border-radius: 8px;
  overflow-y: auto;
  background: #fff;
  padding: 6px 0;
}

.trainly-uf-overlay-list--checkboxes {
  padding: 0;
}

.trainly-uf-goal-btn {
  width: 100%;
  border: 1px solid #e5e5e5;
  background: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  cursor: pointer;
  color: #1f1f1f;
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.trainly-uf-goal-btn .trainly-uf-overlay-icon {
  margin-right: 4px;
}

.trainly-uf-goal-btn.is-selected {
  background: #4b78d7;
  border-color: #4b78d7;
  color: #fff;
}

.trainly-uf-goal-btn.is-selected .trainly-uf-overlay-icon {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}

.trainly-uf-goal-btn:not(.is-selected):hover,
.trainly-uf-goal-btn:not(.is-selected):focus-visible {
  background: rgba(75, 120, 215, 0.08);
  border-color: #4b78d7;
  outline: none;
}

.trainly-uf-goal-btn__label {
  flex: 1;
}

.trainly-uf-overlay-item {
  width: 100%;
  border: 1px solid #e5e5e5;
  background: #fff;
  text-align: left;
  padding: 10px 12px;
  font-size: 15px;
  cursor: pointer;
  color: #1f1f1f;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  margin-bottom: 8px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.trainly-uf-overlay-item.is-selected {
  background: #4b78d7;
  border-color: #4b78d7;
  color: #fff;
  box-shadow: 0 6px 18px rgba(75, 120, 215, 0.22);
}

.trainly-uf-overlay-item:hover,
.trainly-uf-overlay-item:focus {
  background: rgba(75, 120, 215, 0.08);
  border-color: #4b78d7;
  outline: none;
}

.trainly-uf-overlay-item.is-selected:hover,
.trainly-uf-overlay-item.is-selected:focus {
  background: #4b78d7;
  border-color: #4b78d7;
  color: #fff;
  box-shadow: 0 6px 18px rgba(75, 120, 215, 0.22);
}

.trainly-uf-overlay-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 16px;
  color: #1f1f1f;
}

.trainly-uf-overlay-check:last-child {
  border-bottom: none;
}

.trainly-uf-overlay-check input[type='checkbox'] {
  width: 18px;
  height: 18px;
}

.trainly-uf-overlay-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f3f6fb;
  color: #4b78d7;
  border: 1px solid #e2e8f3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trainly-uf-overlay-icon svg {
  width: 16px;
  height: 16px;
}
.trainly-uf-overlay-icon i {
  font-size: 16px;
  line-height: 1;
}

.trainly-uf-overlay-item__label {
  flex: 1;
}

.trainly-uf-overlay-item.is-selected .trainly-uf-overlay-icon {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.trainly-uf-overlay-empty {
  padding: 12px 14px;
  font-size: 15px;
  color: #6b6b6b;
}

.trainly-uf-overlay__actions {
  position: sticky;
  bottom: 0;
  margin: 0 -16px -16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.35) 0%, #fff 55%);
  box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.08);
}

.trainly-uf-overlay__actions .trainly-uf-submit[hidden] {
  display: none;
}

.trainly-uf-overlay__actions .trainly-uf-submit {
  width: 100%;
  display: block;
  padding: 14px 18px;
  cursor: pointer;
}

.trainly-uf-desktop-nav {
  display: none;
}

body.trainly-uf-overlay-open {
  overflow: hidden;
}
html.trainly-uf-overlay-open {
  overflow: hidden;
}

body.trainly-account-email-modal-open {
  overflow: hidden;
}

html.trainly-account-email-modal-open {
  overflow: hidden;
}

@media (min-width: 1025px) {
  .trainly-uf-form--desktop-flow-active .trainly-uf-field,
  .trainly-uf-form--desktop-flow-active .trainly-uf-actions {
    display: none;
  }
  .trainly-uf-form--desktop-flow-active {
    position: relative;
    min-height: 380px;
    max-height: 85vh;
  }
  .trainly-uf-form--desktop-flow-active .trainly-uf-overlay {
    position: absolute;
    inset: 0;
    padding: 12px;
    box-sizing: border-box;
    background: none;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    z-index: 1;
  }
  .trainly-uf-form--desktop-flow-active .trainly-uf-overlay__panel {
    max-width: none;
    height: 100%;
    padding: 12px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    gap: 12px;
    position: absolute;
    inset: 0;
    width: 100%;
    transition: transform 0.28s ease, opacity 0.28s ease;
    transform: translateX(0);
    opacity: 0;
    pointer-events: none;
  }
  .trainly-uf-overlay--visible .trainly-uf-overlay__panel {
    opacity: 1;
    pointer-events: auto;
    padding: 20px;
  }
  .trainly-uf-overlay--enter-right .trainly-uf-overlay__panel {
    transform: translateX(36px);
    opacity: 0;
  }
  .trainly-uf-overlay--enter-left .trainly-uf-overlay__panel {
    transform: translateX(-36px);
    opacity: 0;
  }
  .trainly-uf-form--desktop-flow-active .trainly-uf-overlay__body {
    background: transparent;
    border: none;
  }
  .trainly-uf-form--desktop-flow-active .trainly-uf-overlay__actions {
    margin: 12px 0 0;
    position: static;
    background: none;
    box-shadow: none;
    padding: 0;
  }
  .trainly-uf-overlay {
    position: relative;
    inset: auto;
    background: none;
    display: block;
    align-items: stretch;
    justify-content: stretch;
    z-index: 1;
  }
  .trainly-uf-overlay[hidden] {
    display: none !important;
  }
  .trainly-uf-overlay__panel {
    max-width: none;
    height: auto;
    box-shadow: none;
    padding: 0;
  }
  .trainly-uf-overlay__close-top {
    display: none;
  }
  /* Keep city search visible on desktop while hiding main form fields */
  .trainly-uf-form--desktop-flow-active .trainly-uf-overlay-search {
    display: block;
  }
  .trainly-uf-overlay__back {
    display: none;
  }
  .trainly-uf-desktop-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
  }
  .trainly-uf-form--desktop-flow-active .trainly-uf-overlay__header > .trainly-uf-overlay__title {
    display: none;
  }
  .trainly-uf-desktop-nav__btn {
    border: none;
    background: transparent;
    color: #4b78d7;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 8px;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .trainly-uf-desktop-nav__btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }
  .trainly-uf-desktop-nav__title {
    flex: 1;
    text-align: left;
    font-size: 18px;
    font-weight: 700;
    color: #1f1f1f;
  }
}

.trainly-account--customer-overview {
  display: grid;
  gap: 24px;
}

.trainly-account-overview__notice {
  margin: 0;
}

@media (max-width: 1024px) {
  .trainly-account-overview__notice {
    margin-bottom: 20px;
  }
}

.trainly-customer-overview-desktop {
  display: grid;
  gap: 24px;
}

.trainly-account-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border: 1px solid #dcdcde;
  border-radius: 3px;
  background: #fff;
  align-items: center;
}

.trainly-account-card__main {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 240px;
}

.trainly-account-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #eef1f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 22px;
  color: #1d2327;
  overflow: hidden;
  flex-shrink: 0;
}

.trainly-account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trainly-header-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}

.trainly-header-account:focus-visible {
  outline: 2px solid #4b78d7;
  outline-offset: 3px;
  border-radius: 999px;
}

.trainly-header-account--guest {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trainly-header-account__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #eef1f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #1d2327;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.08);
}

.trainly-header-account__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trainly-header-account__initials {
  line-height: 1;
}

.trainly-account-card__details {
  display: flex;
  flex-direction: column;
  color: #4b5563;
}

.trainly-account-card__name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111;
}

.trainly-account-card__email {
  color: #667085;
}

.trainly-account-card__email-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.trainly-account-card__meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.trainly-account-card__label {
  font-weight: 600;
  color: #1d2327;
}

.trainly-account-card__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 280px;
}

.trainly-account-card__actions .button {
  width: 100%;
  margin: 0;
  text-align: center;
  border-radius: 8px;
}

.trainly-account-card__actions .button.button-primary,
.trainly-customer-next-session__button {
  background: #4b78d7;
  border-color: #4b78d7;
  color: #fff;
}

.trainly-account-card__actions .button.button-primary:hover,
.trainly-account-card__actions .button.button-primary:focus,
.trainly-customer-next-session__button:hover,
.trainly-customer-next-session__button:focus {
  background: #4b78d7;
  border-color: #4b78d7;
  color: #fff;
}

.trainly-account-card__logout {
  color: #1d2327;
  text-decoration: none;
  font-weight: 600;
}

.trainly-account-card__logout:hover {
  color: #1d2327;
  text-decoration: underline;
}

.trainly-account-email-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trainly-account-email-status--settings {
  margin-top: 2px;
}

.trainly-account-email-status__button,
.trainly-account-email-status__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
}

.trainly-account-email-status__button {
  border: 1px solid #f7b27a;
  background: #fff3e8;
  color: #b54708;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.trainly-account-email-status__button:hover,
.trainly-account-email-status__button:focus-visible {
  border-color: #ef8f46;
  background: #ffe8d5;
  color: #9a3412;
  outline: none;
}

.trainly-account-email-status__button:disabled {
  opacity: 0.8;
  cursor: wait;
}

.trainly-account-email-status__badge {
  border: 1px solid #abefc6;
  background: #ecfdf3;
  color: #067647;
}

.trainly-account-email-modal {
  position: fixed;
  inset: 0;
  z-index: 100002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.trainly-account-email-modal[hidden] {
  display: none !important;
}

.trainly-account-email-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.34);
}

.trainly-account-email-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  display: grid;
  gap: 22px;
  padding: 30px 28px 26px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(75, 120, 215, 0.12), transparent 42%),
    #ffffff;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
}

.trainly-account-email-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #f8fafc;
  color: #475467;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.trainly-account-email-modal__close:hover,
.trainly-account-email-modal__close:focus-visible {
  background: #eef2f7;
  color: #101828;
  outline: none;
}

.trainly-account-email-modal__content {
  display: grid;
  gap: 10px;
}

.trainly-account-email-modal__eyebrow {
  color: #4b78d7;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trainly-account-email-modal__title {
  margin: 0;
  color: #101828;
  font-size: 1.55rem;
  line-height: 1.15;
}

.trainly-account-email-modal__message {
  margin: 0;
  color: #475467;
  font-size: 1rem;
  line-height: 1.7;
}

.trainly-account-email-modal__confirm.button.button-primary {
  min-height: 50px;
  margin: 0;
  border-radius: 14px;
  background: #4b78d7;
  border-color: #4b78d7;
  color: #fff;
  box-shadow: none;
}

.trainly-account-email-modal__confirm.button.button-primary:hover,
.trainly-account-email-modal__confirm.button.button-primary:focus {
  background: #355fb1;
  border-color: #355fb1;
  color: #fff;
  box-shadow: none;
}

.trainly-customer-mobile-overview {
  display: none;
}

.trainly-customer-panel {
  display: grid;
  gap: 20px;
  padding: 24px;
  border: 1px solid #dcdcde;
  border-radius: 3px;
  background: #fff;
}

.trainly-customer-panel__header {
  display: grid;
  gap: 8px;
}

.trainly-customer-panel__header--split {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
}

.trainly-customer-panel__header-copy {
  display: grid;
  gap: 8px;
}

.trainly-customer-panel__title {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.2;
  color: #101828;
}

.trainly-customer-panel__description {
  margin: 0;
  color: #667085;
  font-size: 0.98rem;
}

.trainly-customer-panel__cta {
  justify-self: end;
  align-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  border: 0;
  color: #111827;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.trainly-customer-panel__cta:hover,
.trainly-customer-panel__cta:focus {
  color: #111827;
  text-decoration: underline;
}

.trainly-customer-training-layout {
  display: grid;
  grid-template-columns: minmax(320px, 45%) minmax(0, 55%);
  gap: 20px;
  align-items: stretch;
}

.trainly-customer-next-session {
  display: grid;
  gap: 18px;
  height: 100%;
  padding: 22px;
  border: 1px solid #dbe5ff;
  border-radius: 3px;
  background: #f5f8ff;
  align-content: start;
}

.trainly-customer-next-session__title {
  font-size: 1.06rem;
  font-weight: 700;
  color: #1d355d;
}

.trainly-customer-next-session__details {
  display: grid;
  gap: 12px;
}

.trainly-customer-next-session__detail {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #355070;
  line-height: 1.5;
}

.trainly-customer-next-session__icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4b78d7;
  flex-shrink: 0;
}

.trainly-customer-next-session__icon svg {
  width: 100%;
  height: 100%;
}

.trainly-customer-next-session__empty {
  display: grid;
  gap: 16px;
  align-content: start;
}

.trainly-customer-next-session__text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #355070;
}

.trainly-customer-next-session__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  padding: 11px 16px;
  border-width: 1px;
  border-style: solid;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.trainly-customer-training-layout__calendar {
  min-width: 0;
  display: flex;
}

.trainly-customer-calendar {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
  width: 100%;
  height: 100%;
}

.trainly-customer-calendar__toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.trainly-booking-month-row {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.trainly-booking-month-btn {
  border: 1px solid #dcdfe5;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font-size: 16px;
  line-height: 1;
  padding: 8px 6px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.trainly-booking-month-btn:hover,
.trainly-booking-month-btn:focus {
  border-color: #4b78d7;
  color: #4b78d7;
}

.trainly-booking-month-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.trainly-customer-calendar__quick-button {
  appearance: none;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #111827;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  display: inline-block;
  cursor: pointer;
  justify-self: center;
}

.trainly-customer-calendar__quick-button.is-active {
  color: #111827;
  opacity: 0.68;
}

.trainly-customer-calendar__quick-button:disabled {
  opacity: 1;
  cursor: default;
}

.trainly-customer-calendar__quick-button:hover,
.trainly-customer-calendar__quick-button:focus {
  background: transparent;
  color: #111827;
  text-decoration: underline;
}

.trainly-customer-calendar__quick-button.is-active:hover,
.trainly-customer-calendar__quick-button.is-active:focus,
.trainly-customer-calendar__quick-button:disabled:hover,
.trainly-customer-calendar__quick-button:disabled:focus {
  text-decoration: none;
}

.trainly-customer-calendar__body {
  position: relative;
  touch-action: pan-y;
  height: 100%;
}

.trainly-customer-calendar__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: #0f172a;
  font-weight: 600;
  border-radius: 12px;
}

.trainly-customer-calendar__overlay[hidden] {
  display: none;
}

.trainly-booking-overlay__spinner {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

.trainly-booking-overlay__spinner span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4b78d7;
  opacity: 0.7;
  animation: trainly-bounce 0.6s infinite alternate;
}

.trainly-booking-overlay__spinner span:nth-child(2) {
  animation-delay: 0.15s;
}

.trainly-booking-overlay__spinner span:nth-child(3) {
  animation-delay: 0.3s;
}

.trainly-booking-overlay__label {
  font-size: 14px;
}

.trainly-customer-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.trainly-customer-shortcut-card {
  width: 100%;
  min-height: 220px;
  padding: 24px;
  border: 1px solid #dcdcde;
  border-radius: 3px;
  appearance: none;
  background: #fff;
  box-shadow: none;
  text-align: left;
  display: grid;
  align-content: start;
  gap: 12px;
  color: #101828;
  font: inherit;
  cursor: not-allowed;
  position: relative;
}

.trainly-customer-shortcut-card:disabled {
  opacity: 1;
}

.trainly-customer-shortcut-card--link {
  cursor: pointer;
  text-decoration: none;
}

.trainly-customer-shortcut-card--link:hover,
.trainly-customer-shortcut-card--link:focus {
  color: #101828;
  text-decoration: none;
}

.trainly-customer-shortcut-card__icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 22px;
  height: 22px;
  color: #667085;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.trainly-customer-shortcut-card__title {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
}

.trainly-customer-shortcut-card__text {
  color: #667085;
  line-height: 1.6;
}

.trainly-customer-shortcut-card__placeholder {
  margin-top: auto;
  padding-top: 12px;
  color: #98a2b3;
  font-size: 0.92rem;
}

.trainly-account--customer-trainings {
  display: grid;
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.trainly-customer-trainings-shell {
  display: grid;
  gap: 24px;
}

.trainly-customer-trainings-topbar {
  display: none;
}

.trainly-account--customer-settings {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.trainly-customer-settings {
  display: grid;
  gap: 22px;
}

.trainly-customer-settings__mobile-header {
  display: none;
}

.trainly-customer-settings__mobile-topbar {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 8px;
}

.trainly-customer-settings__mobile-topbar-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.2;
  gap: 2px;
}

.trainly-customer-settings__mobile-back,
.trainly-customer-settings__mobile-topbar-spacer {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.trainly-customer-settings__mobile-back {
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0f172a;
  text-decoration: none;
  font-size: 18px;
  line-height: 1;
}

.trainly-customer-settings__mobile-back:focus-visible {
  outline: 2px solid #4b78d7;
  outline-offset: 2px;
}

.trainly-customer-settings__mobile-topbar-title {
  color: #0f172a;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.trainly-customer-settings__mobile-description {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: #667085;
  line-height: 1.2;
}

.trainly-customer-settings__mobile-divider {
  width: 100%;
  height: 1px;
  margin-top: 12px;
  background: #eaecf0;
}

.trainly-customer-settings__back {
  justify-self: start;
  color: #111827;
  font-weight: 600;
  text-decoration: none;
}

.trainly-customer-settings__back:hover,
.trainly-customer-settings__back:focus {
  color: #111827;
  text-decoration: underline;
}

.trainly-customer-settings__card {
  display: grid;
  gap: 28px;
  padding: 28px 32px;
  border: 1px solid #dcdcde;
  border-radius: 3px;
  background: #fff;
}

.trainly-customer-settings__header {
  display: grid;
  gap: 10px;
}

.trainly-customer-settings__title {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.15;
  color: #101828;
}

.trainly-customer-settings__description {
  margin: 0;
  color: #667085;
  line-height: 1.6;
}

.trainly-customer-settings__notice {
  padding: 14px 16px;
  border-radius: 0;
  font-weight: 600;
}

.trainly-customer-settings__notice--success {
  background: #ecfdf3;
  border: 1px solid #abefc6;
  color: #067647;
}

.trainly-customer-settings__notice--error {
  background: #fef3f2;
  border: 1px solid #fecdca;
  color: #b42318;
}

.trainly-customer-settings__form {
  display: grid;
  gap: 0;
  align-content: start;
}

.trainly-customer-settings__item {
  display: grid;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid #eaecf0;
}

.trainly-customer-settings__item:first-child {
  border-top: 0;
  padding-top: 0;
}

.trainly-customer-settings__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.trainly-customer-settings__summary-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.trainly-customer-settings__label {
  color: #667085;
  font-size: 0.9rem;
  font-weight: 600;
}

.trainly-customer-settings__input,
.trainly-customer-settings__gym-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #d0d5dd;
  border-radius: 0;
  background: #fff;
  color: #101828;
  font: inherit;
}

.trainly-customer-settings__input:focus,
.trainly-customer-settings__gym-input:focus {
  border-color: #4b78d7;
  outline: none;
  box-shadow: none;
}

.trainly-customer-settings__input:disabled,
.trainly-customer-settings__gym-input:disabled {
  background: #f8f9fb;
  color: #98a2b3;
  cursor: not-allowed;
}

.trainly-customer-settings__display {
  color: #101828;
  line-height: 1.5;
  font-size: 1rem;
  word-break: break-word;
}

.trainly-customer-settings__display--single-line {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trainly-customer-settings__display--muted {
  color: #98a2b3;
}

.trainly-customer-settings__edit {
  opacity: 0;
  pointer-events: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: #4b78d7;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s ease;
  white-space: nowrap;
}

.trainly-customer-settings__edit i {
  margin-left: 6px;
  font-size: 0.9em;
}

.trainly-customer-settings__item:hover .trainly-customer-settings__edit,
.trainly-customer-settings__item:focus-within .trainly-customer-settings__edit,
.trainly-customer-settings__item.is-editing .trainly-customer-settings__edit {
  opacity: 1;
  pointer-events: auto;
}

.trainly-customer-settings__edit:hover,
.trainly-customer-settings__edit:focus {
  color: #4b78d7;
  text-decoration: none;
  outline: none;
}

.trainly-customer-settings__editor {
  display: grid;
  gap: 12px;
}

.trainly-customer-settings__editor-home {
  display: none;
}

.trainly-customer-settings__editor[hidden] {
  display: none !important;
}

.trainly-customer-settings__item:not(.is-editing) .trainly-customer-settings__editor {
  display: none;
}

.trainly-customer-settings__status-note {
  display: block;
  color: #98a2b3;
  font-size: 0.88rem;
  line-height: 1.35;
  white-space: normal;
  text-align: left;
}

.trainly-customer-settings__field {
  display: grid;
  gap: 12px;
}

.trainly-customer-settings__helper {
  margin: 0;
  color: #667085;
  font-size: 0.92rem;
  line-height: 1.5;
}

.trainly-customer-settings__password-actions {
  display: grid;
  gap: 10px;
}

.trainly-customer-settings__text-link {
  color: #4b78d7;
  font-weight: 600;
  text-decoration: none;
}

.trainly-customer-settings__text-link:hover,
.trainly-customer-settings__text-link:focus {
  color: #4b78d7;
  text-decoration: underline;
}

.trainly-customer-settings__field--gym {
  position: relative;
}

.trainly-customer-settings__gym-desktop {
  display: grid;
  gap: 12px;
}

.trainly-customer-settings__gym-mobile {
  display: none;
}

.trainly-customer-settings__gym-mobile-trigger {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #d0d5dd;
  border-radius: 0;
  background: #fff;
  color: #101828;
  font: inherit;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.trainly-customer-settings__gym-mobile-trigger::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.trainly-customer-settings__gym-mobile-trigger:disabled {
  background: #f8f9fb;
  color: #98a2b3;
  cursor: not-allowed;
}

.trainly-customer-settings__gym-results {
  display: grid;
  gap: 0;
}

.trainly-customer-settings__gym-dropdown {
  border: 1px solid #d0d5dd;
  border-top: 0;
  background: #fff;
}

.trainly-customer-settings__gym-option {
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-top: 1px solid #eaecf0;
  background: #fff;
  color: #101828;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.trainly-customer-settings__gym-option:hover,
.trainly-customer-settings__gym-option:focus {
  background: #f5f8ff;
  outline: none;
}

.trainly-customer-settings__gym-empty {
  padding: 12px 14px;
  color: #667085;
  line-height: 1.5;
}

.trainly-customer-settings__checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #344054;
  font-size: 0.95rem;
}

.trainly-customer-settings__checkbox input {
  margin: 0;
}

.trainly-customer-settings__field--gym.is-disabled .trainly-customer-settings__gym-dropdown {
  display: none;
}

.trainly-customer-settings__submit.button.button-primary {
  min-height: 52px;
  margin-top: 22px;
  border-radius: 0;
  background: #4b78d7;
  border-color: #4b78d7;
  box-shadow: none;
  color: #fff;
}

.trainly-customer-settings__submit.button.button-primary:hover,
.trainly-customer-settings__submit.button.button-primary:focus {
  background: #4b78d7;
  border-color: #4b78d7;
  box-shadow: none;
  color: #fff;
}

.trainly-customer-settings-mobile-editor {
  display: none;
}

.trainly-customer-settings-mobile-editor[hidden] {
  display: none;
}

.trainly-customer-settings-mobile-editor__panel {
  width: 100%;
}

.trainly-customer-settings-mobile-editor__close-top {
  display: flex;
  justify-content: flex-end;
}

.trainly-customer-settings-mobile-editor__close {
  border: 0;
  background: transparent;
  color: #101828;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.trainly-customer-settings-mobile-editor__header {
  display: grid;
  gap: 8px;
}

.trainly-customer-settings-mobile-editor__title {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
  color: #101828;
}

.trainly-customer-settings-mobile-editor__body {
  display: grid;
  gap: 16px;
}

.trainly-customer-settings-mobile-editor__actions {
  width: 100%;
}

.trainly-customer-settings-mobile-editor__submit.button.button-primary {
  width: 100%;
  min-height: 52px;
  border-radius: 0;
  background: #4b78d7;
  border-color: #4b78d7;
  box-shadow: none;
  color: #fff;
}

.trainly-customer-settings-mobile-editor__submit.button.button-primary:hover,
.trainly-customer-settings-mobile-editor__submit.button.button-primary:focus {
  background: #4b78d7;
  border-color: #4b78d7;
  box-shadow: none;
  color: #fff;
}

.trainly-customer-calendar-settings__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.trainly-customer-calendar-settings__option {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid #dcdcde;
  background: #fff;
}

.trainly-customer-calendar-settings__option-head {
  display: grid;
  gap: 6px;
}

.trainly-customer-calendar-settings__option-title {
  margin: 0;
  color: #101828;
  font-size: 1.15rem;
}

.trainly-customer-calendar-settings__text,
.trainly-customer-calendar-settings__status {
  margin: 0;
  color: #475467;
  line-height: 1.6;
}

.trainly-customer-calendar-settings__status--success {
  color: #067647;
  font-weight: 600;
}

.trainly-customer-calendar-settings__button.button,
.trainly-customer-calendar-settings__button.button.button-primary {
  min-height: 48px;
  border-radius: 0;
  box-shadow: none;
}

.trainly-customer-calendar-settings__button.button.button-primary {
  background: #4b78d7;
  border-color: #4b78d7;
  color: #fff;
}

.trainly-customer-calendar-settings__button.button.button-primary:hover,
.trainly-customer-calendar-settings__button.button.button-primary:focus {
  background: #4b78d7;
  border-color: #4b78d7;
  color: #fff;
}

.trainly-customer-calendar-settings__button--secondary.button {
  border-color: #d0d5dd;
  color: #101828;
  background: #fff;
}

.trainly-customer-calendar-settings__button--secondary.button:hover,
.trainly-customer-calendar-settings__button--secondary.button:focus {
  border-color: #101828;
  color: #101828;
  background: #fff;
}

.trainly-customer-calendar-settings__manual {
  display: grid;
  gap: 8px;
}

.trainly-customer-calendar-settings__manual-label {
  color: #667085;
  font-size: 0.9rem;
  font-weight: 600;
}

.trainly-customer-calendar-settings__manual-input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #d0d5dd;
  border-radius: 0;
  background: #fff;
  color: #101828;
  font: inherit;
}

.trainly-customer-trainings {
  display: grid;
  gap: 28px;
}

.trainly-customer-trainings__section {
  display: grid;
  gap: 16px;
  padding: 0;
}

.trainly-customer-trainings__title {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.2;
  color: #101828;
}

.trainly-customer-trainings-empty {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid #dbe5ff;
  border-radius: 3px;
  background: #f5f8ff;
  justify-items: start;
}

.trainly-customer-trainings-empty__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1d355d;
}

.trainly-customer-trainings-empty__text {
  margin: 0;
  color: #355070;
  line-height: 1.6;
  max-width: 560px;
}

.trainly-customer-trainings__empty-note {
  padding: 16px 18px;
  border: 1px solid #dcdcde;
  border-radius: 3px;
  background: #fff;
  color: #667085;
}

.trainly-customer-training-list {
  display: grid;
  gap: 14px;
}

.trainly-customer-training-card {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 20px 22px;
  border: 1px solid #e2e8f0;
  border-radius: 3px;
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.trainly-customer-training-card:hover {
  border-color: #d0d5dd;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.trainly-customer-training-card__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.trainly-customer-training-card__coach {
  order: 1;
  font-size: 1rem;
  font-weight: 700;
  color: #101828;
}

.trainly-customer-training-card__time {
  order: 2;
  text-align: right;
  font-size: 0.92rem;
  font-weight: 200;
  color: #344054;
}

.trainly-customer-training-card__card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  display: block;
}

.trainly-customer-training-card__card-link::after {
  display: none;
  content: '';
}

.trainly-customer-trainings__section--past .trainly-customer-training-card__card-link {
  display: none;
}

.trainly-customer-training-card__location {
  color: #475467;
  line-height: 1.5;
}

.trainly-customer-training-card__reservation {
  color: #667085;
  line-height: 1.35;
  font-size: 0.9rem;
  margin-top: -2px;
  margin-bottom: 10px;
}

.trainly-customer-training-card__divider {
  height: 1px;
  background: #eaecf0;
}

.trainly-customer-training-card__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}

.trainly-customer-training-card__status {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  justify-self: start;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
}

.trainly-customer-training-card__status--upcoming {
  color: #027a48;
}

.trainly-customer-training-card__status--completed {
  color: #175cd3;
}

.trainly-customer-training-card__status--cancelled {
  color: #b42318;
}

.trainly-customer-training-card__status--missed {
  color: #c2410c;
}

.trainly-customer-training-card__status--pending {
  color: #3f3f46;
}

.trainly-customer-training-card__rebook--text {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-height: auto;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #111827;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.trainly-customer-training-card__rebook--text:hover,
.trainly-customer-training-card__rebook--text:focus {
  color: #111827;
  border: none;
  text-decoration: underline;
}

.trainly-customer-training-card__rating {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  justify-self: start;
  gap: 3px;
  color: #d0d5dd;
  font-size: 0.95rem;
  line-height: 1;
}

.trainly-customer-training-card__rating-star.is-active {
  color: #f59e0b;
}

.trainly-customer-training-card__rate-button {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  justify-self: start;
  align-self: center;
  width: auto;
  max-width: max-content;
  padding: 0;
  border: none;
  background: transparent;
  color: #4b78d7;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
}

.trainly-customer-training-card__rate-button:hover,
.trainly-customer-training-card__rate-button:focus {
  color: #4b78d7;
  text-decoration: underline;
}

.trainly-customer-training-pagination {
  display: grid;
  grid-template-columns: 40px minmax(72px, auto) 40px;
  align-items: center;
  gap: 14px;
  justify-self: center;
}

.trainly-customer-training-pagination__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #dcdfe5;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  text-decoration: none;
  font-size: 16px;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.trainly-customer-training-pagination__arrow:hover,
.trainly-customer-training-pagination__arrow:focus {
  border-color: #4b78d7;
  color: #4b78d7;
}

.trainly-customer-training-pagination__arrow.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.trainly-customer-training-pagination__label {
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: #111827;
}

.trainly-calendar-card .trainly-calendar-connect {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
}

.trainly-calendar-card .trainly-calendar-note {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #4b5563;
}

.trainly-calendar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #e6f4ea;
  color: #1b5e20;
  font-weight: 600;
}

.trainly-calendar-card input[readonly] {
  margin-top: 6px;
}

.trainly-week-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  height: 100%;
  align-items: stretch;
}

.trainly-week-column {
  min-width: 0;
  border: 1px solid #e4e7ec;
  border-radius: 10px;
  background: #f8fafc;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.trainly-week-column.is-today {
  border-color: #4b78d7;
  box-shadow: 0 0 0 2px rgba(75, 120, 215, 0.16);
}

.trainly-week-column-header {
  display: grid;
  gap: 4px;
  padding: 12px 10px;
  border-bottom: 1px solid #e4e7ec;
  text-align: center;
  background: #eef2f6;
}

.trainly-week-column-header.is-today {
  background: rgba(75, 120, 215, 0.1);
}

.trainly-week-column-header__weekday {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #475467;
}

.trainly-week-column-header__date {
  font-size: 1rem;
  font-weight: 700;
  color: #101828;
}

.trainly-week-column__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
}

.trainly-week-empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #98a2b3;
  font-size: 0.92rem;
}

.trainly-week-entry {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #fff;
  color: #101828;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.trainly-week-entry:hover {
  background: #f8fbff;
  border-color: #98a2b3;
  transform: translateY(-1px);
}

.trainly-week-entry__coach {
  font-size: 0.92rem;
  line-height: 1.4;
}

.trainly-week-entry__time {
  font-size: 0.85rem;
  color: #667085;
}

@keyframes trainly-bounce {
  from {
    transform: translateY(0);
    opacity: 0.55;
  }
  to {
    transform: translateY(-6px);
    opacity: 1;
  }
}

@media (max-width: 1280px) {
  .trainly-customer-panel__header--split {
    grid-template-columns: 1fr;
  }

  .trainly-customer-panel__cta {
    justify-self: start;
  }

  .trainly-customer-settings__card {
    padding: 22px 18px;
  }

  .trainly-customer-settings__summary {
    grid-template-columns: 1fr;
  }

  .trainly-customer-settings__edit {
    opacity: 1;
    pointer-events: auto;
  }

  .trainly-customer-calendar-settings__grid {
    grid-template-columns: 1fr;
  }

  .trainly-customer-calendar__toolbar {
    justify-content: center;
  }

  .trainly-customer-training-layout {
    grid-template-columns: 1fr;
  }

  .trainly-booking-month-row {
    min-width: 0;
  }

  .trainly-customer-trainings__section {
    padding: 0;
  }

  .trainly-customer-training-card__top,
  .trainly-customer-training-card__footer {
    grid-template-columns: 1fr;
  }

  .trainly-customer-training-card__time {
    text-align: left;
  }
}

@media (max-width: 1024px) {
  body.trainly-account-settings-page {
    background: #fff;
    overflow: hidden;
  }

  body.trainly-account-settings-page #wpadminbar {
    display: none;
  }

  body.trainly-account-settings-page #masthead,
  body.trainly-account-settings-page #colophon,
  body.trainly-account-settings-page header,
  body.trainly-account-settings-page footer,
  body.trainly-account-settings-page .site-header,
  body.trainly-account-settings-page .site-footer,
  body.trainly-account-settings-page .wp-site-blocks > header,
  body.trainly-account-settings-page .wp-site-blocks > footer,
  body.trainly-account-settings-page .entry-header,
  body.trainly-account-settings-page .page-header,
  body.trainly-account-settings-page .wp-block-post-title,
  body.trainly-account-settings-page .elementor-location-header,
  body.trainly-account-settings-page .elementor-location-footer {
    display: none !important;
  }

  body.trainly-account-trainings-page {
    background: #fff;
    overflow: hidden;
  }

  body.trainly-account-trainings-page #wpadminbar {
    display: none;
  }

  body.trainly-account-trainings-page #masthead,
  body.trainly-account-trainings-page #colophon,
  body.trainly-account-trainings-page header,
  body.trainly-account-trainings-page footer,
  body.trainly-account-trainings-page .site-header,
  body.trainly-account-trainings-page .site-footer,
  body.trainly-account-trainings-page .wp-site-blocks > header,
  body.trainly-account-trainings-page .wp-site-blocks > footer,
  body.trainly-account-trainings-page .entry-header,
  body.trainly-account-trainings-page .page-header,
  body.trainly-account-trainings-page .wp-block-post-title,
  body.trainly-account-trainings-page .elementor-location-header,
  body.trainly-account-trainings-page .elementor-location-footer {
    display: none !important;
  }

  .trainly-account--customer-trainings {
    gap: 0;
    max-width: none;
    margin: 0;
    padding-inline: 0;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 100000;
    background: #fff;
  }

  .trainly-customer-trainings-shell {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100%;
    background: #fff;
    overflow: hidden;
  }

  .trainly-customer-trainings-topbar {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 8px;
    padding: calc(12px + env(safe-area-inset-top)) 16px 12px;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 2;
  }

  .trainly-customer-trainings-topbar__back,
  .trainly-customer-trainings-topbar__spacer {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .trainly-customer-trainings-topbar__back {
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #0f172a;
    text-decoration: none;
    font-size: 18px;
    line-height: 1;
  }

  .trainly-customer-trainings-topbar__back:focus-visible {
    outline: 2px solid #4b78d7;
    outline-offset: 2px;
  }

  .trainly-customer-trainings-topbar__title {
    text-align: center;
    color: #0f172a;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
  }

  .trainly-customer-trainings {
    gap: 24px;
    padding: 18px 20px 24px;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  .trainly-account--customer-overview {
    gap: 0;
  }

  .trainly-account--customer-settings {
    gap: 0;
    max-width: none;
    margin: 0;
    padding-inline: 0;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 100000;
    background: #fff;
  }

  .trainly-customer-settings {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100%;
    background: #fff;
  }

  .trainly-customer-settings__mobile-header {
    display: block;
    padding: calc(12px + env(safe-area-inset-top)) 16px 0;
    background: #fff;
  }

  .trainly-customer-overview-desktop {
    display: none;
  }

  .trainly-customer-mobile-overview {
    display: grid;
    gap: 24px;
    padding-inline: 20px;
  }

  .trainly-customer-mobile-overview__profile {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    justify-items: start;
    column-gap: 14px;
    gap: 12px;
  }

  .trainly-account-avatar--mobile {
    width: 72px;
    height: 72px;
  }

  .trainly-customer-mobile-overview__profile-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
  }

  .trainly-customer-mobile-overview__name {
    color: #101828;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
  }

  .trainly-customer-mobile-overview__email {
    color: #667085;
    font-size: 0.95rem;
    line-height: 1.5;
    word-break: break-word;
  }

  .trainly-customer-mobile-overview__email-row {
    display: grid;
    gap: 8px;
  }

  .trainly-customer-mobile-overview__divider {
    width: 100%;
    height: 1px;
    background: #dcdcde;
  }

  .trainly-customer-mobile-overview__section {
    display: grid;
    gap: 20px;
  }

  .trainly-customer-next-session--mobile {
    gap: 16px;
    padding: 20px 18px;
    border: 1px solid #dbe5ff;
    border-radius: 14px;
    background: linear-gradient(180deg, #f9fbff 0%, #f3f7ff 100%);
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.05);
  }

  .trainly-customer-next-session--mobile .trainly-customer-next-session__title {
    color: #101828;
    font-size: 1.05rem;
  }

  .trainly-customer-next-session--mobile .trainly-customer-next-session__detail,
  .trainly-customer-next-session--mobile .trainly-customer-next-session__text {
    color: #344054;
  }

  .trainly-customer-mobile-overview__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
  }

  .trainly-customer-mobile-overview__trainings-link {
    color: #101828;
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none;
    justify-self: start;
  }

  .trainly-customer-mobile-overview__trainings-link:hover,
  .trainly-customer-mobile-overview__trainings-link:focus {
    color: #101828;
    text-decoration: underline;
  }

  .trainly-customer-mobile-overview__action-link {
    color: #101828;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
  }

  .trainly-customer-mobile-overview__action-link:hover,
  .trainly-customer-mobile-overview__action-link:focus {
    color: #101828;
    text-decoration: underline;
  }

  .trainly-customer-mobile-overview__links {
    display: grid;
    gap: 18px;
  }

  .trainly-customer-mobile-overview__link {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #101828;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
  }

  .trainly-customer-mobile-overview__link:hover,
  .trainly-customer-mobile-overview__link:focus {
    color: #101828;
    text-decoration: none;
  }

  .trainly-customer-mobile-overview__link-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #101828;
    flex-shrink: 0;
  }

  .trainly-customer-mobile-overview__link-icon svg {
    width: 100%;
    height: 100%;
  }

  .trainly-customer-mobile-overview__link-icon i {
    font-size: 18px;
    line-height: 1;
  }

  .trainly-customer-mobile-overview__logout {
    color: #101828;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
  }

  .trainly-customer-mobile-overview__logout:hover,
  .trainly-customer-mobile-overview__logout:focus {
    color: #101828;
    text-decoration: underline;
  }

  .trainly-customer-trainings__section--upcoming > .trainly-customer-trainings__title {
    display: none;
  }

  .trainly-customer-trainings__section--past > .trainly-customer-trainings__title {
    font-size: 1rem;
  }

  .trainly-customer-training-card {
    gap: 8px;
    padding: 18px 18px 16px;
  }

  .trainly-customer-training-card__top {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .trainly-customer-training-card__time {
    order: 1;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 600;
    color: #344054;
  }

  .trainly-customer-training-card__coach {
    order: 2;
    padding-right: 28px;
  }

  .trainly-customer-training-card__location {
    font-size: 0.9rem;
    color: #667085;
  }

  .trainly-customer-training-card__reservation {
    display: none;
  }

  .trainly-customer-training-card__divider {
    margin: 8px -18px 0;
  }

  .trainly-customer-training-card__footer {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    margin-top: 10px;
  }

  .trainly-customer-training-card__rebook--text {
    font-size: 0.88rem;
  }

  .trainly-customer-training-card__card-link::after {
    display: block;
  }

  .trainly-customer-training-card__card-link {
    display: block;
  }

  .trainly-customer-trainings__section--past .trainly-customer-training-card__card-link {
    display: block;
  }

  .trainly-customer-training-card__card-link::after {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 9px;
    height: 9px;
    border-top: 2px solid #4b78d7;
    border-right: 2px solid #4b78d7;
    transform: rotate(45deg);
    box-sizing: border-box;
  }

  .trainly-customer-settings__header,
  .trainly-customer-settings__submit.button.button-primary {
    display: none;
  }

  .trainly-customer-settings__card {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 16px 20px calc(24px + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 0;
    background: #fff;
    gap: 12px;
    align-content: start;
  }

  .trainly-customer-settings__item {
    gap: 6px;
    padding: 14px 0;
  }

  .trainly-customer-settings__summary {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px;
  }

  .trainly-customer-settings__summary-copy {
    gap: 2px;
  }

  .trainly-customer-settings__display {
    line-height: 1.35;
  }

  .trainly-customer-settings__edit {
    opacity: 1;
    pointer-events: auto;
    align-self: start;
    justify-self: end;
  }

  .trainly-customer-settings__item .trainly-customer-settings__editor {
    display: none !important;
  }

  .trainly-customer-settings__gym-desktop {
    display: none;
  }

  .trainly-customer-settings__gym-mobile {
    display: block;
  }

  .trainly-customer-settings-mobile-editor {
    position: fixed;
    inset: 0;
    z-index: 100001;
    display: flex;
    align-items: flex-end;
    justify-content: stretch;
    background: rgba(15, 23, 42, 0.22);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
  }

  .trainly-customer-settings-mobile-editor[hidden] {
    display: none !important;
  }

  .trainly-customer-settings-mobile-editor.is-active {
    opacity: 1;
    pointer-events: auto;
  }

  .trainly-customer-settings-mobile-editor__panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    min-height: 100%;
    min-height: 100dvh;
    padding: calc(8px + env(safe-area-inset-top)) 20px calc(24px + env(safe-area-inset-bottom));
    background: #fff;
    transform: translateY(100%);
    transition: transform 0.28s ease;
  }

  .trainly-customer-settings-mobile-editor.is-active .trainly-customer-settings-mobile-editor__panel {
    transform: translateY(0);
  }

  .trainly-customer-settings-mobile-editor__body {
    flex: 1;
    min-height: 0;
    display: grid;
    gap: 12px;
    align-content: start;
  }

  .trainly-customer-settings-mobile-editor__body > .trainly-customer-settings__editor {
    display: grid !important;
    gap: 12px;
    align-content: start;
  }

  .trainly-customer-settings-mobile-editor__actions {
    position: sticky;
    bottom: 0;
    margin: 0 -20px calc(-24px - env(safe-area-inset-bottom));
    width: calc(100% + 40px);
    padding: 0 0 env(safe-area-inset-bottom);
    background: #fff;
    box-shadow: none;
  }

  .trainly-customer-settings-mobile-editor__body .trainly-customer-settings__field--gym {
    gap: 10px;
    align-content: start;
  }

  .trainly-customer-settings-mobile-editor__submit.button.button-primary {
    display: block;
    width: 100%;
    max-width: none;
    min-height: 54px;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .trainly-customer-settings__back {
    display: none;
  }

  .trainly-account-email-modal {
    align-items: flex-end;
    padding: 0;
  }

  .trainly-account-email-modal__dialog {
    width: 100%;
    max-width: none;
    border-radius: 28px 28px 0 0;
    padding: 30px 20px calc(24px + env(safe-area-inset-bottom));
  }
}

body.trainly-auth-page {
  background:
    radial-gradient(circle at top, rgba(75, 120, 215, 0.14), transparent 34%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 34%);
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

body.trainly-auth-page #wpadminbar {
  display: none;
}

body.trainly-auth-page #masthead,
body.trainly-auth-page #colophon,
body.trainly-auth-page header,
body.trainly-auth-page footer,
body.trainly-auth-page .site-header,
body.trainly-auth-page .site-footer,
body.trainly-auth-page .wp-site-blocks > header,
body.trainly-auth-page .wp-site-blocks > footer,
body.trainly-auth-page .entry-header,
body.trainly-auth-page .page-header,
body.trainly-auth-page .entry-title,
body.trainly-auth-page .page-title,
body.trainly-auth-page .wp-block-post-title,
body.trainly-auth-page .breadcrumbs,
body.trainly-auth-page .breadcrumb,
body.trainly-auth-page .elementor-location-header,
body.trainly-auth-page .elementor-location-footer {
  display: none !important;
}

body.trainly-auth-page .site,
body.trainly-auth-page main,
body.trainly-auth-page .site-main,
body.trainly-auth-page .site-content,
body.trainly-auth-page .content-area,
body.trainly-auth-page article,
body.trainly-auth-page .hentry,
body.trainly-auth-page .entry-content,
body.trainly-auth-page .wp-block-post-content,
body.trainly-auth-page .elementor,
body.trainly-auth-page .elementor-section,
body.trainly-auth-page .elementor-container,
body.trainly-auth-page .elementor-widget-wrap {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.trainly-auth-notice {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #d7deea;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
}

.trainly-auth-notice--error {
  border-color: #f5c2c7;
  background: #fff5f6;
  color: #b42318;
}

.trainly-auth-notice--success {
  border-color: #b7e5cd;
  background: #f0fdf4;
  color: #166534;
}

.trainly-auth-notice__link {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.trainly-auth-notice__link:hover,
.trainly-auth-notice__link:focus-visible {
  color: inherit;
}

.trainly-auth--login,
.trainly-auth--challenge,
.trainly-auth--reset,
.trainly-auth--register {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

.trainly-auth__shell {
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px 20px max(24px, calc(env(safe-area-inset-bottom) + 16px));
  padding-top: max(18px, calc(env(safe-area-inset-top) + 12px));
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.trainly-auth__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.trainly-auth__nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.trainly-auth__brand {
  display: flex;
  justify-content: center;
  align-items: center;
}

.trainly-auth__top-spacer {
  min-height: 38px;
}

.trainly-auth-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #d8e0ef;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.trainly-auth-back:hover,
.trainly-auth-back:focus-visible {
  border-color: #4b78d7;
  color: #355fb1;
  background: #fff;
}

.trainly-auth__brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.trainly-auth__brand-link--text {
  color: #0f172a;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.trainly-auth__brand-image {
  display: block;
  max-height: 60px;
  width: auto;
}

.trainly-auth__main {
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0;
}

.trainly-auth--reset .trainly-auth__main {
  padding-bottom: clamp(56px, 9vh, 112px);
}

.trainly-auth__content {
  width: min(100%, 430px);
  display: grid;
  gap: 16px;
}

.trainly-auth--challenge .trainly-auth__shell {
  justify-content: flex-start;
  gap: 18px;
  padding-bottom: max(24px, calc(env(safe-area-inset-bottom) + 16px));
}

.trainly-auth--challenge .trainly-auth__main {
  flex: 1 0 auto;
}

.trainly-auth--challenge .trainly-auth__content {
  width: min(100%, 460px);
}

.trainly-auth__content--register {
  width: min(100%, 640px);
  min-height: 0;
  gap: 12px;
  margin: 0 auto;
  align-content: start;
}

.trainly-auth-login,
.trainly-auth-state,
.trainly-auth-verify {
  display: grid;
  gap: 16px;
}

.trainly-auth--challenge .trainly-auth-verify {
  gap: 18px;
}

.trainly-auth-title {
  margin: 0;
  color: #0f172a;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-align: center;
}

.trainly-auth--challenge .trainly-auth-title {
  font-size: clamp(20px, 5vw, 28px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.trainly-auth-title--reset {
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.trainly-auth-subtitle,
.trainly-auth-verify__note,
.trainly-auth-helper {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.trainly-auth-form {
  display: grid;
  gap: 14px;
}

.trainly-auth-form--verify {
  gap: 16px;
}

.trainly-auth--challenge .trainly-auth-form--verify {
  gap: 18px;
}

.trainly-auth--challenge .trainly-auth-form--verify .trainly-auth-field__label {
  text-align: center;
}

.trainly-auth-field {
  display: grid;
  gap: 8px;
  position: relative;
}

.trainly-auth-field__label {
  color: #0f172a;
  font-size: 14px;
  font-weight: 600;
}

.trainly-auth-field__label--required::after {
  content: ' *';
  color: #d14343;
}

.trainly-auth-field__hint {
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

.trainly-auth-field__error {
  color: #d14343;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.trainly-auth-input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid #d8e0ef;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.94);
  box-sizing: border-box;
  color: #0f172a;
  font-size: 16px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.trainly-auth-input:focus {
  outline: none;
  border-color: #4b78d7;
  background: #fff;
}

.trainly-auth-input.is-invalid {
  border-color: #d14343;
  background: #fff;
}

.trainly-auth-input.is-invalid:focus {
  border-color: #d14343;
  box-shadow: 0 0 0 1px rgba(209, 67, 67, 0.14);
}

.trainly-auth-input::placeholder {
  color: #94a3b8;
}

.trainly-auth-input[readonly] {
  color: #475569;
  background: #f8fafc;
}

.trainly-auth-input--select {
  appearance: none;
  padding-right: 48px;
  background-image:
    linear-gradient(45deg, transparent 50%, #64748b 50%),
    linear-gradient(135deg, #64748b 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.trainly-auth-input--code {
  padding-left: 22px;
  text-align: center;
  letter-spacing: 0.36em;
  font-size: 24px;
  font-weight: 700;
}

.trainly-auth-otp {
  width: 100%;
  max-width: 396px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.trainly-auth-otp__input {
  min-height: 64px;
  padding: 0;
  border: 2px solid #000;
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
  outline: 2px solid transparent;
  outline-offset: 2px;
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0;
}

.trainly-auth-otp__input:focus {
  border-color: #000;
  box-shadow: none;
  outline-color: rgba(0, 0, 0, 0.12);
}

.trainly-auth-otp__input.is-invalid {
  background: #fff8f8;
  border-color: #000;
  box-shadow: none;
  outline-color: rgba(0, 0, 0, 0.12);
}

.trainly-auth-button {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  cursor: pointer;
}

.trainly-auth-button:hover,
.trainly-auth-button:focus-visible {
  transform: translateY(-1px);
}

.trainly-auth-button:focus-visible {
  outline: none;
}

.trainly-auth-button--primary {
  background: #4b78d7;
  border-color: #4b78d7;
  color: #fff;
  box-shadow: none;
}

.trainly-auth-button--primary:hover,
.trainly-auth-button--primary:focus-visible {
  background: #355fb1;
  border-color: #355fb1;
  color: #fff;
}

.trainly-auth-button--secondary {
  background: rgba(75, 120, 215, 0.08);
  border-color: rgba(75, 120, 215, 0.16);
  color: #355fb1;
}

.trainly-auth-button--secondary:hover,
.trainly-auth-button--secondary:focus-visible {
  background: rgba(75, 120, 215, 0.12);
  border-color: rgba(75, 120, 215, 0.24);
  color: #274c92;
}

.trainly-auth-button--google {
  background: rgba(255, 255, 255, 0.96);
  border-color: #d8e0ef;
  color: #0f172a;
  box-shadow: none;
}

.trainly-auth-button--google:hover,
.trainly-auth-button--google:focus-visible {
  border-color: #b9c7e2;
  color: #0f172a;
}

.trainly-auth-button--google.is-disabled,
.trainly-auth-button--google:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.trainly-auth-button__icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trainly-auth-button__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.trainly-auth-button__icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.trainly-auth-divider--text {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.trainly-auth-divider--text::before,
.trainly-auth-divider--text::after {
  content: '';
  flex: 1 1 auto;
  height: 1px;
  background: #d8e0ef;
}

.trainly-auth-divider--text span {
  white-space: nowrap;
}

.trainly-auth-form__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.trainly-auth-checkbox {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  column-gap: 10px;
  color: #334155;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.trainly-auth-checkbox input {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin: 1px 0 0;
  accent-color: #4b78d7;
  box-sizing: border-box;
}

.trainly-auth-checkbox--stacked {
  margin-top: 4px;
  line-height: 1.45;
}

.trainly-auth-register__consents {
  display: grid;
  gap: 10px;
  margin-top: 2px;
}

.trainly-auth-checkbox--consent {
  color: #334155;
  font-size: 13px;
}

.trainly-auth-inline-link {
  color: #355fb1;
  font-weight: 700;
  text-decoration: none;
}

.trainly-auth-inline-link:hover,
.trainly-auth-inline-link:focus-visible {
  color: #274c92;
  text-decoration: underline;
  outline: none;
}

.trainly-auth-text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(75, 120, 215, 0.1);
  color: #355fb1;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}

.trainly-auth-text-button:hover,
.trainly-auth-text-button:focus-visible {
  background: rgba(75, 120, 215, 0.16);
  color: #274c92;
}

.trainly-auth-login__register {
  margin: 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}

.trainly-auth-login__register a {
  color: #4b78d7;
  font-weight: 700;
  text-decoration: none;
}

.trainly-auth-login__register a:hover,
.trainly-auth-login__register a:focus-visible {
  text-decoration: underline;
}

.trainly-auth-verify__meta {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(75, 120, 215, 0.08);
  color: #475569;
  font-size: 14px;
  line-height: 1.5;
}

.trainly-auth-verify__meta p {
  margin: 0;
}

.trainly-auth-verify__secondary {
  margin: -6px 0 0;
  display: flex;
  justify-content: center;
}

.trainly-auth-verify__resend {
  width: auto;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #355fb1;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
}

.trainly-auth-verify__resend:hover,
.trainly-auth-verify__resend:focus-visible {
  background: transparent;
  color: #355fb1;
  text-decoration: underline;
  text-underline-offset: 3px;
  transform: none;
}

.trainly-auth-verify__resend:disabled {
  padding: 9px 14px;
  border: 1px solid #cfd4dc;
  border-radius: 999px;
  background: #f3f4f6;
  color: #475467;
  cursor: not-allowed;
  text-decoration: none;
  opacity: 1;
}

.trainly-auth-verify__resend:disabled:hover,
.trainly-auth-verify__resend:disabled:focus-visible {
  background: #f3f4f6;
  color: #475467;
  text-decoration: none;
  transform: none;
}

.trainly-auth-reset-links {
  display: grid;
  gap: 12px;
}

.trainly-auth-register {
  min-height: 0;
}

.trainly-auth--register {
  overflow: hidden;
}

.trainly-auth__shell--register {
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  gap: 12px;
  padding: 20px 20px max(24px, calc(env(safe-area-inset-bottom) + 16px));
  padding-top: max(20px, calc(env(safe-area-inset-top) + 14px));
  overflow-x: hidden;
  overflow-y: auto;
}

.trainly-auth--register .trainly-auth__main {
  align-items: flex-start;
  padding-bottom: 12px;
}

.trainly-auth-register__card {
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-sizing: border-box;
}

.trainly-auth-form--register {
  gap: 14px;
}

.trainly-auth-register__social {
  display: grid;
  gap: 10px;
}

.trainly-auth-register__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

.trainly-auth-register__column {
  display: grid;
  gap: 10px;
  align-content: start;
}

.trainly-auth-register__footer {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.trainly-auth-button--register {
  width: 100%;
  max-width: none;
}

.trainly-auth-button--register-google {
  min-height: 46px;
}

.trainly-auth-helper--register {
  text-align: left;
}

.trainly-auth-divider--register {
  font-size: 12px;
}

.trainly-auth-form--register .trainly-auth-input,
.trainly-auth-form--register .trainly-auth-button {
  min-height: 46px;
}

.trainly-auth-inline {
  display: grid;
  gap: 10px;
}

.trainly-auth-inline--identity {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trainly-auth-inline--phone {
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  align-items: start;
}

.trainly-auth-field--phone {
  gap: 6px;
}

.trainly-auth-phone-country {
  position: relative;
}

.trainly-auth-phone-country__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-right: 14px;
  text-align: left;
  cursor: pointer;
}

.trainly-auth-phone-country__trigger::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.trainly-auth-phone-country__trigger span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trainly-auth-phone-country__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 280px;
  border: 1px solid #d8e0ef;
  border-radius: 3px;
  background: #fff;
  overflow: auto;
  z-index: 24;
}

.trainly-auth-phone-country__search {
  padding: 8px 8px 0;
}

.trainly-auth-phone-country__results {
  display: grid;
  gap: 0;
  padding: 8px;
}

.trainly-auth-phone-country__option {
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #0f172a;
  font: inherit;
  display: grid;
  gap: 2px;
  text-align: left;
  cursor: pointer;
}

.trainly-auth-phone-country__option:hover,
.trainly-auth-phone-country__option:focus-visible {
  background: #f8fbff;
  color: #355fb1;
  outline: none;
}

.trainly-auth-phone-country__option-code {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.trainly-auth-phone-country__option-name {
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
}

.trainly-auth-phone-country__empty {
  padding: 10px 12px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.trainly-auth-password-rules {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.trainly-auth-password-rule {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.trainly-auth-password-rule__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  text-align: center;
}

.trainly-auth-password-rule.is-neutral {
  color: #94a3b8;
}

.trainly-auth-password-rule.is-valid {
  color: #1f8f55;
}

.trainly-auth-password-rule.is-invalid {
  color: #d14343;
}

.trainly-auth-gym-native {
  display: block;
}

.trainly-auth-gym-enhanced {
  display: none;
}

.trainly-auth-field--gym.is-enhanced .trainly-auth-gym-native {
  display: none;
}

.trainly-auth-field--gym.is-enhanced .trainly-auth-gym-enhanced {
  display: grid;
  gap: 10px;
}

.trainly-auth-gym-desktop {
  position: relative;
}

.trainly-auth-gym-mobile {
  display: none;
}

.trainly-auth-gym-input {
  padding-right: 42px;
}

.trainly-auth-gym-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  max-height: min(280px, calc(100vh - 32px));
  border: 1px solid #d8e0ef;
  border-radius: 3px;
  background: #fff;
  overflow: hidden;
  z-index: 20;
}

.trainly-auth-gym-dropdown.is-upward {
  top: auto;
  bottom: calc(100% + 6px);
}

.trainly-auth-gym-results {
  display: grid;
  gap: 0;
  padding: 8px;
  max-height: inherit;
  overflow: auto;
}

.trainly-auth-gym-option {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #0f172a;
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.trainly-auth-gym-option:hover,
.trainly-auth-gym-option:focus-visible {
  background: #f8fbff;
  color: #355fb1;
  outline: none;
}

.trainly-auth-gym-empty {
  padding: 10px 12px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.trainly-auth-field--gym.is-disabled .trainly-auth-input--mobile-picker,
.trainly-auth-field--gym.is-disabled .trainly-auth-gym-input {
  background: #f8fafc;
  color: #94a3b8;
}

.trainly-auth-input--mobile-picker,
.trainly-auth-date-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.trainly-auth-input--mobile-picker::after,
.trainly-auth-date-trigger::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.trainly-auth-input--date-native.is-enhanced {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.trainly-auth-date-trigger {
  width: 100%;
}

.trainly-auth-input--mobile-picker span,
.trainly-auth-date-trigger__label {
  flex: 1 1 auto;
}

.trainly-auth-date-trigger.is-empty {
  color: #94a3b8;
}

.trainly-auth-date {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: min(100%, 330px);
  padding: 14px;
  border: 1px solid #d8e0ef;
  border-radius: 20px;
  background: #fff;
  z-index: 25;
  box-sizing: border-box;
}

.trainly-auth-date__toolbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.trainly-auth-date__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 94px;
  gap: 8px;
}

.trainly-auth-date__nav {
  width: 38px;
  height: 38px;
  border: 1px solid #d8e0ef;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  font-size: 16px;
  cursor: pointer;
}

.trainly-auth-date__nav:disabled {
  color: #94a3b8;
  cursor: not-allowed;
}

.trainly-auth-date__select {
  width: 100%;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #d8e0ef;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  appearance: none;
}

.trainly-auth-date__weekdays,
.trainly-auth-date__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.trainly-auth-date__weekdays {
  margin-bottom: 8px;
}

.trainly-auth-date__weekday {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.trainly-auth-date__day {
  min-height: 36px;
  border: 1px solid #d8e0ef;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.trainly-auth-date__day:hover,
.trainly-auth-date__day:focus-visible {
  border-color: #4b78d7;
  color: #355fb1;
  outline: none;
}

.trainly-auth-date__day.is-outside {
  color: #94a3b8;
}

.trainly-auth-date__day.is-today {
  border-color: #4b78d7;
}

.trainly-auth-date__day.is-selected {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

.trainly-auth-date__day:disabled {
  color: #cbd5e1;
  border-color: #e2e8f0;
  background: #f8fafc;
  cursor: not-allowed;
}

.trainly-auth-link-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #020617;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}

.trainly-auth-link-button:hover,
.trainly-auth-link-button:focus-visible {
  color: #020617;
  text-decoration: underline;
  text-underline-offset: 3px;
  outline: none;
}

.trainly-auth-overlay .trainly-uf-overlay__panel,
.trainly-auth-overlay .trainly-uf-overlay__actions,
.trainly-auth-overlay .trainly-uf-overlay-item.is-selected,
.trainly-auth-overlay .trainly-uf-overlay-item.is-selected:hover,
.trainly-auth-overlay .trainly-uf-overlay-item.is-selected:focus {
  box-shadow: none;
}

@media (max-height: 860px) and (min-width: 768px) {
  .trainly-auth__shell--register {
    gap: 12px;
    padding: 16px 18px max(18px, calc(env(safe-area-inset-bottom) + 12px));
    padding-top: max(18px, calc(env(safe-area-inset-top) + 14px));
  }

  .trainly-auth__content--register {
    gap: 12px;
  }

  .trainly-auth-register__card {
    padding: 0;
    border-radius: 0;
  }

  .trainly-auth-form--register {
    gap: 12px;
  }

  .trainly-auth-register__column {
    gap: 10px;
  }

  .trainly-auth__content--register .trainly-auth-input,
  .trainly-auth__content--register .trainly-auth-button {
    min-height: 46px;
  }
}

@media (max-width: 767px) {
  body.trainly-auth-page {
    background: #fff;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
  }

  .trainly-auth--login,
  .trainly-auth--challenge,
  .trainly-auth--reset,
  .trainly-auth--register {
    overflow: hidden;
  }

  .trainly-auth__shell {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    gap: 16px;
    padding: 16px 18px max(64px, calc(env(safe-area-inset-bottom) + 36px));
    padding-top: max(18px, calc(env(safe-area-inset-top) + 14px));
    overflow-x: hidden;
    overflow-y: auto;
  }

  .trainly-auth__shell--register {
    padding-bottom: max(72px, calc(env(safe-area-inset-bottom) + 40px));
  }

  .trainly-auth__shell::after {
    content: "";
    display: block;
    min-height: max(28px, calc(env(safe-area-inset-bottom) + 12px));
    flex-shrink: 0;
  }

  .trainly-auth--challenge .trainly-auth__shell::after {
    display: none;
  }

  .trainly-auth__main {
    padding-bottom: 20px;
  }

  .trainly-auth--challenge .trainly-auth__main {
    padding-bottom: 0;
  }

  .trainly-auth--register .trainly-auth__main,
  .trainly-auth--reset .trainly-auth__main {
    padding-bottom: 32px;
  }

  .trainly-auth__brand-image {
    max-height: 52px;
  }

  .trainly-auth__content--register {
    width: 100%;
    align-content: start;
  }

  .trainly-auth-register__card {
    padding: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .trainly-auth-form--register {
    gap: 14px;
  }

  .trainly-auth-form__meta .trainly-auth-text-button {
    order: 1;
  }

  .trainly-auth-form__meta .trainly-auth-checkbox {
    order: 2;
  }

  .trainly-auth-register__grid {
    gap: 14px;
  }

  .trainly-auth-register__column {
    gap: 10px;
  }

  .trainly-auth-inline--phone {
    grid-template-columns: minmax(0, 142px) minmax(0, 1fr);
  }

  .trainly-auth-field--gym.is-enhanced .trainly-auth-gym-desktop {
    display: none;
  }

  .trainly-auth-field--gym.is-enhanced .trainly-auth-gym-mobile {
    display: block;
  }

  .trainly-auth-input--date-native.is-enhanced {
    position: static;
    width: 100%;
    height: auto;
    padding: 0 16px;
    border: 1px solid #d8e0ef;
    opacity: 1;
    pointer-events: auto;
  }

  .trainly-auth-date-trigger,
  .trainly-auth-date {
    display: none !important;
  }

  .trainly-auth-button--register {
    max-width: none;
  }

  .trainly-auth-title {
    font-size: 32px;
  }

  .trainly-auth--challenge .trainly-auth-title {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .trainly-auth__content {
    width: 100%;
  }

  .trainly-auth-otp {
    gap: 8px;
  }

  .trainly-auth-otp__input {
    min-height: 56px;
    font-size: 24px;
  }

  .trainly-auth-inline--identity {
    gap: 8px;
  }

  .trainly-auth-inline--phone {
    grid-template-columns: minmax(0, 128px) minmax(0, 1fr);
    gap: 8px;
  }

  .trainly-auth-form__meta {
    flex-direction: column;
    align-items: stretch;
  }

  .trainly-auth-text-button {
    width: 100%;
  }
}

.trainly-city-highlights {
  color: #121212;
}

.trainly-city-selection {
  color: #121212;
}

.trainly-city-selection__toolbar {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.trainly-city-selection__back {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #121212;
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  gap: 8px;
  justify-content: flex-start;
  min-height: auto;
  padding: 0;
  transition: color 0.2s ease;
  white-space: nowrap;
  width: fit-content;
}

.trainly-city-selection__back:hover,
.trainly-city-selection__back:focus-visible {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.trainly-city-selection__back:focus-visible {
  outline: 2px solid #121212;
  outline-offset: 4px;
}

.trainly-city-selection__back-arrow {
  display: inline-block;
  font-family: inherit;
}

.trainly-city-selection__search-wrap {
  border-radius: 8px;
  min-width: 0;
  width: 100%;
}

.trainly-city-selection__search {
  -webkit-appearance: none;
  appearance: none;
  background: #fff;
  border: 1px solid rgba(18, 18, 18, 0.12);
  border-radius: 8px;
  box-shadow: none;
  color: #121212;
  display: block;
  font-size: 17px;
  font-weight: 600;
  min-height: 56px;
  padding: 0 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.trainly-city-selection input[id^="trainly-city-selection-search-"] {
  border-radius: 8px;
}

.trainly-city-selection__search::placeholder {
  color: #6a6a6a;
  font-weight: 500;
}

.trainly-city-selection__search:focus {
  border-color: rgba(18, 18, 18, 0.3);
  box-shadow: none;
  outline: 0;
}

.trainly-city-selection__empty {
  color: #444;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  padding: 12px 2px 0;
}

.trainly-city-selection__empty--static {
  padding-top: 0;
}

.trainly-city-selection__card {
  width: 100%;
}

.trainly-city-highlights__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.trainly-city-highlights__card {
  color: #fff;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 5 / 6;
  background: #f3f0ea;
  box-shadow: 0 18px 45px rgba(15, 15, 15, 0.12);
  text-decoration: none;
}

.trainly-city-highlights__media {
  position: absolute;
  inset: 0;
  display: block;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.trainly-city-highlights__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0.06) 18%, rgba(12, 12, 12, 0.7) 100%);
  z-index: 1;
}

.trainly-city-highlights__placeholder {
  display: block;
  width: 100%;
  height: 100%;
}

.trainly-city-highlights__placeholder {
  align-items: center;
  color: #fff;
  display: flex;
  justify-content: center;
  position: relative;
}

.trainly-city-highlights__placeholder svg {
  width: 42px;
  height: 42px;
  position: relative;
  z-index: 2;
}

.trainly-city-highlights__card--tone-1 .trainly-city-highlights__placeholder {
  background: linear-gradient(145deg, #181818 0%, #434343 100%);
}

.trainly-city-highlights__card--tone-2 .trainly-city-highlights__placeholder {
  background: linear-gradient(145deg, #c96b2d 0%, #f3d0a9 100%);
}

.trainly-city-highlights__card--tone-3 .trainly-city-highlights__placeholder {
  background: linear-gradient(145deg, #275f76 0%, #9bc7d6 100%);
}

.trainly-city-highlights__card--tone-4 .trainly-city-highlights__placeholder {
  background: linear-gradient(145deg, #335940 0%, #bcd5c3 100%);
}

.trainly-city-highlights__name {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.trainly-city-highlights__media.has-image {
  transition: transform 0.38s ease;
}

.trainly-city-highlights__card:hover .trainly-city-highlights__media.has-image,
.trainly-city-highlights__card:focus-visible .trainly-city-highlights__media.has-image {
  transform: scale(1.04);
}

.trainly-city-highlights__card:hover .trainly-city-highlights__name,
.trainly-city-highlights__card:focus-visible .trainly-city-highlights__name {
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.trainly-city-highlights__card:focus-visible,
.trainly-city-highlights__more:focus-visible {
  outline: 2px solid #121212;
  outline-offset: 6px;
}

.trainly-city-highlights__more {
  color: #000;
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  margin-top: 24px;
  text-decoration: none;
}

.trainly-city-highlights__more:hover,
.trainly-city-highlights__more:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (max-width: 1024px) {
  .trainly-city-highlights__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .trainly-city-selection__toolbar {
    gap: 10px;
    margin-bottom: 22px;
  }

  .trainly-city-selection__back {
    min-height: auto;
  }

  .trainly-city-selection__search {
    border-radius: 8px;
    font-size: 16px;
    min-height: 52px;
    padding: 0 16px;
  }

  .trainly-city-highlights__grid {
    gap: 14px;
  }

  .trainly-city-highlights__card {
    border-radius: 22px;
  }

  .trainly-city-highlights__name {
    left: 16px;
    right: 16px;
    bottom: 16px;
    font-size: 22px;
  }
}
