.freebet-login-page {
    min-height: 100vh;
    background: #111827;
}

.login-page {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 24px;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(24, 32, 47, 0.84));
}

.login-panel {
    width: min(100%, 430px);
    padding: 32px;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 28px;
}

.brand-mark,
.freebet-user-avatar {
    display: inline-grid;
    place-items: center;
    background: #28a745;
    color: #ffffff;
    font-weight: 700;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 4px;
}

.freebet-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
}

.navbar-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 12px;
}

.main-header.navbar {
    min-height: 66px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.main-header .navbar-nav {
    align-items: center;
}

.main-header .nav-link {
    display: inline-flex;
    align-items: center;
}

.navbar-logo-link img {
    display: block;
    max-height: 64px;
    max-width: 340px;
    object-fit: contain;
}

.navbar-page-title {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    padding: 0 0.75rem;
    color: #343a40;
    font-size: 18px;
    font-weight: 700;
}

.main-sidebar .user-panel {
    min-height: 57px;
    align-items: center;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0.8125rem !important;
    padding-bottom: 0.8125rem !important;
}

.main-sidebar .user-panel .image {
    display: flex;
    align-items: center;
}

.main-sidebar .user-panel .info {
    padding-top: 0;
    padding-bottom: 0;
}

.login-brand strong,
.login-brand small {
    display: block;
}

.login-brand small,
.login-heading .eyebrow {
    color: #6c757d;
}

.login-heading {
    margin-bottom: 22px;
}

.login-heading .eyebrow {
    margin: 0 0 5px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.login-heading h1 {
    margin: 0;
    font-size: 28px;
}

.login-form {
    display: grid;
    gap: 2px;
}

.login-form label {
    margin-bottom: 0;
    color: #212529;
    font-size: 14px;
    font-weight: 700;
}

.login-form input {
    width: 100%;
    height: 46px;
    padding: 0 13px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background: #ffffff;
    color: #212529;
    font-size: 15px;
}

.login-form input:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.16);
    outline: none;
}

.login-form button {
    height: 46px;
    margin-top: 8px;
    border: 0;
    border-radius: 4px;
    background: #28a745;
    color: #ffffff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
}

.login-form button:hover {
    background: #218838;
}

.alert-error {
    margin-bottom: 16px;
    padding: 12px 13px;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    background: #f8d7da;
    color: #721c24;
    font-size: 14px;
    font-weight: 700;
}

.header-profit-card {
    display: grid;
    min-width: 168px;
    gap: 1px;
    padding: 6px 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: #f8f9fa;
    line-height: 1.2;
}

.header-profit-card strong {
    font-size: 15px;
}

.header-profit-card em {
    color: #6c757d;
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
}

.info-box {
    min-height: 112px;
    height: calc(100% - 1rem);
}

.info-box-content {
    justify-content: center;
}

.info-box-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.info-box .text-muted {
    display: inline-flex;
    width: fit-content;
    font-size: 14px !important;
    font-weight: 700;
}

.active-ticket-breakdown {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.active-ticket-breakdown > span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border: 1px solid #dee2e6;
    border-radius: 999px;
    background: #f8f9fa;
    color: #495057;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.active-ticket-breakdown strong {
    color: #212529;
}

.active-ticket-summary,
.live-event-summary {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 2px;
}

.active-ticket-summary .info-box-number,
.live-event-summary .info-box-number {
    display: inline-flex;
    margin: 0;
}

.active-ticket-summary .active-ticket-breakdown {
    margin-top: 0;
    margin-bottom: 0;
}

.active-ticket-summary .active-ticket-breakdown > span {
    white-space: nowrap;
}

.live-event-badges {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
}

.live-event-badges > span {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border: 1px solid #dee2e6;
    border-radius: 999px;
    background: #f8f9fa;
    color: #495057;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
}

.live-event-stack {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 2px;
}

.live-event-secondary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.sport-event-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sport-event-badges > span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border: 1px solid #dee2e6;
    border-radius: 999px;
    background: #ffffff;
    color: #495057;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
}

.sport-event-badges img {
    display: block;
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.event-outcome-card {
    height: calc(100% - 1rem);
}

.event-outcome-card .card-header {
    min-height: 46px;
}

.event-outcome-card .card-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.event-outcome-card .card-tools {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.event-card-title-text {
    margin-right: 6px;
}

.outcome-limit-form {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0;
}

.outcome-sort-form {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0;
}

.outcome-limit-form .custom-select,
.outcome-sort-form .custom-select {
    width: auto;
    height: 26px;
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 12px;
    font-weight: 700;
}

.event-outcome-item {
    position: relative;
    padding: 8px 10px;
    border-bottom: 1px solid #f0f1f3;
}

.event-outcome-item.has-score {
    padding-right: 58px;
}

.event-outcome-item:last-child {
    border-bottom: 0;
}

.event-outcome-top,
.event-outcome-meta {
    display: grid;
    align-items: center;
    min-width: 0;
}

.event-outcome-top {
    grid-template-columns: 64px 16px minmax(0, 1fr);
    gap: 5px;
    color: #212529;
    font-size: 13px;
    font-weight: 700;
}

.event-outcome-top.outcome-state-winning {
    color: #1f7a39;
}

.event-outcome-top.outcome-state-losing {
    color: #b02a37;
}

.event-outcome-top.outcome-state-no-score {
    color: #212529;
}

.event-outcome-top > span:not(.badge) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event-outcome-sport-logo {
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    object-fit: contain;
}

.event-outcome-score {
    min-width: 48px;
    padding: 4px 8px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
}

.event-outcome-score-group {
    position: absolute;
    top: 50%;
    right: 10px;
    display: inline-flex;
    flex-direction: row;
    gap: 3px;
    transform: translateY(-50%);
}

.event-outcome-score-secondary {
    color: #6c757d;
}

.event-outcome-meta {
    grid-template-columns: 64px 54px 82px 82px 58px;
    gap: 7px;
    margin-top: 5px;
    color: #6c757d;
    font-size: 12px;
    font-weight: 700;
}

.event-outcome-market {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-width: 48px;
    padding: 2px 7px;
    border: 1px solid rgba(0, 123, 255, 0.28);
    border-radius: 999px;
    background: rgba(0, 123, 255, 0.08);
    color: #0056b3;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
}

.event-outcome-meta > span:first-child {
    overflow: hidden;
    min-width: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event-outcome-meta > span:not(:first-child) {
    justify-self: end;
    padding-left: 0;
    text-align: initial;
    white-space: nowrap;
}

.event-outcome-meta > span:last-child {
    justify-self: end;
    padding-right: 0;
    text-align: initial;
}

.event-outcome-meta strong {
    color: #343a40;
    font-weight: 800;
}

.event-outcome-odd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    padding: 2px 4px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center !important;
}

.monthly-profit-chart {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    min-height: 88px;
    margin-top: 6px;
}

.estimated-profit-content {
    justify-content: stretch;
}

.estimated-profit-layout {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
}

.estimated-profit-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.estimated-profit-layout .monthly-profit-chart {
    align-self: end;
    flex: 0 0 auto;
    min-height: 104px;
    margin-top: 0;
    margin-left: 35px;
}

.monthly-profit-item {
    display: grid;
    align-items: end;
    grid-template-rows: 18px 60px 14px;
    justify-items: center;
    gap: 3px;
    min-width: 27px;
}

.monthly-profit-bar {
    align-self: end;
    display: block;
    width: 10px;
    min-height: 8px;
    border-radius: 999px 999px 2px 2px;
    background: #28a745;
}

.monthly-profit-bar.negative {
    border-radius: 2px 2px 999px 999px;
    background: #dc3545;
}

.monthly-profit-item.is-expense .monthly-profit-bar {
    background: #6c757d;
}

.monthly-profit-item.is-expense .monthly-profit-label {
    color: #495057;
}

.monthly-profit-value {
    color: #343a40;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.monthly-profit-label {
    color: #6c757d;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.stat-line {
    display: inline-flex;
    position: relative;
    align-items: center;
    justify-self: start;
    max-width: 100%;
    cursor: help;
}

.stat-line * {
    cursor: help;
}

.dashboard-period-card .card-body {
    font-size: 14px;
}

.dashboard-period-card .card-body .text-sm {
    font-size: 14px !important;
}

.dashboard-period-card .dashboard-card-title {
    color: #0C3F5E;
}

.dashboard-profit-card .dashboard-card-title {
    color: #0C585E;
}

.dashboard-admin-card .dashboard-card-title {
    color: #6C4ABA;
}

.dashboard-period-title-icon {
    margin-right: 5px;
    color: #0C3F5E;
    font-size: 13px;
}

.dashboard-profit-card .dashboard-period-title-icon {
    color: #0C585E;
}

.dashboard-profit-card-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dashboard-profit-card-content {
    width: 100%;
}

.dashboard-profit-card {
    width: 100%;
}

.dashboard-profit-card .card-body {
    width: 100%;
}

.dashboard-profit-title-form {
    margin: 0;
}

.dashboard-profit-date-form {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
}

.dashboard-profit-date-input {
    width: 112px;
    height: 28px;
    padding: 2px 5px;
    font-size: 12px;
    font-weight: 700;
}

.dashboard-profit-title-select {
    width: auto;
    min-width: 76px;
    height: 28px;
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 12px;
    font-weight: 700;
}

.dashboard-profit-week-table {
    display: grid;
    gap: 4px;
    margin-top: 10px;
    width: max-content;
    max-width: 100%;
}

.dashboard-profit-week-table-row {
    display: grid;
    grid-template-columns: 86px repeat(5, 58px);
    align-items: center;
    gap: 8px;
}

.dashboard-period-card .card-body h3 {
    font-size: 16px;
    line-height: 1.2;
}

.dashboard-period-table {
    display: grid;
    gap: 4px;
    margin-top: 8px;
    min-width: 0;
}

.dashboard-period-table-row {
    display: grid;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    line-height: 1.25;
}

.dashboard-period-table-cols-7 .dashboard-period-table-row {
    grid-template-columns: 86px repeat(6, 54px);
}

.dashboard-period-table-cols-5 .dashboard-period-table-row {
    grid-template-columns: 86px repeat(4, 54px);
}

.dashboard-period-table-cols-6 .dashboard-period-table-row {
    grid-template-columns: 86px repeat(5, 54px);
}

.dashboard-period-table-head {
    color: #495057;
    font-size: 12px;
    font-weight: 800;
}

.dashboard-period-table-head span {
    padding: 2px 4px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: #f1f3f5;
}

.dashboard-period-table-row-highlight {
    margin: 1px 0;
    padding: 0;
    border: 0;
    outline: 1px solid #b6d4fe;
    border-radius: 4px;
    background: #e7f1ff;
    color: #1f3f66;
    font-weight: 700;
}

.dashboard-period-table-row span,
.dashboard-period-table-row strong {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: stretch;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 4px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-period-table-row > :first-child {
    width: 86px;
    min-width: 86px;
    text-align: center;
}

.dashboard-period-table-row strong {
    color: #212529;
    font-weight: 700;
}

.dashboard-period-table-row-highlight strong {
    color: #212529;
    font-weight: 700;
}

.dashboard-period-table-row strong.dashboard-period-label-badge {
    padding: 2px 4px;
    border-radius: 4px;
}

.dashboard-period-table-row strong.dashboard-period-label-badge-secondary {
    border: 1px solid #b6d4fe;
    background: #e7f1ff;
    color: #212529;
}

.dashboard-period-value-positive {
    color: #1f7a39;
}

.dashboard-period-value-negative {
    color: #b02a37;
}

.dashboard-period-value-neutral {
    color: #6c757d;
}

.profit-value-positive {
    color: #1f7a39;
}

.profit-value-negative {
    color: #b02a37;
}

.dashboard-admin-card {
    height: calc(100% - 1rem);
}

.dashboard-admin-card .card-body {
    font-size: 14px;
}

.dashboard-admin-card .card-body .text-sm {
    font-size: 14px !important;
}

.dashboard-admin-card .card-body h3 {
    font-size: 16px;
    line-height: 1.2;
}

.dashboard-admin-title-icon {
    margin-right: 5px;
    color: #6C4ABA;
    font-size: 13px;
}

.dashboard-admin-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
}

.dashboard-admin-list-row {
    display: grid;
    grid-template-columns: 92px repeat(3, 76px);
    align-items: center;
    gap: 8px;
}

.dashboard-admin-list-head {
    color: #495057;
    font-size: 12px;
    font-weight: 800;
}

.dashboard-admin-list-row.dashboard-admin-list-head span {
    padding: 2px 7px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: #f1f3f5;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    text-transform: none;
}

.dashboard-admin-list-row span {
    padding: 2px 7px;
    border: 1px solid #d7eadf;
    border-radius: 4px;
    background: #f4fbf6;
    color: #495057;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-transform: capitalize;
}

.dashboard-admin-list-row span.dashboard-admin-logo-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 2px 6px;
    text-transform: none;
}

.dashboard-admin-logo-cell img {
    display: block;
    max-width: 64px;
    max-height: 18px;
    object-fit: contain;
}

.dashboard-period-table-row strong.dashboard-admin-logo-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
}

.dashboard-admin-list-row strong {
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
}

.dashboard-admin-primary-value {
    color: #212529;
}

.dashboard-admin-balance {
    color: #6c757d;
}

.dashboard-admin-list-row-total {
    margin-top: 8px;
}

.dashboard-admin-list-row span.dashboard-admin-extra-badge-total {
    border-color: #ffe69c;
    background: #fff3cd;
    font-weight: 800;
}

.dashboard-admin-list-row span.dashboard-admin-extra-badge-users {
    border-color: #b6d4fe;
    background: #e7f1ff;
}

.dashboard-admin-list-row span.dashboard-admin-extra-badge-salaries {
    border-color: #f1b0b7;
    background: #f8d7da;
}

.events-page-card .card-header {
    min-height: 46px;
}

.events-page-card .card-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.live-score-open-form {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0;
}

.live-score-open-form .custom-select {
    width: auto;
    height: 26px;
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 12px;
    font-weight: 700;
}

.ticket-filter-form {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 0;
}

.ticket-filter-form .custom-select {
    width: auto;
    height: 26px;
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 12px;
    font-weight: 700;
}

.events-table-event-link {
    color: inherit;
    text-decoration: none;
}

.events-table-event-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.ticket-selected-event-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: min(620px, 55vw);
    padding: 4px 8px;
    color: #212529;
    font-size: 12px;
    font-weight: 700;
}

.ticket-card-tools {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ticket-selected-event-badge img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.ticket-selected-event-badge strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tickets-page-body {
    display: grid;
    gap: 12px;
    padding: 12px;
}

.ticket-detail-table {
    overflow: hidden;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: #ffffff;
}

.ticket-detail-table table {
    table-layout: fixed;
    min-width: 1300px;
}

.ticket-summary-row th {
    border-bottom: 1px solid #dee2e6;
    background: #f8f9fa;
}

.ticket-summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.ticket-summary > span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 2px 7px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: #ffffff;
    color: #495057;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    white-space: nowrap;
}

.ticket-summary > .badge {
    border-color: transparent;
}

.ticket-summary > .badge-success {
    background: #28a745;
    color: #ffffff;
}

.ticket-summary > .badge-danger {
    background: #dc3545;
    color: #ffffff;
}

.ticket-summary > .badge-warning {
    background: #ffc107;
    color: #212529;
}

.ticket-summary > .badge-secondary {
    background: #6c757d;
    color: #ffffff;
}

.ticket-summary-id {
    color: #212529 !important;
}

col.ticket-event-col-time,
.ticket-event-col-time {
    width: 78px;
}

col.ticket-event-col-sport,
.ticket-event-col-sport {
    width: 120px;
}

col.ticket-event-col-competition,
.ticket-event-col-competition {
    width: 190px;
}

col.ticket-event-col-match,
.ticket-event-col-match {
    width: 520px;
}

col.ticket-event-col-score,
.ticket-event-col-score {
    width: 86px;
}

col.ticket-event-col-outcome,
.ticket-event-col-outcome {
    width: 82px;
}

col.ticket-event-col-status,
.ticket-event-col-status {
    width: 72px;
}

col.ticket-event-col-odd,
col.ticket-event-col-margin,
.ticket-event-col-odd,
.ticket-event-col-margin {
    width: 58px;
}

.ticket-event-col-score .live-score-badge {
    min-width: 34px;
    padding: 3px 5px;
    font-size: 12px;
}

.ticket-live-score-badge {
    background: #d8ecff;
    color: #0056b3;
    border-color: #9fcdff !important;
}

.ticket-detail-table tbody td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ticket-event-match-state-winning,
.ticket-event-match-state-winning .events-table-event-link {
    color: #1f7a39;
}

.ticket-event-match-state-losing,
.ticket-event-match-state-losing .events-table-event-link {
    color: #b02a37;
}

.ticket-summary .ticket-summary-bookie img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: none;
}

.events-table th {
    border-top: 0;
    color: #495057;
    font-size: 12px;
    text-transform: uppercase;
    white-space: nowrap;
}

.events-table td {
    vertical-align: middle;
}

.events-table-time {
    color: #212529;
    font-weight: 800;
    white-space: nowrap;
}

.events-table-sport {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.events-table-sport img {
    display: block;
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.live-score-badges {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
}

.live-score-badge {
    min-width: 42px;
    padding: 4px 8px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.1;
}

.live-score-badge-secondary {
    color: #6c757d;
}

.live-score-sort-heading {
    cursor: pointer;
    user-select: none;
}

.live-scores-table thead th {
    text-align: center !important;
}

.live-scores-table thead th.live-score-heading-left {
    text-align: left !important;
    padding-left: 10px;
}

.live-scores-table thead th.live-score-heading-right {
    text-align: right !important;
    padding-right: 10px;
}

.live-score-heading-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: 3px 7px;
    border-radius: 4px;
    background: #e9ecef;
    color: #495057;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.live-score-sort-heading[data-live-sort-direction] .live-score-heading-badge {
    background: #007bff;
    color: #ffffff;
}

.live-score-sort-heading .live-score-heading-badge::after {
    display: inline-block;
    width: 10px;
    margin-left: 4px;
    content: "";
}

.live-score-sort-heading[data-live-sort-direction="asc"] .live-score-heading-badge::after {
    content: "\2191";
}

.live-score-sort-heading[data-live-sort-direction="desc"] .live-score-heading-badge::after {
    content: "\2193";
}

.live-score-event-row {
    cursor: pointer;
}

.live-score-event-row.is-open {
    background: #f8f9fa;
}

.live-score-toggle-heading,
.live-score-toggle-cell {
    width: 34px;
}

.live-score-toggle-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background: #ffffff;
    color: #212529;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
}

.live-score-event-row:hover .live-score-toggle-button,
.live-score-event-row.is-open .live-score-toggle-button {
    border-color: #28a745;
    color: #1f7a39;
}

.live-score-outcomes-row > td {
    padding: 0;
    border-top: 0;
    background: #fbfcfd;
}

.live-score-outcomes-panel {
    padding: 6px 12px 8px 46px;
    border-bottom: 1px solid #dee2e6;
}

.live-score-outcome-item {
    background: #ffffff;
}

.live-score-outcome-meta {
    grid-template-columns: 64px 70px 92px 92px 62px;
    margin-top: 0;
}

.live-score-outcome-meta.has-actions {
    grid-template-columns: 64px 70px 92px 92px 62px minmax(126px, 1fr);
}

.live-score-outcome-meta > span:first-child {
    justify-self: stretch;
    width: 100%;
}

.live-score-outcome-meta.outcome-state-winning {
    color: #1f7a39;
}

.live-score-outcome-meta.outcome-state-losing {
    color: #b02a37;
}

.live-score-outcome-meta.outcome-state-void {
    color: #0056b3;
}

.live-score-outcome-meta.outcome-state-winning strong,
.live-score-outcome-meta.outcome-state-losing strong,
.live-score-outcome-meta.outcome-state-void strong {
    color: inherit;
}

.live-score-outcome-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    justify-self: end;
    margin-right: 50px;
}

.live-score-outcome-actions form {
    margin: 0;
}

.live-score-outcome-id {
    min-width: 54px;
    padding: 2px 6px;
    border-radius: 4px;
    background: #f8f9fa;
    color: #495057;
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
}

.live-score-outcome-id.is-copied {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.14);
    color: #1f7a39;
}

.live-score-outcome-actions .btn {
    min-width: 36px;
    padding: 1px 6px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
}

.live-score-outcome-actions .btn-success {
    border-color: rgba(40, 167, 69, 0.55);
    background: rgba(40, 167, 69, 0.14);
    color: #1f7a39;
}

.live-score-outcome-actions .btn-danger {
    border-color: rgba(220, 53, 69, 0.55);
    background: rgba(220, 53, 69, 0.14);
    color: #b02a37;
}

.live-score-outcome-actions .btn-primary {
    border-color: rgba(0, 123, 255, 0.55);
    background: rgba(0, 123, 255, 0.14);
    color: #0056b3;
}

.latest-event-total-win-badge {
    padding: 2px 10px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
}

@media (max-width: 575.98px) {
    .header-profit-card {
        min-width: 0;
        max-width: 180px;
    }

    .card-body.d-flex {
        align-items: flex-start !important;
        flex-direction: column;
        gap: 8px;
    }
}
