/* 24Sport — личный кабинет (User Registration) */

.sport24-account-page #user-registration.vertical:has(.sport24-account),
.sport24-account-page #user-registration.horizontal:has(.sport24-account),
.sport24-account-page #user-registration:has(.sport24-account) {
  display: block;
  box-shadow: none;
}

.sport24-account-page section.block {
  padding: 35px 0;
}

.sport24-account-page .single-content {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.sport24-account {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sport24-account__hero {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 0;
}

.sport24-account__title {
  margin: 0;
  color: var(--navy, #25345A);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.04;
  letter-spacing: -.055em;
}

.sport24-account__subtitle {
  margin: 12px 0 0;
  color: var(--muted, #718096);
  font-size: 15px;
}

.sport24-account__layout {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
}

.sport24-account__sidebar,
.sport24-account__main {
  background: #fff;
  border: 1px solid var(--border, #E3E8F0);
  border-radius: var(--rl, 30px);
  box-shadow: 0 22px 65px #0d1b3e12;
}

.sport24-account__sidebar {
  padding: 10px 14px;
  position: static;
  top: auto;
}

.sport24-account__main {
  padding: 28px 32px 32px;
  min-height: 420px;
  text-align: left;
}

.sport24-account__main:has(.sport24-chat-hub) {
  padding: 16px;
  overflow: visible;
}

.sport24-account-page .user-registration-MyAccount-content.sport24-account__main {
  text-align: left;
}

.sport24-account-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

.sport24-account-nav__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--navy, #25345A);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}

.sport24-account-page #user-registration.horizontal .user-registration-MyAccount-navigation,
.sport24-account-page #user-registration .user-registration-MyAccount-navigation,
.sport24-account-page .sport24-account-nav.user-registration-MyAccount-navigation {
  border-bottom: 0 !important;
}

.sport24-account-nav__link:hover {
  background: var(--cream, #F5F7FA);
  color: var(--red, #D7193F);
}

.sport24-account-page .user-registration-MyAccount-navigation-link.is-active .sport24-account-nav__link,
.sport24-account-page .user-registration-MyAccount-navigation-link.is-active a,
.user-registration-MyAccount-navigation-link.is-active .sport24-account-nav__link,
.sport24-account-nav__link.is-active {
  background-color: #f0f1f5;
  border-radius: 999px;
  color: var(--navy, #25345A);
}

.sport24-account-nav {
  display: block;
  width: 100%;
}

.sport24-account__sidebar .sport24-account-nav__list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.sport24-account-nav .fa {
  display: none;
}

.sport24-account-panel__head {
  margin: 0 0 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border, #E3E8F0);
  text-align: left;
}

.sport24-account-panel__head h1,
.sport24-account-panel__head h2 {
  margin: 8px 0 0;
  color: var(--navy, #25345A);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.sport24-account-panel__head p {
  margin: 8px 0 0;
  color: var(--muted, #718096);
  font-size: 14px;
}

.sport24-dashboard-section {
  margin: 0;
}

.sport24-dashboard-section > h1 {
  margin: 0 0 20px;
  color: var(--navy, #25345A);
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -.04em;
}

.sport24-tickets-list {
  display: grid;
  gap: 14px;
}

.sport24-ticket-card {
  display: block;
  padding: 20px 22px;
  transition: box-shadow .15s ease, border-color .15s ease;
}

.sport24-ticket-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.sport24-ticket-card__meta {
  margin: 0;
  color: var(--muted, #718096);
  font-size: 14px;
}

.sport24-ticket-brief {
  display: grid;
  gap: 6px;
  margin: 0;
}

.sport24-ticket-brief__row {
  display: grid;
  grid-template-columns: minmax(120px, 200px) minmax(0, 1fr);
  gap: 8px 16px;
  font-size: 14px;
  line-height: 1.45;
}

.sport24-ticket-brief__label {
  color: var(--muted, #718096);
  font-weight: 700;
}

.sport24-ticket-brief__value {
  color: var(--navy, #25345A);
}

.sport24-ticket-card:hover {
  border-color: #d7193f44;
  box-shadow: 0 12px 30px #0d1b3e10;
}

.sport24-ticket-card h3 a {
  color: var(--navy, #25345A);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.sport24-ticket-card h3 a:hover {
  color: var(--red, #D7193F);
  text-decoration: underline;
}

.sport24-managed-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.sport24-managed-cards {
  margin-top: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sport24-managed-card h3 {
  margin: 0 0 8px;
  color: var(--navy, #25345A);
  font-size: 16px;
}

.sport24-managed-list a {
  display: block;
  padding: 14px 16px;
  background: var(--cream, #F5F7FA);
  border: 1px solid var(--border, #E3E8F0);
  border-radius: 14px;
  color: var(--navy, #25345A);
  font-weight: 700;
}

.sport24-managed-list a:hover {
  border-color: #d7193f55;
  color: var(--red, #D7193F);
}

.sport24-empty,
.sport24-muted,
.sport24-notice {
  color: var(--muted, #718096);
  font-size: 14px;
}

.sport24-notice .btn {
  margin-left: 6px;
}

/* User Registration forms inside account */
.sport24-account-page .user-registration-MyAccount-content__header {
  margin: 0 0 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border, #E3E8F0);
}

.sport24-account-page .user-registration-MyAccount-content__header h1 {
  margin: 0;
  color: var(--navy, #25345A);
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -.04em;
}

.sport24-account-page .urm-back-button {
  display: none;
}

.sport24-account-page .user-registration-MyAccount-content__body,
.sport24-account-page .user-registration-EditAccountForm {
  max-width: 640px;
}

.sport24-account-page .ur-form-row,
.sport24-account-page .ur-form-grid {
  margin-bottom: 14px;
}

.sport24-account-page .ur-form-grid label,
.sport24-account-page .form-row label,
.sport24-account-page .user-registration-form-row label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted, #718096);
  margin-bottom: 6px;
}

.sport24-account-page .ur-form-grid input[type="text"],
.sport24-account-page .ur-form-grid input[type="email"],
.sport24-account-page .ur-form-grid input[type="password"],
.sport24-account-page .ur-form-grid input[type="tel"],
.sport24-account-page .ur-form-grid input[type="url"],
.sport24-account-page .ur-form-grid input[type="number"],
.sport24-account-page .ur-form-grid select,
.sport24-account-page .ur-form-grid textarea,
.sport24-account-page .user-registration-Input,
.sport24-account-page .input-text {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--border, #E3E8F0);
  border-radius: 14px;
  background: var(--cream, #F5F7FA);
  padding: 0 14px;
  color: var(--text, #273149);
  font-family: inherit;
  font-size: 14px;
  outline: 0;
  box-shadow: none;
}

.sport24-account-page .ur-form-grid textarea,
.sport24-account-page textarea.user-registration-Input {
  min-height: 110px;
  padding: 12px 14px;
}

.sport24-account-page .ur-form-grid input:focus,
.sport24-account-page .ur-form-grid select:focus,
.sport24-account-page .ur-form-grid textarea:focus,
.sport24-account-page .user-registration-Input:focus {
  border-color: var(--red, #D7193F);
  background: #fff;
}

.sport24-account-page .user-registration-Button,
.sport24-account-page button.user-registration-Button,
.sport24-account-page .user-registration-Button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 14px;
  background: var(--red, #D7193F);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: none;
}

.sport24-account-page .user-registration-Button.button-secondary,
.sport24-account-page .user-registration-Button.button-secondary:hover {
  background: #fff;
  color: var(--navy, #25345A);
  border: 1px solid var(--border, #E3E8F0);
}

.sport24-account-page .user-registration-Button:hover {
  background: var(--red2, #B51235);
  color: #fff;
}

.sport24-account-page .user-registration-message-container,
.sport24-account-page .user-registration-notices {
  margin-bottom: 16px;
}

.sport24-account-panel .sport24-notifications-page-list {
  margin: 0;
}

.sport24-account-panel .sport24-notifications-list__link {
  border: 1px solid var(--border, #E3E8F0);
  border-radius: 14px;
  margin-bottom: 10px;
  background: var(--cream, #F5F7FA);
}

.sport24-account-panel .sport24-notifications-list__link:hover {
  background: #fff;
  border-color: #d7193f55;
}

.sport24-account-page .user-registration-error,
.sport24-account-page .user-registration-message {
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
}

.sport24-profile-form__grid {
  display: grid;
  gap: 14px;
  max-width: 640px;
}

.sport24-profile-form .ur-form-row label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted, #718096);
  margin-bottom: 6px;
}

.sport24-profile-form__actions {
  margin-top: 22px;
}

.sport24-profile-notice {
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
  margin-bottom: 18px;
  max-width: 640px;
}

.sport24-profile-notice--success {
  background: #ecfdf3;
  border: 1px solid #86efac;
  color: #166534;
}

.sport24-profile-notice--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* Change password page */
.sport24-password-edit .user-registration-message-container,
.sport24-password-notices {
  margin-bottom: 16px;
  max-width: 640px;
}

.sport24-password-field {
  display: block;
  position: relative;
}

.sport24-password-field .user-registration-Input--password,
.sport24-password-edit .hide_show_password input[type="password"] {
  width: 100%;
  min-height: 50px;
  padding-right: 46px;
}

.sport24-password-field .password_preview,
.sport24-password-edit .password_preview {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: var(--muted, #718096);
  text-decoration: none;
  line-height: 1;
}

.sport24-password-field .password_preview:hover,
.sport24-password-edit .password_preview:hover {
  color: var(--red, #D7193F);
}

.sport24-password-edit .user-registration-EditAccountForm.edit-password fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.sport24-password-edit .user-registration-EditAccountForm.edit-password p.form-row,
.sport24-password-edit .user-registration-EditAccountForm.edit-password .clear {
  display: none;
}

.sport24-account-page .sport24-password-edit .user-registration-Button,
.sport24-account-page .sport24-password-edit button.user-registration-Button,
.sport24-account-page .sport24-password-edit input.user-registration-Button {
  background: var(--red, #D7193F) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
}

.sport24-account-page .sport24-password-edit .user-registration-Button:hover {
  background: var(--red2, #B51235) !important;
}

.sport24-account-page .sport24-password-edit .ur-frontend-form,
.sport24-account-page .user-registration-MyAccount-content__body .ur-frontend-form {
  box-shadow: none;
  border: 0;
  padding: 0;
  background: transparent;
}

.sport24-account-page .sport24-password-edit #ur-frontend-form,
.sport24-account-page .user-registration-EditAccountForm.edit-password {
  max-width: 640px;
}

/* Hide default UR navigation rendered outside our layout (legacy template). */
.sport24-account-page #user-registration > .user-registration-MyAccount-navigation {
  display: none;
}

@media (max-width: 950px) {
  .sport24-account__sidebar {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .sport24-managed-cards {
    grid-template-columns: 1fr;
  }

  .sport24-account-nav__list {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .sport24-account-page section.block {
    padding: 32px 0 64px;
  }

  .sport24-account__main {
    padding: 22px 18px 24px;
  }

  .sport24-account-nav__link {
    padding: 9px 12px;
    font-size: 13px;
  }

  .sport24-ticket-brief__row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* Standalone auth pages: lost / reset password */
.sport24-auth-page section.block {
  padding: 48px 0 80px;
}

.sport24-auth-page .single-content {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.sport24-auth-page .single-content > h1 {
  display: none;
}

.sport24-auth-page .single-content > p {
  margin: 0;
  padding: 28px 32px;
  background: #fff;
  border: 1px solid var(--border, #E3E8F0);
  border-radius: var(--rl, 30px);
  box-shadow: 0 22px 65px #0d1b3e12;
  color: var(--navy, #25345A);
  font-size: 15px;
  line-height: 1.5;
}

.sport24-auth-page .site-main .wrap {
  max-width: 620px;
}

.sport24-auth-page .sport24-account-panel,
.sport24-auth-page .sport24-password-reset {
  background: #fff;
  border: 1px solid var(--border, #E3E8F0);
  border-radius: var(--rl, 30px);
  box-shadow: 0 22px 65px #0d1b3e12;
  padding: 28px 32px 32px;
}

.sport24-auth-page .ur-frontend-form,
.sport24-auth-page #user-registration,
.sport24-auth-page #user-registration.vertical,
.sport24-auth-page #user-registration.horizontal {
  display: block;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.sport24-auth-page .sport24-profile-form .user-registration-Input,
.sport24-auth-page .sport24-profile-form input[type="text"],
.sport24-auth-page .sport24-profile-form input[type="password"] {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--border, #E3E8F0);
  border-radius: 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--navy, #25345A);
  background: #fff;
  box-sizing: border-box;
}

.sport24-auth-page .sport24-profile-form .user-registration-Input:focus,
.sport24-auth-page .sport24-profile-form input:focus {
  outline: none;
  border-color: #d7193f66;
  box-shadow: 0 0 0 3px #d7193f14;
}

.sport24-auth-page .user-registration-Button,
.sport24-auth-page button.user-registration-Button,
.sport24-auth-page input.user-registration-Button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border: 0;
  border-radius: 14px;
  background: var(--red, #D7193F) !important;
  color: #fff !important;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: none !important;
}

.sport24-auth-page .user-registration-Button:hover {
  background: var(--red2, #B51235) !important;
}

.sport24-auth-page .user-registration-message-container,
.sport24-auth-page .user-registration-notices {
  margin-bottom: 16px;
}

.sport24-auth-page .user-registration-error,
.sport24-auth-page .user-registration-message,
.sport24-auth-page .user-registration-info {
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
}

.sport24-password-reset__back {
  margin: 18px 0 0;
  font-size: 14px;
}

.sport24-password-reset__back a {
  color: var(--red, #D7193F);
  font-weight: 700;
  text-decoration: none;
}

.sport24-password-reset__back a:hover {
  text-decoration: underline;
}

.sport24-password-reset__hint {
  margin: 0;
  color: var(--muted, #718096);
  font-size: 14px;
  line-height: 1.5;
}

.sport24-password-reset__notice .user-registration-error,
.sport24-password-reset__notice .user-registration-message,
.sport24-password-reset__notice .user-registration-info {
  margin: 0;
  border: 0;
  background: transparent;
  padding: 0;
}

.sport24-password-reset--success .sport24-profile-notice {
  margin-bottom: 14px;
}

@media (max-width: 620px) {
  .sport24-auth-page section.block {
    padding: 32px 0 64px;
  }

  .sport24-auth-page .sport24-account-panel,
  .sport24-auth-page .sport24-password-reset {
    padding: 22px 18px 24px;
  }

  .sport24-auth-page .user-registration-Button,
  .sport24-auth-page button.user-registration-Button {
    width: 100%;
  }
}

/* Filters */
.sport24-filters {
  margin: 0 0 14px;
}
.sport24-filters__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: end;
}
.sport24-notifications-filters .sport24-filters__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
}
.sport24-notifications-filters .sport24-filters__actions {
  grid-column: 1 / -1;
}
.sport24-filters__row--stack {
  flex-direction: column;
  align-items: stretch;
}
.sport24-filters__row--compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: end;
}
.sport24-filters__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted, #718096);
}
.sport24-filters__field--wide {
  grid-column: 1 / -1;
}
.sport24-filters__field input,
.sport24-filters__field select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 34px;
  border: 1px solid var(--border, #E3E8F0);
  border-radius: 10px;
  padding: 4px 8px;
  font: inherit;
  font-size: 13px;
  color: var(--navy, #25345A);
  background: #fff;
  box-sizing: border-box;
}
.sport24-filters__actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  grid-column: 1 / -1;
}
.sport24-filters__actions .btn {
  padding: 7px 12px;
  font-size: 12px;
}

/* Chat hub — без вложенных полос прокрутки */
.sport24-account-panel:has(.sport24-chat-hub) .sport24-account-panel__head {
  margin: 0 0 12px;
  padding-bottom: 10px;
}
.sport24-account-panel:has(.sport24-chat-hub) .sport24-account-panel__head h1 {
  font-size: clamp(20px, 2.4vw, 26px);
}
.sport24-account-panel:has(.sport24-chat-hub) .sport24-account-panel__head p,
.sport24-account-panel:has(.sport24-chat-hub) .sport24-account-panel__head .kicker {
  display: none;
}

.sport24-account:has(.sport24-chat-hub) .sport24-account__hero {
  padding: 4px 0 0;
  max-width: none;
}
.sport24-account:has(.sport24-chat-hub) .sport24-account__subtitle {
  display: none;
}
.sport24-account:has(.sport24-chat-hub) .sport24-account__title {
  font-size: clamp(24px, 3vw, 34px);
}
.sport24-account:has(.sport24-chat-hub) {
  gap: 14px;
}

.sport24-chat-hub {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 12px;
  min-height: 0;
  align-items: start;
}
.sport24-chat-hub__sidebar,
.sport24-chat-hub__main {
  background: #fff;
  border: 1px solid var(--border, #E3E8F0);
  border-radius: 18px;
  overflow: visible;
  min-width: 0;
}
.sport24-chat-hub__sidebar {
  display: flex;
  flex-direction: column;
  max-height: none;
  padding: 0;
  margin: 0;
}
.sport24-chat-hub__filters {
  padding: 10px;
  border-bottom: 1px solid var(--border, #E3E8F0);
  margin: 0;
  overflow: visible;
  max-height: none;
}
.sport24-chat-hub__list {
  overflow: visible;
  flex: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
.sport24-account-page .user-registration .sport24-chat-hub__item,
.sport24-chat-hub__item {
  width: 100%;
  max-width: 100%;
  margin: 0;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--border, #E3E8F0);
  border-radius: 0;
  background: transparent;
  padding: 10px 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  color: var(--navy, #25345A);
  box-shadow: none;
  float: none;
  position: relative;
  left: 0;
  transform: none;
}
.sport24-account-page .user-registration .sport24-chat-hub__item:hover,
.sport24-account-page .user-registration .sport24-chat-hub__item.is-active,
.sport24-chat-hub__item:hover,
.sport24-chat-hub__item.is-active {
  background: #eceff3;
  color: var(--navy, #25345A);
  border-color: var(--border, #E3E8F0);
  box-shadow: none;
}
.sport24-account-page .user-registration .sport24-chat-hub__item.is-active,
.sport24-chat-hub__item.is-active {
  background: #e4e7ec;
  box-shadow: inset 3px 0 0 #9aa3b2;
}
.sport24-chat-hub__item-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  color: inherit;
  font-size: 13px;
  line-height: 1.3;
}
.sport24-chat-hub__item-meta {
  color: var(--muted, #718096);
  font-size: 11px;
}
.sport24-chat-hub__item-tournament {
  display: block;
  margin-top: 2px;
  color: var(--navy, #25345A);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

/* Свои сообщения — серый фон, выравнивание справа */
.sport24-account-page .sport24-chat-msg--mine,
.sport24-chat-msg--mine {
  justify-content: flex-end;
}
.sport24-account-page .sport24-chat-msg--other,
.sport24-chat-msg--other {
  justify-content: flex-start;
}
.sport24-account-page .sport24-chat-msg--mine .sport24-chat-msg__bubble,
.sport24-chat-msg--mine .sport24-chat-msg__bubble {
  background: #E8ECF2;
  border-color: #D5DBE5;
  color: #374151;
}
.sport24-account-page .sport24-chat-msg--mine .sport24-chat-msg__bubble *,
.sport24-chat-msg--mine .sport24-chat-msg__bubble *,
.sport24-account-page .sport24-chat-msg--mine .sport24-chat-msg__text,
.sport24-account-page .sport24-chat-msg--mine .sport24-chat-msg__text p,
.sport24-chat-msg--mine .sport24-chat-msg__text,
.sport24-chat-msg--mine .sport24-chat-msg__text p,
.sport24-chat-msg--mine .sport24-chat-msg__author,
.sport24-chat-msg--mine .sport24-chat-msg__time {
  color: #374151 !important;
}
.sport24-chat-msg--mine .sport24-chat-msg__role {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  color: var(--red, #D7193F) !important;
  background: #e4002b1a;
  padding: 2px 6px;
  min-height: 16px;
  font-size: 9px;
  line-height: 1.2;
  white-space: nowrap;
}
.sport24-account-page .sport24-chat-msg__bubble .btn.red,
.sport24-chat-msg__bubble .btn.red,
.sport24-account-page .sport24-chat-msg__edit-actions .btn.red,
.sport24-chat-msg__edit-actions .btn.red {
  color: #fff !important;
}
.sport24-chat-hub__main {
  padding: 12px 14px 14px;
  min-height: 0;
  max-height: none;
  overflow: visible;
}
.sport24-chat-hub__main.is-loading {
  opacity: .55;
  pointer-events: none;
}
.sport24-chat-hub__placeholder {
  display: grid;
  place-items: center;
  min-height: 220px;
  color: var(--muted, #718096);
}
.sport24-chat-hub__panel-title {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.2;
  color: var(--navy, #25345A);
}
.sport24-chat-hub__panel-head .sport24-muted {
  margin: 0 0 8px;
  font-size: 12px;
}
.sport24-chat-hub__solo-link {
  margin: 0 0 8px;
  font-size: 13px;
}
.sport24-chat-hub__solo-link a {
  color: var(--red, #D7193F);
  font-weight: 700;
  text-decoration: none;
}
.sport24-chat-hub__solo-link a:hover {
  text-decoration: underline;
}

/* Compact booking meta + chat inside hub */
.sport24-account-page .sport24-chat-hub,
.sport24-account-page .sport24-chat-hub__main,
.sport24-account-page .sport24-chat-hub__panel-head,
.sport24-account-page .user-registration-MyAccount-content .sport24-chat-hub {
  text-align: left;
}
.sport24-chat-hub .sport24-ticket-meta {
  margin: 0 0 10px;
  padding: 10px 12px;
  gap: 6px 12px;
  grid-template-columns: minmax(110px, 160px) minmax(0, 1fr);
  justify-items: start;
  justify-content: start;
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  text-align: left;
  overflow: hidden;
}
.sport24-chat-hub .sport24-ticket-meta dt,
.sport24-chat-hub .sport24-ticket-meta dd,
.sport24-account-page .sport24-ticket-meta dt,
.sport24-account-page .sport24-ticket-meta dd {
  font-size: 13px;
  text-align: left !important;
  justify-self: start;
  margin-left: 0;
  margin-right: 0;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.sport24-chat-hub .sport24-ticket-meta dt {
  font-size: 10px;
}
.sport24-chat-hub .sport24-ticket-chat {
  margin-top: 12px;
  padding-top: 12px;
  text-align: left;
}
.sport24-chat-hub .sport24-ticket-chat__title {
  margin: 0 0 8px;
  font-size: 16px;
  text-align: left;
}
.sport24-chat-hub .sport24-chat-messages {
  max-height: none;
  overflow: visible;
  padding: 10px;
  gap: 8px;
  margin-bottom: 10px;
  border-radius: 12px;
  text-align: left;
}
.sport24-account-page .sport24-chat-msg__bubble,
.sport24-chat-msg__bubble,
.sport24-account-page .sport24-chat-msg__text,
.sport24-chat-msg__text,
.sport24-account-page .sport24-chat-msg__text p,
.sport24-chat-msg__text p,
.sport24-account-page .sport24-chat-msg__meta,
.sport24-chat-msg__meta {
  text-align: left !important;
}
.sport24-account-page .sport24-chat-msg__actions,
.sport24-chat-msg__actions {
  justify-content: flex-start;
}
.sport24-chat-hub .sport24-chat-form textarea {
  min-height: 72px;
  font-size: 14px;
}

.sport24-chat-participants {
  margin: 0 0 10px;
  padding: 8px 10px;
  border: 1px solid var(--border, #E3E8F0);
  border-radius: 12px;
  background: #F9FBFE;
}
.sport24-chat-participants__title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted, #718096);
  margin-bottom: 6px;
}
.sport24-chat-participants__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sport24-chat-participants__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  min-width: 0;
  font-size: 12px;
  color: var(--navy, #25345A);
}
.sport24-chat-participants__dot,
.sport24-chat-participants__item.is-online .sport24-chat-participants__dot,
.sport24-chat-participants__item.is-offline .sport24-chat-participants__dot {
  display: block;
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  min-width: 8px;
  min-height: 8px;
  max-width: 8px;
  max-height: 8px;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: #A0AEC0;
  box-shadow: none;
  transform: none;
  line-height: 0;
  font-size: 0;
}
.sport24-chat-participants__item.is-online .sport24-chat-participants__dot {
  background: #22C55E;
}
.sport24-chat-participants__role,
.sport24-chat-participants__status {
  color: var(--muted, #718096);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.2;
}
.sport24-chat-participants__name {
  font-weight: 700;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.sport24-ticket-status-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin: 10px 0 14px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--border, #E3E8F0);
  border-radius: 14px;
}
.sport24-ticket-status-actions__select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted, #718096);
  white-space: nowrap;
}
.sport24-ticket-status-actions__select select {
  min-width: 140px;
  height: 36px;
  border: 1px solid var(--border, #E3E8F0);
  border-radius: 10px;
  padding: 0 10px;
  background: #fff;
  color: var(--navy, #25345A);
  font: inherit;
  font-weight: 700;
  font-size: 13px;
}
.sport24-ticket-status-actions__btns {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.sport24-ticket-status-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 12px;
  font-size: 12px;
  line-height: 1;
  margin: 0;
}
.sport24-ticket-status[data-ticket-status="archived"] {
  color: #B51235;
  font-weight: 700;
}

.sport24-admin-users__create {
  margin: 24px 0 36px;
  padding: 20px;
  border: 1px solid var(--border, #E3E8F0);
  border-radius: 20px;
  background: #fff;
}

@media (max-width: 980px) {
  .sport24-chat-hub {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .sport24-chat-hub__sidebar,
  .sport24-chat-hub__main {
    max-height: none;
  }
  .sport24-chat-hub__list {
    max-height: none;
  }
  .sport24-filters__row--compact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .sport24-notifications-filters .sport24-filters__row {
    grid-template-columns: 1fr 1fr;
  }
  .sport24-notifications-filters .sport24-filters__field:nth-child(1),
  .sport24-notifications-filters .sport24-filters__field:nth-child(2) {
    grid-column: 1 / -1;
  }
  .sport24-admin-users__filter {
    min-width: 0;
    width: 100%;
  }
  .sport24-admin-users__filter select,
  .sport24-admin-users__filter input[type="date"] {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 620px) {
  .sport24-chat-hub .sport24-ticket-meta {
    grid-template-columns: 1fr;
    gap: 2px 0;
  }
  .sport24-chat-hub .sport24-ticket-meta dd {
    margin-bottom: 8px;
  }
  .sport24-filters__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .sport24-filters__row > .sport24-filters__field:nth-child(1),
  .sport24-filters__row > .sport24-filters__field:nth-child(2),
  .sport24-filters__actions {
    grid-column: 1 / -1;
  }
  .sport24-filters__row--compact {
    grid-template-columns: 1fr;
  }
  .sport24-filters__actions .btn {
    flex: 1;
    justify-content: center;
  }
  .sport24-filters__field input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
}

