.nhl-ownership-tracker-page .table-scroll-wrapper {
    margin-top: 1.5rem;
}

.nhl-ownership-tracker-page .ownership-summary-panel {
    margin-bottom: 1rem;
}

.nhl-tracker-messages {
    min-height: 1.5rem;
    font-size: 0.95rem;
    color: #9fb7cf;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(6, 20, 32, 0.85);
}

.nhl-tracker-messages.is-error {
    color: #ff9c9c;
    background: rgba(220, 64, 80, 0.15);
    border: 1px solid rgba(220, 64, 80, 0.45);
}

.nhl-tracker-messages.is-success {
    color: #7af2e6;
    background: rgba(29, 225, 209, 0.15);
    border: 1px solid rgba(29, 225, 209, 0.45);
}

.nhl-ownership-tracker-page .dataTables_wrapper .dataTables_filter {
    margin-bottom: 1rem;
}

.nhl-ownership-tracker-page .dataTables_wrapper .dataTables_scrollBody::-webkit-scrollbar {
    height: 8px;
}

.nhl-ownership-tracker-page .dataTables_wrapper .dataTables_scrollBody::-webkit-scrollbar-thumb {
    background-color: rgba(29, 225, 209, 0.35);
    border-radius: 4px;
}

.nhl-ownership-tracker-page .dfs-summary-grid {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.nhl-ownership-tracker-page .dfs-summary-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 16px;
    background: rgba(6, 20, 32, 0.85);
    border: 1px solid rgba(29, 225, 209, 0.28);
    border-radius: 10px;
    flex: 1;
    min-width: 140px;
}

.nhl-ownership-tracker-page .dfs-summary-card .label {
    font-size: 0.75rem;
    color: #9fb7cf;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.nhl-ownership-tracker-page .dfs-summary-card .value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ssp-primary-teal);
}

/* Username pills styling */
.nhl-tracker-username-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 8px;
}

.nhl-tracker-username-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(29, 225, 209, 0.15);
    border: 1px solid rgba(29, 225, 209, 0.35);
    border-radius: 999px;
    color: #e0f0ef;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nhl-tracker-username-pill:hover,
.nhl-tracker-username-pill:focus {
    background: rgba(29, 225, 209, 0.28);
    border-color: rgba(29, 225, 209, 0.55);
    transform: translateY(-1px);
}

.nhl-tracker-username-pill--me {
    background: rgba(46, 134, 222, 0.2);
    border-color: rgba(46, 134, 222, 0.45);
}

.nhl-tracker-username-pill--me:hover,
.nhl-tracker-username-pill--me:focus {
    background: rgba(46, 134, 222, 0.35);
    border-color: rgba(46, 134, 222, 0.65);
}

/* Leverage coloring - green for positive, red for negative */
.nhl-ownership-tracker-page .leverage-positive {
    background: rgba(16, 94, 63, 0.45);
    box-shadow: inset 0 0 0 1px rgba(29, 225, 209, 0.35);
    color: #7af2e6;
}

.nhl-ownership-tracker-page .leverage-negative {
    background: rgba(119, 29, 37, 0.45);
    box-shadow: inset 0 0 0 1px rgba(255, 107, 129, 0.35);
    color: #ff9c9c;
}

/* Header left alignment fixes */
.nhl-ownership-tracker-page .dt-head-left {
    text-align: left !important;
}

.nhl-ownership-tracker-page .dt-body-left {
    text-align: left !important;
}

@media screen and (max-width: 960px) {
    .nhl-ownership-tracker-page .dfs-summary-grid {
        flex-direction: column;
    }

    .nhl-ownership-tracker .filters-column {
        width: 100%;
    }
}

.nhl-ownership-tracker-page .ownership-range-inputs {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nhl-ownership-tracker-page .ownership-range-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nhl-ownership-tracker-page .ownership-range-label {
    font-size: 12px;
    color: #d9d9d9;
}

.nhl-ownership-tracker-page .ownership-range-separator {
    color: #d9d9d9;
    font-weight: 600;
}

.nhl-tracker-user-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 10px 0 6px;
}

.nhl-tracker-user-actions__empty {
    margin: 0;
    color: #9fb7cf;
    font-size: 0.95rem;
}

.nhl-user-action-card {
    background: rgba(6, 20, 32, 0.85);
    border: 1px solid rgba(29, 225, 209, 0.3);
    border-radius: 10px;
    padding: 12px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

.nhl-user-action-card__label {
    font-weight: 700;
    color: #e8f4ff;
}

.nhl-user-action-card__meta {
    color: #9fb7cf;
    font-size: 0.9rem;
}

.nhl-view-lineups-button {
    align-self: flex-start;
}

.nhl-lineup-modal__body {
    padding: 14px;
}

.nhl-lineup-modal__header {
    margin-bottom: 12px;
}

.nhl-lineup-modal__title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #e8f4ff;
}

.nhl-lineup-modal__subtitle {
    color: #9fb7cf;
    font-size: 0.95rem;
    margin-top: 4px;
}

.nhl-lineup-modal__messages {
    margin: 8px 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(6, 20, 32, 0.85);
    color: #9fb7cf;
}

.nhl-lineup-modal__messages.is-error {
    color: #ff9c9c;
    border: 1px solid rgba(220, 64, 80, 0.45);
    background: rgba(220, 64, 80, 0.12);
}

.nhl-lineup-modal__messages.is-success {
    color: #7af2e6;
    border: 1px solid rgba(29, 225, 209, 0.4);
    background: rgba(29, 225, 209, 0.12);
}

.nhl-lineup-modal__content {
    display: grid;
    gap: 16px;
}

.nhl-lineup-modal__content .ssp-nhl-draftkings-lineup-card {
    width: 100%;
}

.nhl-lineup-card {
    background: rgba(10, 24, 36, 0.9);
    border: 1px solid rgba(29, 225, 209, 0.35);
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
    color: #e8f4ff;
}

.nhl-lineup-card__header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.nhl-lineup-card__title {
    font-weight: 700;
    color: #e8f4ff;
}

.nhl-lineup-card__meta {
    color: #9fb7cf;
    font-size: 0.9rem;
}

.nhl-lineup-card__players {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nhl-lineup-card__player {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.nhl-lineup-card__player--empty {
    color: #9fb7cf;
    font-style: italic;
}

.nhl-lineup-card__position {
    background: rgba(29, 225, 209, 0.18);
    color: #7af2e6;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    min-width: 48px;
    text-align: center;
}

.nhl-lineup-card__name {
    color: #e8f4ff;
    font-weight: 600;
}

.nhl-lineup-card__details {
    color: #9fb7cf;
    font-size: 0.9rem;
    text-align: right;
}

@media (max-width: 720px) {
    .nhl-lineup-card__player {
        grid-template-columns: 1fr;
        align-items: flex-start;
    }

    .nhl-lineup-card__details {
        text-align: left;
    }
}
