.research .displaydata {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 12px;
    display: block;
}

/* General Table Styling */
table {
    width: 100%;
    position: relative;
    border-collapse: collapse;
}

th {
    font-weight: normal;
    color: var(--smoke);
    padding: 12px 4px;
    font-size: 0.875rem;
    position: sticky;
    top: 0;
    background-color: var(--midnight);
    white-space: nowrap;
    z-index: 2;
}

td {
    background: var(--graphite);
    color: var(--moonlightGlow);
    padding: 18px 4px;
    font-size: .875rem;
    white-space: nowrap;
    position: relative;
}

tbody:before {
    content: "@";
    display: block;
    line-height: 2px;
    text-indent: -99999px;
}

thead>tr:first-child {
    box-shadow: none;
}

tbody>tr:first-child>td:first-child {
    border-radius: 24px 0 0 0;
}

tbody>tr:first-child>td:last-child {
    border-radius: 0 24px 0 0;
}

tbody>tr:last-child>td:first-child {
    border-radius: 0 0 0 24px;
}

tbody>tr:last-child>td:last-child {
    border-radius: 0 0 24px 0;
}

tbody tr:last-child>td {
    padding-bottom: 28px;
}

tbody>tr:first-child>td {
    padding-top: 28px;
}

tbody>tr:first-child {
    box-shadow: -1px 0px 0px 0px var(--slate), 1px 0px 0px 0px var(--slate), 0px -1.5px 0px 0px var(--slate);
    border-radius: 24px 24px 0 0;
}

tbody>tr {
    box-shadow: -1px 0px 0px 0px var(--slate), 1px 0px 0px 0px var(--slate);
}

table td.player-selected:hover {
    cursor: pointer;
    color: var(--primary);
    background: #1C1D1F;
    box-shadow: -1px 0px 0px 0px var(--pebble), 0px 1px 0px 0px var(--pebble), 1px 0px 0px 0px var(--pebble), 0px -1.5px 0px 0px var(--pebble);
}

td:first-child,
th:first-child {
    padding-left: 24px;
}

td:last-child,
th:last-child {
    padding-right: 24px;
}

/* General Table Styling End */

table td.player-unselected {
    color: var(--dolphin);
    font-size: 1rem;
}

table td.player-selected {
    font-weight: bold;
    color: var(--white);
    font-size: 1rem;
}

.player-name {
    font-weight: bold;
    color: var(--white);
    font-size: 1rem;
    margin-left: 16px;
}

.player-details {
    font-size: 0.90rem;
    color: var(--smoke);
    margin-left: 16px;
}

td.ev {
    white-space: nowrap;
    font-weight: bold;
}

.ev-green {
    color: var(--primary);
}

.ev-red {
    color: var(--red2);
}

.ev.dot {
    height: 5px;
    width: 5px;
    display: block;
    left: 10px;
    border-radius: 24px;
    margin: auto;
    position: absolute;
    top: 0px;
    bottom: 0;
}

tbody>tr:first-child .ev.dot {
    top: 9px;
}

.ev.green.dot {
    background: var(--primary);
}

.ev.red.dot {
    background: var(--red2);
}

.inline-image-text {
    display: flex;
    align-items: center;
}

.composite-image-container {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 60px;
}

.opt-image-container {
    height: 60px;
    width: 60px;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid var(--darkSilver);
    background-color: var(--darkSilver);
    display: flex;
    justify-content: center;
    align-items: center;
}

.opt-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.opt-secondary-image {
    position: absolute;
    height: auto;
    width: 28px;
    bottom: -12px;
    left: -8px;
    border: 1px solid var(--darkSilver);
    background-color: var(--slate);
    border-radius: 50%;
}

.sportsbook-image {
    height: 24px;
    width: 24px;
    border-radius: 12%;
}

.sportsbook-display-name {
    margin-left: 10px;
}

#search-input {
    border: 1.8px solid var(--pebble);
    background-color: var(--charcoal);
    color: var(--white);
    padding: 8px 20px 8px 52px;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    width: 80%;
    display: block;
    margin: 0 auto;
    background-image: url(/assets/search-icon.png);
    background-position: 16px 10px;
    background-repeat: no-repeat;
    background-size: 20px;
}

#search-input:hover,
#search-input:focus {
    border: 1.8px solid var(--darkSilver);
}

/* Style for the placeholder text */
#search-input::placeholder {
    color: var(--smoke);
}

.slider-container {
    outline: none;
    width: 80%;
    display: block;
    margin: 0 auto;
    padding-top: 24px;
}

.slider-input {
    width: 100%;
}

.ev-score {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 12px;
    font-size: 1rem;
    font-weight: 900;
    border-radius: 12px;
    line-height: 100%;
    color: var(--black);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    min-width: 100px;
}

.ev-score>span {
    position: relative;
    z-index: 1;
}

.ev-score-positive {
    background: var(--primary);
}

.ev-score-negative {
    background: var(--red2);
}

.search-title {
    font-weight: bold;
    font-size: 1rem;
    margin: 0;
    color: var(--white);
}

.search-title-live {
    font-weight: bold;
    font-size: 1rem;
    margin: 0;
    color: var(--yellow3);
}

.search-detail {
    color: var(--smoke);
    font-size: 1rem;
    margin: 0;
}

.props-ev-flame {
    position: absolute;
    z-index: 0;
    left: auto;
    right: auto;
    bottom: auto;
    top: 5%;
    max-height: 80%;
}

@media screen and (max-width: 920px) {

    .research .displaydata {
        overflow-x: auto;
    }

    td {
        background: var(--graphite);
        color: var(--moonlightGlow);
        padding: 4px 4px;
        font-size: .75rem;
    }

    table td.player {
        font-size: .75rem;
    }

    td:first-child,
    th:first-child {
        padding-left: 16px;
    }

    td:last-child,
    th:last-child {
        padding-right: 16px;
    }

    tbody tr:last-child>td {
        padding-bottom: 16px;
    }

    tbody>tr:first-child>td {
        padding-top: 16px;
    }

    tbody>tr:first-child>td:first-child {
        border-radius: 16px 0 0 0;
    }

    tbody>tr:first-child>td:last-child {
        border-radius: 0 16px 0 0;
    }

    tbody>tr:last-child>td:first-child {
        border-radius: 0 0 0 16px;
    }

    tbody>tr:last-child>td:last-child {
        border-radius: 0 0 16px 0;
    }

    th {
        font-weight: normal;
        padding: 4px 4px 8px 4px;
        font-size: .75rem;
    }

    .research .displaydata {
        padding-top: 0;
    }

    tbody>tr:first-child {
        border-top: none;
        transform: scale(1);
        -webkit-transform: scale(1);
    }

    tbody>tr {
        transform: scale(1);
        -webkit-transform: scale(1);
    }

    .ev.dot {
        height: 4px;
        width: 4px;
        left: 6px;
    }

    .composite-image-container {
        height: 36px;
        width: 36px;
    }

    .opt-image-container {
        height: 36px;
        width: 36px;
    }

    .opt-secondary-image,
    .column-league,
    .column-position,
    .column-projection,
    .column-win-percentage,
    .column-bet-units {
        display: none;
    }

    table td.player-unselected {
        font-size: 0.75rem;
    }

    table td.player-selected {
        font-size: 0.75rem;
    }

    .player-name {
        font-size: 0.75rem;
    }

    .player-details {
        font-size: 0.70rem;
    }

    .sportsbook-display-name {
        display: none;
    }

    .sportsbook-image {
        align-items: center;
    }

    .inline-image-text {
        width: 125px;
    }

    .search-title,
    .search-title-live {
        font-size: 0.8rem;
    }

    .search-detail {
        font-size: 0.8rem;
    }

    .ev-score {
        padding: 8px 6px;
        font-size: .875rem;
        border-radius: 8px;
    }


}

.opt-card-link {
    color: inherit;
    /* Inherits the text color from its parent */
    text-decoration: none;
    /* Removes underline */
    cursor: pointer;
    /* Ensures cursor changes to pointer on hover */
    background-color: transparent;
    /* Ensures no background color */
    border: none;
    /* Removes any borders */
    outline: none;
    /* Removes focus outline */
    font-size: inherit;
    /* Inherits font size from parent */
    font-family: inherit;
    /* Inherits font family from parent */
}