﻿body {
    font-family: Arial, sans-serif;
}

.ticker {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #333;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.ticker-date-select {
    margin-right: 10px;
    margin-left: 40px; /* Add margin to the left for the arrow */
}

    .ticker-date-select select {
        padding: 5px;
        font-size: 16px;
    }

.ticker-scores {
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    flex-grow: 1;
    margin-right: 30px; /* Add margin to the right */
}

.ticker-score-div {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px; /* Fixed width for consistent size */
    height: 60px; /* Fixed height for better readability */
    padding: 10px;
    background-color: #444;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    margin-right: 10px;
    box-sizing: border-box;
}

    .ticker-score-div:last-child {
        margin-right: 30px; /* Adjust margin for last score div */
    }

    .ticker-score-div:hover {
        background-color: #555;
    }

.ticker-status {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    width: 100%; /* Ensure consistent width */
}

.ticker-team {
    display: flex;
    justify-content: space-between;
    width: 100%; /* Ensure consistent width */
    padding: 0 5px;
}

.ticker-team-name {
    font-size: 12px;
    font-weight: bold;
    flex: 1;
    text-align: center; /* Center text */
}

.ticker-team-info {
    font-size: 12px;
    flex: 1;
    text-align: center; /* Center text */
}

.ticker-more-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 50px;
    background-color: #444;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1; /* Ensure arrows are above other content */
}

    .ticker-more-arrow.left {
        left: 10px; /* Adjust position from left */
    }

    .ticker-more-arrow.right {
        right: 10px; /* Adjust position from right */
    }

    .ticker-more-arrow:hover {
        background-color: #555;
    }

.ticker-preview-link, .ticker-boxscore-link {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    display: none; /* Initially hidden */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.7); /* Add background to links */
    padding: 5px;
    border-radius: 3px;
    width: 80%; /* Ensure consistent width */
    text-align: center; /* Center text */
}
