-- Simple UpdateRingColors - just apply colors from config
-- No complex Ring Assignment logic

function AiB_Cursor:UpdateRingColors()
    -- Ensure colors table exists
    if not AiB_CursorConfig.colors then
        AiB_CursorConfig.colors = {
            mainRing = {r = 1.0, g = 1.0, b = 1.0},  -- White
            gcdRing = {r = 1.0, g = 1.0, b = 0.0},   -- Yellow
            castRing = {r = 1.0, g = 0.8, b = 0.0},  -- Orange
            trail = {r = 1.0, g = 1.0, b = 1.0},     -- White
        }
    end
    
    -- Main Ring
    if AiB_Cursor_CursorFrame and AiB_Cursor_CursorFrame.MainRing then
        local c = AiB_CursorConfig.colors.mainRing
        AiB_Cursor_CursorFrame.MainRing:SetVertexColor(c.r, c.g, c.b, 1.0)
    end
    
    -- GCD Ring
    if self.GCDCooldownFrame then
        local c = AiB_CursorConfig.colors.gcdRing
        self.GCDCooldownFrame:SetSwipeColor(c.r, c.g, c.b, 1.0)
    end
    
    -- Cast Ring
    if self.CastFrame then
        local c = AiB_CursorConfig.colors.castRing
        self.CastFrame:SetSwipeColor(c.r, c.g, c.b, 1.0)
    end
end

