/* =====================================================
   LS Match List Widget Styles
   ===================================================== */

.ls-match-list-container {
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.ls-top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #1a1a1a;
    border-radius: 12px 12px 0 0;
    border-bottom: 2px solid #ff6600;
    margin-bottom: 0;
    gap: 10px;
    flex-wrap: wrap;
}

.ls-filter-tabs {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.ls-tab-btn {
    padding: 8px 18px;
    background: transparent;
    border: 1px solid #333;
    border-radius: 20px;
    color: #999;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ls-tab-btn:hover {
    border-color: #ff6600;
    color: #fff;
}

.ls-tab-btn.active {
    background: #ff6600;
    border-color: #ff6600;
    color: #fff;
}

.ls-date-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.ls-date-display {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    min-width: 80px;
    text-align: center;
}

.ls-loading-spinner {
    font-size: 12px;
    margin-right: 3px;
}

.ls-date-btn {
    background: transparent;
    border: none;
    color: #ff6600;
    cursor: pointer;
    padding: 6px 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    flex-shrink: 0;
    position: relative;
}

.ls-date-picker {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.ls-date-btn:hover {
    background: rgba(255, 102, 0, 0.1);
    color: #ff8833;
}

.ls-date-btn:active {
    transform: scale(0.95);
}

.ls-date-btn svg {
    display: block;
    width: 18px;
    height: 18px;
}

.ls-date-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ls-matches-content {
    border-radius: 0 0 12px 12px;
    min-height: 200px;
    padding: 10px;
    background: #1a1a1a;
}

.ls-league-section {
    margin-bottom: 15px;
}

.ls-league-section:last-child {
    margin-bottom: 0;
}

.ls-no-matches, .ls-error, .ls-loading-text {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 15px;
}

.ls-error {
    color: #ff4d4d;
}

/* =====================================================
   League Section
   ===================================================== */
.ls-league-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #2a2a2a;
    border-radius: 8px;
    margin-bottom: 10px;
}

.ls-league-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.ls-league-info h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

/* =====================================================
   Match Row
   ===================================================== */
.ls-match-row {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #1a1a1a;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
    gap: 12px;
}

.ls-match-row:hover {
    background: #252525;
    transform: translateX(2px);
}

.ls-match-time {
    min-width: 50px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #999;
}

.ls-status-ft {
    color: #666;
}

.ls-teams-stack {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ls-team-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ls-team-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.ls-team-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.ls-team-name {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
}

.ls-team-score {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    min-width: 20px;
    text-align: center;
}

.ls-match-fav {
    color: #666;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.ls-match-fav:hover {
    color: #ff6600;
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .ls-top-nav {
        padding: 10px;
        border-radius: 8px 8px 0 0;
        gap: 0px;
    }

    .ls-filter-tabs {
        gap: 6px;
        order: 2;
        width: 50%;
        justify-content: center;
    }

    .ls-tab-btn {
        padding: 6px 14px;
        font-size: 12px;
        min-width: 40px;
    }

    .ls-date-nav {
        order: 2;
        width: 50%;
        justify-content: center;
        gap: 5px;
    }

    .ls-date-display {
        font-size: 13px;
        min-width: 70px;
    }

    .ls-date-btn svg {
        width: 16px;
        height: 16px;
    }

    .ls-matches-content {
        padding: 8px;
        border-radius: 0 0 8px 8px;
    }

    .ls-league-section {
        margin-bottom: 12px;
    }
}

/* Small Mobile */
@media (max-width: 380px) {
    .ls-tab-btn {
        padding: 6px 10px;
        font-size: 11px;
    }

    .ls-date-display {
        font-size: 12px;
        min-width: 60px;
    }

    .ls-date-btn {
        padding: 4px 6px;
    }

    .ls-date-btn svg {
        width: 14px;
        height: 14px;
    }
}

