/*
 * Xscore808 Livescore Page Styles
 */

/* League group header */
.xs-league-group {
    margin-bottom: 20px;
}

.xs-league-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 2px;
    font-weight: 600;
    font-size: 14px;
}

.xs-league-header img {
    width: 20px;
    height: 14px;
    object-fit: contain;
}

.xs-league-header a {
    color: inherit;
    text-decoration: none;
}

.xs-league-header a:hover {
    color: #6750a4;
}

/* Livescore match row */
.xs-live-row {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    transition: background 0.15s;
}

.xs-live-row:hover {
    background: #f9f9f9;
}

.xs-live-row a {
    color: inherit;
    text-decoration: none;
}

.xs-live-status {
    min-width: 55px;
    text-align: center;
    font-weight: 600;
    font-size: 12px;
}

.xs-live-status .live-text {
    color: #2ecc40;
}

.xs-live-status .ht-text {
    color: #ffc107;
}

.xs-live-status .ft-text {
    color: #999;
}

.xs-live-status .ns-text {
    color: #333;
}

.xs-live-home {
    flex: 1;
    text-align: right;
    padding-right: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.xs-live-score {
    min-width: 50px;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
}

.xs-live-score.is-live {
    color: #F60;
}

.xs-live-away {
    flex: 1;
    text-align: left;
    padding-left: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.xs-live-row img.team-logo-sm {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* Auto-refresh indicator */
.xs-auto-refresh {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.xs-auto-refresh .dot {
    width: 8px;
    height: 8px;
    background: #2ecc40;
    border-radius: 50%;
    animation: pulse-live 1.5s infinite;
}

/* Date navigation */
.xs-date-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
}

.xs-date-nav a {
    color: #666;
    text-decoration: none;
    padding: 5px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.xs-date-nav a:hover {
    background: #f0f0f0;
}

.xs-date-nav .current {
    font-weight: 700;
    color: #333;
}

/* No matches message */
.xs-no-matches {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 15px;
}

/* Responsive */
@media (max-width: 480px) {
    .xs-live-home,
    .xs-live-away {
        font-size: 13px;
    }

    .xs-live-score {
        font-size: 14px;
        min-width: 40px;
    }

    .xs-live-status {
        min-width: 45px;
        font-size: 11px;
    }
}
